Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9d1b0660
Commit
9d1b0660
authored
Jun 24, 2015
by
Steve French
Committed by
Steve French
Jun 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Get/Set Integrity Information structure definitions
Signed-off-by:
Steve French
<
steve.french@primarydata.com
>
parent
02b16665
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
fs/cifs/smb2pdu.h
fs/cifs/smb2pdu.h
+22
-0
fs/cifs/smbfsctl.h
fs/cifs/smbfsctl.h
+2
-0
No files found.
fs/cifs/smb2pdu.h
View file @
9d1b0660
...
@@ -621,6 +621,28 @@ struct copychunk_ioctl_rsp {
...
@@ -621,6 +621,28 @@ struct copychunk_ioctl_rsp {
__le32
TotalBytesWritten
;
__le32
TotalBytesWritten
;
}
__packed
;
}
__packed
;
struct
fsctl_set_integrity_information_req
{
__le16
ChecksumAlgorithm
;
__le16
Reserved
;
__le32
Flags
;
}
__packed
;
struct
fsctl_get_integrity_information_rsp
{
__le16
ChecksumAlgorithm
;
__le16
Reserved
;
__le32
Flags
;
__le32
ChecksumChunkSizeInBytes
;
__le32
ClusterSizeInBytes
;
}
__packed
;
/* Integrity ChecksumAlgorithm choices for above */
#define CHECKSUM_TYPE_NONE 0x0000
#define CHECKSUM_TYPE_CRC64 0x0002
/* Integrity flags for above */
#define FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF 0x00000001
struct
validate_negotiate_info_req
{
struct
validate_negotiate_info_req
{
__le32
Capabilities
;
__le32
Capabilities
;
__u8
Guid
[
SMB2_CLIENT_GUID_SIZE
];
__u8
Guid
[
SMB2_CLIENT_GUID_SIZE
];
...
...
fs/cifs/smbfsctl.h
View file @
9d1b0660
...
@@ -75,11 +75,13 @@
...
@@ -75,11 +75,13 @@
#define FSCTL_QUERY_SPARING_INFO 0x00090138
/* BB add struct */
#define FSCTL_QUERY_SPARING_INFO 0x00090138
/* BB add struct */
#define FSCTL_SET_ZERO_ON_DEALLOC 0x00090194
/* BB add struct */
#define FSCTL_SET_ZERO_ON_DEALLOC 0x00090194
/* BB add struct */
#define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901B4
/* BB add struct */
#define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901B4
/* BB add struct */
#define FSCTL_GET_INTEGRITY_INFORMATION 0x0009027C
#define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF
/* BB add struct */
#define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF
/* BB add struct */
#define FSCTL_SET_DEFECT_MANAGEMENT 0x00098134
/* BB add struct */
#define FSCTL_SET_DEFECT_MANAGEMENT 0x00098134
/* BB add struct */
#define FSCTL_FILE_LEVEL_TRIM 0x00098208
/* BB add struct */
#define FSCTL_FILE_LEVEL_TRIM 0x00098208
/* BB add struct */
#define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344
#define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344
#define FSCTL_SIS_LINK_FILES 0x0009C104
#define FSCTL_SIS_LINK_FILES 0x0009C104
#define FSCTL_SET_INTEGRITY_INFORMATION 0x0009C280
#define FSCTL_PIPE_PEEK 0x0011400C
/* BB add struct */
#define FSCTL_PIPE_PEEK 0x0011400C
/* BB add struct */
#define FSCTL_PIPE_TRANSCEIVE 0x0011C017
/* BB add struct */
#define FSCTL_PIPE_TRANSCEIVE 0x0011C017
/* BB add struct */
/* strange that the number for this op is not sequential with previous op */
/* strange that the number for this op is not sequential with previous op */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment