Lines Matching refs:cpu_to_le32

111 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
112 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
113 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
118 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
119 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
120 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
121 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
122 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
123 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
124 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
375 #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */
376 #define SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY cpu_to_le32(0x00000010) /* 3.0 */
377 #define SMB2_SHARE_CAP_SCALEOUT cpu_to_le32(0x00000020) /* 3.0 */
378 #define SMB2_SHARE_CAP_CLUSTER cpu_to_le32(0x00000040) /* 3.0 */
379 #define SMB2_SHARE_CAP_ASYMMETRIC cpu_to_le32(0x00000080) /* 3.02 */
380 #define SMB2_SHARE_CAP_REDIRECT_TO_OWNER cpu_to_le32(0x00000100) /* 3.1.1 */
509 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_NONE cpu_to_le32(0x00000000)
510 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_CHAINED cpu_to_le32(0x00000001)
735 #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000)
736 #define SMB2_CHANNEL_RDMA_V1 cpu_to_le32(0x00000001)
737 #define SMB2_CHANNEL_RDMA_V1_INVALIDATE cpu_to_le32(0x00000002)
738 #define SMB2_CHANNEL_RDMA_TRANSFORM cpu_to_le32(0x00000003)
759 #define SMB2_READFLAG_RESPONSE_NONE cpu_to_le32(0x00000000)
760 #define SMB2_READFLAG_RESPONSE_RDMA_TRANSFORM cpu_to_le32(0x00000001)
1025 #define IL_ANONYMOUS cpu_to_le32(0x00000000)
1026 #define IL_IDENTIFICATION cpu_to_le32(0x00000001)
1027 #define IL_IMPERSONATION cpu_to_le32(0x00000002)
1028 #define IL_DELEGATE cpu_to_le32(0x00000003)
1048 #define FILE_ATTRIBUTE_READONLY_LE cpu_to_le32(0x00000001)
1049 #define FILE_ATTRIBUTE_HIDDEN_LE cpu_to_le32(0x00000002)
1050 #define FILE_ATTRIBUTE_SYSTEM_LE cpu_to_le32(0x00000004)
1051 #define FILE_ATTRIBUTE_DIRECTORY_LE cpu_to_le32(0x00000010)
1052 #define FILE_ATTRIBUTE_ARCHIVE_LE cpu_to_le32(0x00000020)
1053 #define FILE_ATTRIBUTE_NORMAL_LE cpu_to_le32(0x00000080)
1054 #define FILE_ATTRIBUTE_TEMPORARY_LE cpu_to_le32(0x00000100)
1055 #define FILE_ATTRIBUTE_SPARSE_FILE_LE cpu_to_le32(0x00000200)
1056 #define FILE_ATTRIBUTE_REPARSE_POINT_LE cpu_to_le32(0x00000400)
1057 #define FILE_ATTRIBUTE_COMPRESSED_LE cpu_to_le32(0x00000800)
1058 #define FILE_ATTRIBUTE_OFFLINE_LE cpu_to_le32(0x00001000)
1059 #define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED_LE cpu_to_le32(0x00002000)
1060 #define FILE_ATTRIBUTE_ENCRYPTED_LE cpu_to_le32(0x00004000)
1061 #define FILE_ATTRIBUTE_INTEGRITY_STREAM_LE cpu_to_le32(0x00008000)
1062 #define FILE_ATTRIBUTE_NO_SCRUB_DATA_LE cpu_to_le32(0x00020000)
1063 #define FILE_ATTRIBUTE_MASK_LE cpu_to_le32(0x00007FB7)
1066 #define FILE_READ_DATA_LE cpu_to_le32(0x00000001)
1067 #define FILE_LIST_DIRECTORY_LE cpu_to_le32(0x00000001)
1068 #define FILE_WRITE_DATA_LE cpu_to_le32(0x00000002)
1069 #define FILE_APPEND_DATA_LE cpu_to_le32(0x00000004)
1070 #define FILE_ADD_SUBDIRECTORY_LE cpu_to_le32(0x00000004)
1071 #define FILE_READ_EA_LE cpu_to_le32(0x00000008)
1072 #define FILE_WRITE_EA_LE cpu_to_le32(0x00000010)
1073 #define FILE_EXECUTE_LE cpu_to_le32(0x00000020)
1074 #define FILE_DELETE_CHILD_LE cpu_to_le32(0x00000040)
1075 #define FILE_READ_ATTRIBUTES_LE cpu_to_le32(0x00000080)
1076 #define FILE_WRITE_ATTRIBUTES_LE cpu_to_le32(0x00000100)
1077 #define FILE_DELETE_LE cpu_to_le32(0x00010000)
1078 #define FILE_READ_CONTROL_LE cpu_to_le32(0x00020000)
1079 #define FILE_WRITE_DAC_LE cpu_to_le32(0x00040000)
1080 #define FILE_WRITE_OWNER_LE cpu_to_le32(0x00080000)
1081 #define FILE_SYNCHRONIZE_LE cpu_to_le32(0x00100000)
1082 #define FILE_ACCESS_SYSTEM_SECURITY_LE cpu_to_le32(0x01000000)
1083 #define FILE_MAXIMAL_ACCESS_LE cpu_to_le32(0x02000000)
1084 #define FILE_GENERIC_ALL_LE cpu_to_le32(0x10000000)
1085 #define FILE_GENERIC_EXECUTE_LE cpu_to_le32(0x20000000)
1086 #define FILE_GENERIC_WRITE_LE cpu_to_le32(0x40000000)
1087 #define FILE_GENERIC_READ_LE cpu_to_le32(0x80000000)
1088 #define DESIRED_ACCESS_MASK cpu_to_le32(0xF21F01FF)
1101 #define FILE_SHARE_READ_LE cpu_to_le32(0x00000001)
1102 #define FILE_SHARE_WRITE_LE cpu_to_le32(0x00000002)
1103 #define FILE_SHARE_DELETE_LE cpu_to_le32(0x00000004)
1104 #define FILE_SHARE_ALL_LE cpu_to_le32(0x00000007)
1107 #define FILE_SUPERSEDE_LE cpu_to_le32(0x00000000)
1108 #define FILE_OPEN_LE cpu_to_le32(0x00000001)
1109 #define FILE_CREATE_LE cpu_to_le32(0x00000002)
1110 #define FILE_OPEN_IF_LE cpu_to_le32(0x00000003)
1111 #define FILE_OVERWRITE_LE cpu_to_le32(0x00000004)
1112 #define FILE_OVERWRITE_IF_LE cpu_to_le32(0x00000005)
1113 #define FILE_CREATE_MASK_LE cpu_to_le32(0x00000007)
1122 #define FILE_DIRECTORY_FILE_LE cpu_to_le32(0x00000001)
1123 /* same as #define CREATE_NOT_FILE_LE cpu_to_le32(0x00000001) */
1124 #define FILE_WRITE_THROUGH_LE cpu_to_le32(0x00000002)
1125 #define FILE_SEQUENTIAL_ONLY_LE cpu_to_le32(0x00000004)
1126 #define FILE_NO_INTERMEDIATE_BUFFERING_LE cpu_to_le32(0x00000008)
1127 /* FILE_SYNCHRONOUS_IO_ALERT_LE cpu_to_le32(0x00000010) should be zero, ignored */
1128 /* FILE_SYNCHRONOUS_IO_NONALERT cpu_to_le32(0x00000020) should be zero, ignored */
1129 #define FILE_NON_DIRECTORY_FILE_LE cpu_to_le32(0x00000040)
1130 #define FILE_COMPLETE_IF_OPLOCKED_LE cpu_to_le32(0x00000100)
1131 #define FILE_NO_EA_KNOWLEDGE_LE cpu_to_le32(0x00000200)
1132 /* FILE_OPEN_REMOTE_INSTANCE cpu_to_le32(0x00000400) should be zero, ignored */
1133 #define FILE_RANDOM_ACCESS_LE cpu_to_le32(0x00000800)
1134 #define FILE_DELETE_ON_CLOSE_LE cpu_to_le32(0x00001000) /* MBZ */
1135 #define FILE_OPEN_BY_FILE_ID_LE cpu_to_le32(0x00002000)
1136 #define FILE_OPEN_FOR_BACKUP_INTENT_LE cpu_to_le32(0x00004000)
1137 #define FILE_NO_COMPRESSION_LE cpu_to_le32(0x00008000)
1138 /* FILE_OPEN_REQUIRING_OPLOCK cpu_to_le32(0x00010000) should be zero, ignored */
1139 /* FILE_DISALLOW_EXCLUSIVE cpu_to_le32(0x00020000) should be zero, ignored */
1140 /* FILE_RESERVE_OPFILTER cpu_to_le32(0x00100000) MBZ */
1141 #define FILE_OPEN_REPARSE_POINT_LE cpu_to_le32(0x00200000)
1142 #define FILE_OPEN_NO_RECALL_LE cpu_to_le32(0x00400000)
1143 /* #define FILE_OPEN_FOR_FREE_SPACE_QUERY cpu_to_le32(0x00800000) should be zero, ignored */
1144 #define CREATE_OPTIONS_MASK_LE cpu_to_le32(0x00FFFFFF)
1259 #define SMB2_LEASE_NONE_LE cpu_to_le32(0x00)
1260 #define SMB2_LEASE_READ_CACHING_LE cpu_to_le32(0x01)
1261 #define SMB2_LEASE_HANDLE_CACHING_LE cpu_to_le32(0x02)
1262 #define SMB2_LEASE_WRITE_CACHING_LE cpu_to_le32(0x04)
1264 #define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE cpu_to_le32(0x02)
1265 #define SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET_LE cpu_to_le32(0x04)
1798 #define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED cpu_to_le32(0x01)