Skip to content

Commit

Permalink
idl: FSCTL_FILE_LEVEL_TRIM request & response structs
Browse files Browse the repository at this point in the history
As defined in MS-FSCC 2.3.73 - 2.3.74.

Signed-off-by: David Disseldorp <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
  • Loading branch information
ddiss authored and jrasamba committed Mar 18, 2015
1 parent 97a2d83 commit 5776904
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions librpc/idl/ioctl.idl
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,24 @@ interface resiliency
uint32 reserved;
} network_resiliency_request;
}

interface trim
{
/* MS-FSCC 2.3.73.1 FILE_LEVEL_TRIM_RANGE */
typedef [public] struct {
hyper off;
hyper len;
} file_level_trim_range;

/* MS-FSCC 2.3.73 FSCTL_FILE_LEVEL_TRIM Request */
typedef [public] struct {
uint32 key;
uint32 num_ranges;
file_level_trim_range ranges[num_ranges];
} fsctl_file_level_trim_req;

/* MS-FSCC 2.3.74 FSCTL_FILE_LEVEL_TRIM Reply */
typedef [public] struct {
uint32 num_ranges_processed;
} fsctl_file_level_trim_rsp;
}

0 comments on commit 5776904

Please sign in to comment.