Lines Matching refs:cpu_to_le32
76 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
77 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
78 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
83 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
84 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
85 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
86 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
87 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
88 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
89 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
288 #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */
289 #define SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY cpu_to_le32(0x00000010) /* 3.0 */
290 #define SMB2_SHARE_CAP_SCALEOUT cpu_to_le32(0x00000020) /* 3.0 */
291 #define SMB2_SHARE_CAP_CLUSTER cpu_to_le32(0x00000040) /* 3.0 */
292 #define SMB2_SHARE_CAP_ASYMMETRIC cpu_to_le32(0x00000080) /* 3.02 */
293 #define SMB2_SHARE_CAP_REDIRECT_TO_OWNER cpu_to_le32(0x00000100) /* 3.1.1 */
420 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_NONE cpu_to_le32(0x00000000)
421 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_CHAINED cpu_to_le32(0x00000001)
643 #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000)
644 #define SMB2_CHANNEL_RDMA_V1 cpu_to_le32(0x00000001)
645 #define SMB2_CHANNEL_RDMA_V1_INVALIDATE cpu_to_le32(0x00000002)
646 #define SMB2_CHANNEL_RDMA_TRANSFORM cpu_to_le32(0x00000003)
667 #define SMB2_READFLAG_RESPONSE_NONE cpu_to_le32(0x00000000)
668 #define SMB2_READFLAG_RESPONSE_RDMA_TRANSFORM cpu_to_le32(0x00000001)
800 #define IL_ANONYMOUS cpu_to_le32(0x00000000)
801 #define IL_IDENTIFICATION cpu_to_le32(0x00000001)
802 #define IL_IMPERSONATION cpu_to_le32(0x00000002)
803 #define IL_DELEGATE cpu_to_le32(0x00000003)
823 #define FILE_ATTRIBUTE_READONLY_LE cpu_to_le32(0x00000001)
824 #define FILE_ATTRIBUTE_HIDDEN_LE cpu_to_le32(0x00000002)
825 #define FILE_ATTRIBUTE_SYSTEM_LE cpu_to_le32(0x00000004)
826 #define FILE_ATTRIBUTE_DIRECTORY_LE cpu_to_le32(0x00000010)
827 #define FILE_ATTRIBUTE_ARCHIVE_LE cpu_to_le32(0x00000020)
828 #define FILE_ATTRIBUTE_NORMAL_LE cpu_to_le32(0x00000080)
829 #define FILE_ATTRIBUTE_TEMPORARY_LE cpu_to_le32(0x00000100)
830 #define FILE_ATTRIBUTE_SPARSE_FILE_LE cpu_to_le32(0x00000200)
831 #define FILE_ATTRIBUTE_REPARSE_POINT_LE cpu_to_le32(0x00000400)
832 #define FILE_ATTRIBUTE_COMPRESSED_LE cpu_to_le32(0x00000800)
833 #define FILE_ATTRIBUTE_OFFLINE_LE cpu_to_le32(0x00001000)
834 #define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED_LE cpu_to_le32(0x00002000)
835 #define FILE_ATTRIBUTE_ENCRYPTED_LE cpu_to_le32(0x00004000)
836 #define FILE_ATTRIBUTE_INTEGRITY_STREAM_LE cpu_to_le32(0x00008000)
837 #define FILE_ATTRIBUTE_NO_SCRUB_DATA_LE cpu_to_le32(0x00020000)
838 #define FILE_ATTRIBUTE_MASK_LE cpu_to_le32(0x00007FB7)
841 #define FILE_READ_DATA_LE cpu_to_le32(0x00000001)
842 #define FILE_LIST_DIRECTORY_LE cpu_to_le32(0x00000001)
843 #define FILE_WRITE_DATA_LE cpu_to_le32(0x00000002)
844 #define FILE_APPEND_DATA_LE cpu_to_le32(0x00000004)
845 #define FILE_ADD_SUBDIRECTORY_LE cpu_to_le32(0x00000004)
846 #define FILE_READ_EA_LE cpu_to_le32(0x00000008)
847 #define FILE_WRITE_EA_LE cpu_to_le32(0x00000010)
848 #define FILE_EXECUTE_LE cpu_to_le32(0x00000020)
849 #define FILE_DELETE_CHILD_LE cpu_to_le32(0x00000040)
850 #define FILE_READ_ATTRIBUTES_LE cpu_to_le32(0x00000080)
851 #define FILE_WRITE_ATTRIBUTES_LE cpu_to_le32(0x00000100)
852 #define FILE_DELETE_LE cpu_to_le32(0x00010000)
853 #define FILE_READ_CONTROL_LE cpu_to_le32(0x00020000)
854 #define FILE_WRITE_DAC_LE cpu_to_le32(0x00040000)
855 #define FILE_WRITE_OWNER_LE cpu_to_le32(0x00080000)
856 #define FILE_SYNCHRONIZE_LE cpu_to_le32(0x00100000)
857 #define FILE_ACCESS_SYSTEM_SECURITY_LE cpu_to_le32(0x01000000)
858 #define FILE_MAXIMAL_ACCESS_LE cpu_to_le32(0x02000000)
859 #define FILE_GENERIC_ALL_LE cpu_to_le32(0x10000000)
860 #define FILE_GENERIC_EXECUTE_LE cpu_to_le32(0x20000000)
861 #define FILE_GENERIC_WRITE_LE cpu_to_le32(0x40000000)
862 #define FILE_GENERIC_READ_LE cpu_to_le32(0x80000000)
863 #define DESIRED_ACCESS_MASK cpu_to_le32(0xF21F01FF)
876 #define FILE_SHARE_READ_LE cpu_to_le32(0x00000001)
877 #define FILE_SHARE_WRITE_LE cpu_to_le32(0x00000002)
878 #define FILE_SHARE_DELETE_LE cpu_to_le32(0x00000004)
879 #define FILE_SHARE_ALL_LE cpu_to_le32(0x00000007)
882 #define FILE_SUPERSEDE_LE cpu_to_le32(0x00000000)
883 #define FILE_OPEN_LE cpu_to_le32(0x00000001)
884 #define FILE_CREATE_LE cpu_to_le32(0x00000002)
885 #define FILE_OPEN_IF_LE cpu_to_le32(0x00000003)
886 #define FILE_OVERWRITE_LE cpu_to_le32(0x00000004)
887 #define FILE_OVERWRITE_IF_LE cpu_to_le32(0x00000005)
888 #define FILE_CREATE_MASK_LE cpu_to_le32(0x00000007)
897 #define FILE_DIRECTORY_FILE_LE cpu_to_le32(0x00000001)
899 #define FILE_WRITE_THROUGH_LE cpu_to_le32(0x00000002)
900 #define FILE_SEQUENTIAL_ONLY_LE cpu_to_le32(0x00000004)
901 #define FILE_NO_INTERMEDIATE_BUFFERING_LE cpu_to_le32(0x00000008)
902 #define FILE_NON_DIRECTORY_FILE_LE cpu_to_le32(0x00000040)
903 #define FILE_COMPLETE_IF_OPLOCKED_LE cpu_to_le32(0x00000100)
904 #define FILE_NO_EA_KNOWLEDGE_LE cpu_to_le32(0x00000200)
905 #define FILE_RANDOM_ACCESS_LE cpu_to_le32(0x00000800)
906 #define FILE_DELETE_ON_CLOSE_LE cpu_to_le32(0x00001000)
907 #define FILE_OPEN_BY_FILE_ID_LE cpu_to_le32(0x00002000)
908 #define FILE_OPEN_FOR_BACKUP_INTENT_LE cpu_to_le32(0x00004000)
909 #define FILE_NO_COMPRESSION_LE cpu_to_le32(0x00008000)
910 #define FILE_OPEN_REPARSE_POINT_LE cpu_to_le32(0x00200000)
911 #define FILE_OPEN_NO_RECALL_LE cpu_to_le32(0x00400000)
912 #define CREATE_OPTIONS_MASK_LE cpu_to_le32(0x00FFFFFF)