~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/smb/server/smbfsctl.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/smb/server/smbfsctl.h (Architecture sparc) and /fs/smb/server/smbfsctl.h (Architecture mips)


  1 /* SPDX-License-Identifier: LGPL-2.1+ */            1 /* SPDX-License-Identifier: LGPL-2.1+ */
  2 /*                                                  2 /*
  3  *   fs/smb/server/smbfsctl.h: SMB, CIFS, SMB2      3  *   fs/smb/server/smbfsctl.h: SMB, CIFS, SMB2 FSCTL definitions
  4  *                                                  4  *
  5  *   Copyright (c) International Business Mach      5  *   Copyright (c) International Business Machines  Corp., 2002,2009
  6  *   Author(s): Steve French (sfrench@us.ibm.c      6  *   Author(s): Steve French (sfrench@us.ibm.com)
  7  */                                                 7  */
  8                                                     8 
  9 /* IOCTL information */                             9 /* IOCTL information */
 10 /*                                                 10 /*
 11  * List of ioctl/fsctl function codes that are     11  * List of ioctl/fsctl function codes that are or could be useful in the
 12  * future to remote clients like cifs or SMB2      12  * future to remote clients like cifs or SMB2 client.  There is probably
 13  * a slightly larger set of fsctls that NTFS l     13  * a slightly larger set of fsctls that NTFS local filesystem could handle,
 14  * including the seven below that we do not ha     14  * including the seven below that we do not have struct definitions for.
 15  * Even with protocol definitions for most of      15  * Even with protocol definitions for most of these now available, we still
 16  * need to do some experimentation to identify     16  * need to do some experimentation to identify which are practical to do
 17  * remotely.  Some of the following, such as t     17  * remotely.  Some of the following, such as the encryption/compression ones
 18  * could be invoked from tools via a specializ     18  * could be invoked from tools via a specialized hook into the VFS rather
 19  * than via the standard vfs entry points          19  * than via the standard vfs entry points
 20  */                                                20  */
 21                                                    21 
 22 #ifndef __KSMBD_SMBFSCTL_H                         22 #ifndef __KSMBD_SMBFSCTL_H
 23 #define __KSMBD_SMBFSCTL_H                         23 #define __KSMBD_SMBFSCTL_H
 24                                                    24 
 25 #define FSCTL_DFS_GET_REFERRALS      0x0006019     25 #define FSCTL_DFS_GET_REFERRALS      0x00060194
 26 #define FSCTL_DFS_GET_REFERRALS_EX   0x000601B     26 #define FSCTL_DFS_GET_REFERRALS_EX   0x000601B0
 27 #define FSCTL_REQUEST_OPLOCK_LEVEL_1 0x0009000     27 #define FSCTL_REQUEST_OPLOCK_LEVEL_1 0x00090000
 28 #define FSCTL_REQUEST_OPLOCK_LEVEL_2 0x0009000     28 #define FSCTL_REQUEST_OPLOCK_LEVEL_2 0x00090004
 29 #define FSCTL_REQUEST_BATCH_OPLOCK   0x0009000     29 #define FSCTL_REQUEST_BATCH_OPLOCK   0x00090008
 30 #define FSCTL_LOCK_VOLUME            0x0009001     30 #define FSCTL_LOCK_VOLUME            0x00090018
 31 #define FSCTL_UNLOCK_VOLUME          0x0009001     31 #define FSCTL_UNLOCK_VOLUME          0x0009001C
 32 #define FSCTL_IS_PATHNAME_VALID      0x0009002     32 #define FSCTL_IS_PATHNAME_VALID      0x0009002C /* BB add struct */
 33 #define FSCTL_GET_COMPRESSION        0x0009003     33 #define FSCTL_GET_COMPRESSION        0x0009003C /* BB add struct */
 34 #define FSCTL_SET_COMPRESSION        0x0009C04     34 #define FSCTL_SET_COMPRESSION        0x0009C040 /* BB add struct */
 35 #define FSCTL_QUERY_FAT_BPB          0x0009005     35 #define FSCTL_QUERY_FAT_BPB          0x00090058 /* BB add struct */
 36 /* Verify the next FSCTL number, we had it as      36 /* Verify the next FSCTL number, we had it as 0x00090090 before */
 37 #define FSCTL_FILESYSTEM_GET_STATS   0x0009006     37 #define FSCTL_FILESYSTEM_GET_STATS   0x00090060 /* BB add struct */
 38 #define FSCTL_GET_NTFS_VOLUME_DATA   0x0009006     38 #define FSCTL_GET_NTFS_VOLUME_DATA   0x00090064 /* BB add struct */
 39 #define FSCTL_GET_RETRIEVAL_POINTERS 0x0009007     39 #define FSCTL_GET_RETRIEVAL_POINTERS 0x00090073 /* BB add struct */
 40 #define FSCTL_IS_VOLUME_DIRTY        0x0009007     40 #define FSCTL_IS_VOLUME_DIRTY        0x00090078 /* BB add struct */
 41 #define FSCTL_ALLOW_EXTENDED_DASD_IO 0x0009008     41 #define FSCTL_ALLOW_EXTENDED_DASD_IO 0x00090083 /* BB add struct */
 42 #define FSCTL_REQUEST_FILTER_OPLOCK  0x0009008     42 #define FSCTL_REQUEST_FILTER_OPLOCK  0x0009008C
 43 #define FSCTL_FIND_FILES_BY_SID      0x0009008     43 #define FSCTL_FIND_FILES_BY_SID      0x0009008F /* BB add struct */
 44 #define FSCTL_SET_OBJECT_ID          0x0009009     44 #define FSCTL_SET_OBJECT_ID          0x00090098 /* BB add struct */
 45 #define FSCTL_GET_OBJECT_ID          0x0009009     45 #define FSCTL_GET_OBJECT_ID          0x0009009C /* BB add struct */
 46 #define FSCTL_DELETE_OBJECT_ID       0x000900A     46 #define FSCTL_DELETE_OBJECT_ID       0x000900A0 /* BB add struct */
 47 #define FSCTL_SET_REPARSE_POINT      0x000900A     47 #define FSCTL_SET_REPARSE_POINT      0x000900A4 /* BB add struct */
 48 #define FSCTL_GET_REPARSE_POINT      0x000900A     48 #define FSCTL_GET_REPARSE_POINT      0x000900A8 /* BB add struct */
 49 #define FSCTL_DELETE_REPARSE_POINT   0x000900A     49 #define FSCTL_DELETE_REPARSE_POINT   0x000900AC /* BB add struct */
 50 #define FSCTL_SET_OBJECT_ID_EXTENDED 0x000900B     50 #define FSCTL_SET_OBJECT_ID_EXTENDED 0x000900BC /* BB add struct */
 51 #define FSCTL_CREATE_OR_GET_OBJECT_ID 0x000900     51 #define FSCTL_CREATE_OR_GET_OBJECT_ID 0x000900C0 /* BB add struct */
 52 #define FSCTL_SET_SPARSE             0x000900C     52 #define FSCTL_SET_SPARSE             0x000900C4 /* BB add struct */
 53 #define FSCTL_SET_ZERO_DATA          0x000980C     53 #define FSCTL_SET_ZERO_DATA          0x000980C8 /* BB add struct */
 54 #define FSCTL_SET_ENCRYPTION         0x000900D     54 #define FSCTL_SET_ENCRYPTION         0x000900D7 /* BB add struct */
 55 #define FSCTL_ENCRYPTION_FSCTL_IO    0x000900D     55 #define FSCTL_ENCRYPTION_FSCTL_IO    0x000900DB /* BB add struct */
 56 #define FSCTL_WRITE_RAW_ENCRYPTED    0x000900D     56 #define FSCTL_WRITE_RAW_ENCRYPTED    0x000900DF /* BB add struct */
 57 #define FSCTL_READ_RAW_ENCRYPTED     0x000900E     57 #define FSCTL_READ_RAW_ENCRYPTED     0x000900E3 /* BB add struct */
 58 #define FSCTL_READ_FILE_USN_DATA     0x000900E     58 #define FSCTL_READ_FILE_USN_DATA     0x000900EB /* BB add struct */
 59 #define FSCTL_WRITE_USN_CLOSE_RECORD 0x000900E     59 #define FSCTL_WRITE_USN_CLOSE_RECORD 0x000900EF /* BB add struct */
 60 #define FSCTL_SIS_COPYFILE           0x0009010     60 #define FSCTL_SIS_COPYFILE           0x00090100 /* BB add struct */
 61 #define FSCTL_RECALL_FILE            0x0009011     61 #define FSCTL_RECALL_FILE            0x00090117 /* BB add struct */
 62 #define FSCTL_QUERY_SPARING_INFO     0x0009013     62 #define FSCTL_QUERY_SPARING_INFO     0x00090138 /* BB add struct */
 63 #define FSCTL_SET_ZERO_ON_DEALLOC    0x0009019     63 #define FSCTL_SET_ZERO_ON_DEALLOC    0x00090194 /* BB add struct */
 64 #define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901     64 #define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901B4 /* BB add struct */
 65 #define FSCTL_QUERY_ALLOCATED_RANGES 0x000940C     65 #define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF /* BB add struct */
 66 #define FSCTL_SET_DEFECT_MANAGEMENT  0x0009813     66 #define FSCTL_SET_DEFECT_MANAGEMENT  0x00098134 /* BB add struct */
 67 #define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x0009     67 #define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344
 68 #define FSCTL_SIS_LINK_FILES         0x0009C10     68 #define FSCTL_SIS_LINK_FILES         0x0009C104
 69 #define FSCTL_PIPE_PEEK              0x0011400     69 #define FSCTL_PIPE_PEEK              0x0011400C /* BB add struct */
 70 #define FSCTL_PIPE_TRANSCEIVE        0x0011C01     70 #define FSCTL_PIPE_TRANSCEIVE        0x0011C017 /* BB add struct */
 71 /* strange that the number for this op is not      71 /* strange that the number for this op is not sequential with previous op */
 72 #define FSCTL_PIPE_WAIT              0x0011001     72 #define FSCTL_PIPE_WAIT              0x00110018 /* BB add struct */
 73 #define FSCTL_REQUEST_RESUME_KEY     0x0014007     73 #define FSCTL_REQUEST_RESUME_KEY     0x00140078
 74 #define FSCTL_LMR_GET_LINK_TRACK_INF 0x001400E     74 #define FSCTL_LMR_GET_LINK_TRACK_INF 0x001400E8 /* BB add struct */
 75 #define FSCTL_LMR_SET_LINK_TRACK_INF 0x001400E     75 #define FSCTL_LMR_SET_LINK_TRACK_INF 0x001400EC /* BB add struct */
 76 #define FSCTL_VALIDATE_NEGOTIATE_INFO 0x001402     76 #define FSCTL_VALIDATE_NEGOTIATE_INFO 0x00140204
 77 #define FSCTL_QUERY_NETWORK_INTERFACE_INFO 0x0     77 #define FSCTL_QUERY_NETWORK_INTERFACE_INFO 0x001401FC
 78 #define FSCTL_COPYCHUNK              0x001440F     78 #define FSCTL_COPYCHUNK              0x001440F2
 79 #define FSCTL_COPYCHUNK_WRITE        0x001480F     79 #define FSCTL_COPYCHUNK_WRITE        0x001480F2
 80                                                    80 
 81 #define IO_REPARSE_TAG_MOUNT_POINT   0xA000000     81 #define IO_REPARSE_TAG_MOUNT_POINT   0xA0000003
 82 #define IO_REPARSE_TAG_HSM           0xC000000     82 #define IO_REPARSE_TAG_HSM           0xC0000004
 83 #define IO_REPARSE_TAG_SIS           0x8000000     83 #define IO_REPARSE_TAG_SIS           0x80000007
 84                                                    84 
 85 /* WSL reparse tags */                             85 /* WSL reparse tags */
 86 #define IO_REPARSE_TAG_LX_SYMLINK_LE    cpu_to     86 #define IO_REPARSE_TAG_LX_SYMLINK_LE    cpu_to_le32(0xA000001D)
 87 #define IO_REPARSE_TAG_AF_UNIX_LE       cpu_to     87 #define IO_REPARSE_TAG_AF_UNIX_LE       cpu_to_le32(0x80000023)
 88 #define IO_REPARSE_TAG_LX_FIFO_LE       cpu_to     88 #define IO_REPARSE_TAG_LX_FIFO_LE       cpu_to_le32(0x80000024)
 89 #define IO_REPARSE_TAG_LX_CHR_LE        cpu_to     89 #define IO_REPARSE_TAG_LX_CHR_LE        cpu_to_le32(0x80000025)
 90 #define IO_REPARSE_TAG_LX_BLK_LE        cpu_to     90 #define IO_REPARSE_TAG_LX_BLK_LE        cpu_to_le32(0x80000026)
 91 #endif /* __KSMBD_SMBFSCTL_H */                    91 #endif /* __KSMBD_SMBFSCTL_H */
 92                                                    92 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php