Skip to content

Commit 22c5b91

Browse files
committed
Add defines for various newer FSCTLs
Checking MS-FSCC section 2.3 found six FSCTL defines that were missing Reviewed-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 35a2b53 commit 22c5b91

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

fs/smbfs_common/smbfsctl.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,27 @@
8888
#define FSCTL_READ_RAW_ENCRYPTED 0x000900E3 /* BB add struct */
8989
#define FSCTL_READ_FILE_USN_DATA 0x000900EB /* BB add struct */
9090
#define FSCTL_WRITE_USN_CLOSE_RECORD 0x000900EF /* BB add struct */
91+
#define FSCTL_MARK_HANDLE 0x000900FC /* BB add struct */
9192
#define FSCTL_SIS_COPYFILE 0x00090100 /* BB add struct */
9293
#define FSCTL_RECALL_FILE 0x00090117 /* BB add struct */
9394
#define FSCTL_QUERY_SPARING_INFO 0x00090138 /* BB add struct */
95+
#define FSCTL_QUERY_ON_DISK_VOLUME_INFO 0x0009013C
9496
#define FSCTL_SET_ZERO_ON_DEALLOC 0x00090194 /* BB add struct */
9597
#define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901B4 /* BB add struct */
9698
#define FSCTL_GET_INTEGRITY_INFORMATION 0x0009027C
99+
#define FSCTL_QUERY_FILE_REGIONS 0x00090284
97100
#define FSCTL_GET_REFS_VOLUME_DATA 0x000902D8 /* See MS-FSCC 2.3.24 */
98101
#define FSCTL_SET_INTEGRITY_INFORMATION_EXT 0x00090380
99102
#define FSCTL_GET_RETRIEVAL_POINTERS_AND_REFCOUNT 0x000903d3
100103
#define FSCTL_GET_RETRIEVAL_POINTER_COUNT 0x0009042b
101104
#define FSCTL_REFS_STREAM_SNAPSHOT_MANAGEMENT 0x00090440
102105
#define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF
106+
#define FSCTL_OFFLOAD_READ 0x00094264 /* BB add struct */
107+
#define FSCTL_OFFLOAD_WRITE 0x00098268 /* BB add struct */
103108
#define FSCTL_SET_DEFECT_MANAGEMENT 0x00098134 /* BB add struct */
104109
#define FSCTL_FILE_LEVEL_TRIM 0x00098208 /* BB add struct */
105110
#define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344
111+
#define FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX 0x000983E8
106112
#define FSCTL_SIS_LINK_FILES 0x0009C104
107113
#define FSCTL_SET_INTEGRITY_INFORMATION 0x0009C280
108114
#define FSCTL_PIPE_PEEK 0x0011400C /* BB add struct */

0 commit comments

Comments
 (0)