Lines Matching refs:cpu_to_le32
79 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
80 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
81 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
195 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
196 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
197 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
198 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
199 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
200 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
201 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
249 #define SMB2_ERROR_ID_SHARE_REDIRECT cpu_to_le32(0x72645253) /* "rdRS" */
252 #define MOVE_DST_IPADDR_V4 cpu_to_le32(0x00000001)
253 #define MOVE_DST_IPADDR_V6 cpu_to_le32(0x00000002)
385 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_NONE cpu_to_le32(0x00000000)
386 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_CHAINED cpu_to_le32(0x00000001)
664 #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */
665 #define SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY cpu_to_le32(0x00000010) /* 3.0 */
666 #define SMB2_SHARE_CAP_SCALEOUT cpu_to_le32(0x00000020) /* 3.0 */
667 #define SMB2_SHARE_CAP_CLUSTER cpu_to_le32(0x00000040) /* 3.0 */
668 #define SMB2_SHARE_CAP_ASYMMETRIC cpu_to_le32(0x00000080) /* 3.02 */
669 #define SMB2_SHARE_CAP_REDIRECT_TO_OWNER cpu_to_le32(0x00000100) /* 3.1.1 */
710 #define FILE_READ_DATA_LE cpu_to_le32(0x00000001)
711 #define FILE_WRITE_DATA_LE cpu_to_le32(0x00000002)
712 #define FILE_APPEND_DATA_LE cpu_to_le32(0x00000004)
713 #define FILE_READ_EA_LE cpu_to_le32(0x00000008)
714 #define FILE_WRITE_EA_LE cpu_to_le32(0x00000010)
715 #define FILE_EXECUTE_LE cpu_to_le32(0x00000020)
716 #define FILE_READ_ATTRIBUTES_LE cpu_to_le32(0x00000080)
717 #define FILE_WRITE_ATTRIBUTES_LE cpu_to_le32(0x00000100)
718 #define FILE_DELETE_LE cpu_to_le32(0x00010000)
719 #define FILE_READ_CONTROL_LE cpu_to_le32(0x00020000)
720 #define FILE_WRITE_DAC_LE cpu_to_le32(0x00040000)
721 #define FILE_WRITE_OWNER_LE cpu_to_le32(0x00080000)
722 #define FILE_SYNCHRONIZE_LE cpu_to_le32(0x00100000)
723 #define FILE_ACCESS_SYSTEM_SECURITY_LE cpu_to_le32(0x01000000)
724 #define FILE_MAXIMAL_ACCESS_LE cpu_to_le32(0x02000000)
725 #define FILE_GENERIC_ALL_LE cpu_to_le32(0x10000000)
726 #define FILE_GENERIC_EXECUTE_LE cpu_to_le32(0x20000000)
727 #define FILE_GENERIC_WRITE_LE cpu_to_le32(0x40000000)
728 #define FILE_GENERIC_READ_LE cpu_to_le32(0x80000000)
731 #define FILE_SHARE_READ_LE cpu_to_le32(0x00000001)
732 #define FILE_SHARE_WRITE_LE cpu_to_le32(0x00000002)
733 #define FILE_SHARE_DELETE_LE cpu_to_le32(0x00000004)
734 #define FILE_SHARE_ALL_LE cpu_to_le32(0x00000007)
737 #define FILE_SUPERSEDE_LE cpu_to_le32(0x00000000)
738 #define FILE_OPEN_LE cpu_to_le32(0x00000001)
739 #define FILE_CREATE_LE cpu_to_le32(0x00000002)
740 #define FILE_OPEN_IF_LE cpu_to_le32(0x00000003)
741 #define FILE_OVERWRITE_LE cpu_to_le32(0x00000004)
742 #define FILE_OVERWRITE_IF_LE cpu_to_le32(0x00000005)
745 #define FILE_DIRECTORY_FILE_LE cpu_to_le32(0x00000001)
747 #define FILE_WRITE_THROUGH_LE cpu_to_le32(0x00000002)
748 #define FILE_SEQUENTIAL_ONLY_LE cpu_to_le32(0x00000004)
749 #define FILE_NO_INTERMEDIATE_BUFFERRING_LE cpu_to_le32(0x00000008)
750 #define FILE_SYNCHRONOUS_IO_ALERT_LE cpu_to_le32(0x00000010)
751 #define FILE_SYNCHRONOUS_IO_NON_ALERT_LE cpu_to_le32(0x00000020)
752 #define FILE_NON_DIRECTORY_FILE_LE cpu_to_le32(0x00000040)
753 #define FILE_COMPLETE_IF_OPLOCKED_LE cpu_to_le32(0x00000100)
754 #define FILE_NO_EA_KNOWLEDGE_LE cpu_to_le32(0x00000200)
755 #define FILE_RANDOM_ACCESS_LE cpu_to_le32(0x00000800)
756 #define FILE_DELETE_ON_CLOSE_LE cpu_to_le32(0x00001000)
757 #define FILE_OPEN_BY_FILE_ID_LE cpu_to_le32(0x00002000)
758 #define FILE_OPEN_FOR_BACKUP_INTENT_LE cpu_to_le32(0x00004000)
759 #define FILE_NO_COMPRESSION_LE cpu_to_le32(0x00008000)
760 #define FILE_RESERVE_OPFILTER_LE cpu_to_le32(0x00100000)
761 #define FILE_OPEN_REPARSE_POINT_LE cpu_to_le32(0x00200000)
762 #define FILE_OPEN_NO_RECALL_LE cpu_to_le32(0x00400000)
763 #define FILE_OPEN_FOR_FREE_SPACE_QUERY_LE cpu_to_le32(0x00800000)
772 #define IL_ANONYMOUS cpu_to_le32(0x00000000)
773 #define IL_IDENTIFICATION cpu_to_le32(0x00000001)
774 #define IL_IMPERSONATION cpu_to_le32(0x00000002)
775 #define IL_DELEGATE cpu_to_le32(0x00000003)
872 #define SMB2_LEASE_NONE cpu_to_le32(0x00)
873 #define SMB2_LEASE_READ_CACHING cpu_to_le32(0x01)
874 #define SMB2_LEASE_HANDLE_CACHING cpu_to_le32(0x02)
875 #define SMB2_LEASE_WRITE_CACHING cpu_to_le32(0x04)
877 #define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS cpu_to_le32(0x00000002)
878 #define SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET cpu_to_le32(0x00000004)
1162 #define RSS_CAPABLE cpu_to_le32(0x00000001)
1163 #define RDMA_CAPABLE cpu_to_le32(0x00000002)
1296 #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000)
1297 #define SMB2_CHANNEL_RDMA_V1 cpu_to_le32(0x00000001) /* SMB3 or later */
1298 #define SMB2_CHANNEL_RDMA_V1_INVALIDATE cpu_to_le32(0x00000002) /* >= SMB3.02 */
1299 #define SMB2_CHANNEL_RDMA_TRANSFORM cpu_to_le32(0x00000003) /* >= SMB3.02, only used on write */
1579 #define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED cpu_to_le32(0x01)