Lines Matching refs:cpu_to_le32
92 #define SMB2_PROTO_NUMBER cpu_to_le32(0x424d53fe)
93 #define SMB2_TRANSFORM_PROTO_NUM cpu_to_le32(0x424d53fd)
94 #define SMB2_COMPRESSION_TRANSFORM_ID cpu_to_le32(0x424d53fc)
197 #define SMB2_FLAGS_SERVER_TO_REDIR cpu_to_le32(0x00000001)
198 #define SMB2_FLAGS_ASYNC_COMMAND cpu_to_le32(0x00000002)
199 #define SMB2_FLAGS_RELATED_OPERATIONS cpu_to_le32(0x00000004)
200 #define SMB2_FLAGS_SIGNED cpu_to_le32(0x00000008)
201 #define SMB2_FLAGS_PRIORITY_MASK cpu_to_le32(0x00000070) /* SMB3.1.1 */
202 #define SMB2_FLAGS_DFS_OPERATIONS cpu_to_le32(0x10000000)
203 #define SMB2_FLAGS_REPLAY_OPERATION cpu_to_le32(0x20000000) /* SMB3 & up */
251 #define SMB2_ERROR_ID_SHARE_REDIRECT cpu_to_le32(0x72645253) /* "rdRS" */
254 #define MOVE_DST_IPADDR_V4 cpu_to_le32(0x00000001)
255 #define MOVE_DST_IPADDR_V6 cpu_to_le32(0x00000002)
387 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_NONE cpu_to_le32(0x00000000)
388 #define SMB2_COMPRESSION_CAPABILITIES_FLAG_CHAINED cpu_to_le32(0x00000001)
640 #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */
641 #define SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY cpu_to_le32(0x00000010) /* 3.0 */
642 #define SMB2_SHARE_CAP_SCALEOUT cpu_to_le32(0x00000020) /* 3.0 */
643 #define SMB2_SHARE_CAP_CLUSTER cpu_to_le32(0x00000040) /* 3.0 */
644 #define SMB2_SHARE_CAP_ASYMMETRIC cpu_to_le32(0x00000080) /* 3.02 */
645 #define SMB2_SHARE_CAP_REDIRECT_TO_OWNER cpu_to_le32(0x00000100) /* 3.1.1 */
686 #define FILE_READ_DATA_LE cpu_to_le32(0x00000001)
687 #define FILE_WRITE_DATA_LE cpu_to_le32(0x00000002)
688 #define FILE_APPEND_DATA_LE cpu_to_le32(0x00000004)
689 #define FILE_READ_EA_LE cpu_to_le32(0x00000008)
690 #define FILE_WRITE_EA_LE cpu_to_le32(0x00000010)
691 #define FILE_EXECUTE_LE cpu_to_le32(0x00000020)
692 #define FILE_READ_ATTRIBUTES_LE cpu_to_le32(0x00000080)
693 #define FILE_WRITE_ATTRIBUTES_LE cpu_to_le32(0x00000100)
694 #define FILE_DELETE_LE cpu_to_le32(0x00010000)
695 #define FILE_READ_CONTROL_LE cpu_to_le32(0x00020000)
696 #define FILE_WRITE_DAC_LE cpu_to_le32(0x00040000)
697 #define FILE_WRITE_OWNER_LE cpu_to_le32(0x00080000)
698 #define FILE_SYNCHRONIZE_LE cpu_to_le32(0x00100000)
699 #define FILE_ACCESS_SYSTEM_SECURITY_LE cpu_to_le32(0x01000000)
700 #define FILE_MAXIMAL_ACCESS_LE cpu_to_le32(0x02000000)
701 #define FILE_GENERIC_ALL_LE cpu_to_le32(0x10000000)
702 #define FILE_GENERIC_EXECUTE_LE cpu_to_le32(0x20000000)
703 #define FILE_GENERIC_WRITE_LE cpu_to_le32(0x40000000)
704 #define FILE_GENERIC_READ_LE cpu_to_le32(0x80000000)
707 #define FILE_SHARE_READ_LE cpu_to_le32(0x00000001)
708 #define FILE_SHARE_WRITE_LE cpu_to_le32(0x00000002)
709 #define FILE_SHARE_DELETE_LE cpu_to_le32(0x00000004)
710 #define FILE_SHARE_ALL_LE cpu_to_le32(0x00000007)
713 #define FILE_SUPERSEDE_LE cpu_to_le32(0x00000000)
714 #define FILE_OPEN_LE cpu_to_le32(0x00000001)
715 #define FILE_CREATE_LE cpu_to_le32(0x00000002)
716 #define FILE_OPEN_IF_LE cpu_to_le32(0x00000003)
717 #define FILE_OVERWRITE_LE cpu_to_le32(0x00000004)
718 #define FILE_OVERWRITE_IF_LE cpu_to_le32(0x00000005)
721 #define FILE_DIRECTORY_FILE_LE cpu_to_le32(0x00000001)
723 #define FILE_WRITE_THROUGH_LE cpu_to_le32(0x00000002)
724 #define FILE_SEQUENTIAL_ONLY_LE cpu_to_le32(0x00000004)
725 #define FILE_NO_INTERMEDIATE_BUFFERRING_LE cpu_to_le32(0x00000008)
726 #define FILE_SYNCHRONOUS_IO_ALERT_LE cpu_to_le32(0x00000010)
727 #define FILE_SYNCHRONOUS_IO_NON_ALERT_LE cpu_to_le32(0x00000020)
728 #define FILE_NON_DIRECTORY_FILE_LE cpu_to_le32(0x00000040)
729 #define FILE_COMPLETE_IF_OPLOCKED_LE cpu_to_le32(0x00000100)
730 #define FILE_NO_EA_KNOWLEDGE_LE cpu_to_le32(0x00000200)
731 #define FILE_RANDOM_ACCESS_LE cpu_to_le32(0x00000800)
732 #define FILE_DELETE_ON_CLOSE_LE cpu_to_le32(0x00001000)
733 #define FILE_OPEN_BY_FILE_ID_LE cpu_to_le32(0x00002000)
734 #define FILE_OPEN_FOR_BACKUP_INTENT_LE cpu_to_le32(0x00004000)
735 #define FILE_NO_COMPRESSION_LE cpu_to_le32(0x00008000)
736 #define FILE_RESERVE_OPFILTER_LE cpu_to_le32(0x00100000)
737 #define FILE_OPEN_REPARSE_POINT_LE cpu_to_le32(0x00200000)
738 #define FILE_OPEN_NO_RECALL_LE cpu_to_le32(0x00400000)
739 #define FILE_OPEN_FOR_FREE_SPACE_QUERY_LE cpu_to_le32(0x00800000)
748 #define IL_ANONYMOUS cpu_to_le32(0x00000000)
749 #define IL_IDENTIFICATION cpu_to_le32(0x00000001)
750 #define IL_IMPERSONATION cpu_to_le32(0x00000002)
751 #define IL_DELEGATE cpu_to_le32(0x00000003)
848 #define SMB2_LEASE_NONE cpu_to_le32(0x00)
849 #define SMB2_LEASE_READ_CACHING cpu_to_le32(0x01)
850 #define SMB2_LEASE_HANDLE_CACHING cpu_to_le32(0x02)
851 #define SMB2_LEASE_WRITE_CACHING cpu_to_le32(0x04)
853 #define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS cpu_to_le32(0x00000002)
854 #define SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET cpu_to_le32(0x00000004)
1138 #define RSS_CAPABLE cpu_to_le32(0x00000001)
1139 #define RDMA_CAPABLE cpu_to_le32(0x00000002)
1272 #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000)
1273 #define SMB2_CHANNEL_RDMA_V1 cpu_to_le32(0x00000001) /* SMB3 or later */
1274 #define SMB2_CHANNEL_RDMA_V1_INVALIDATE cpu_to_le32(0x00000002) /* >= SMB3.02 */
1275 #define SMB2_CHANNEL_RDMA_TRANSFORM cpu_to_le32(0x00000003) /* >= SMB3.02, only used on write */
1535 #define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED cpu_to_le32(0x01)