Lines Matching refs:cc

724 smb2_decode_create_ctx(smb_request_t *sr, smb2_create_ctx_t *cc)  in smb2_decode_create_ctx()  argument
728 mbuf_chain_t *in_mbc = &cc->cc_in_mbc; in smb2_decode_create_ctx()
784 cc->cc_in_flags |= CCTX_EA_BUFFER; in smb2_decode_create_ctx()
785 cce = &cc->cc_in_ext_attr; in smb2_decode_create_ctx()
788 cc->cc_in_flags |= CCTX_SD_BUFFER; in smb2_decode_create_ctx()
789 cce = &cc->cc_in_sec_desc; in smb2_decode_create_ctx()
792 cc->cc_in_flags |= CCTX_DH_REQUEST; in smb2_decode_create_ctx()
793 cce = &cc->cc_in_dh_request; in smb2_decode_create_ctx()
796 cc->cc_in_flags |= CCTX_DH_RECONNECT; in smb2_decode_create_ctx()
797 cce = &cc->cc_in_dh_reconnect; in smb2_decode_create_ctx()
800 cc->cc_in_flags |= CCTX_ALLOCATION_SIZE; in smb2_decode_create_ctx()
801 cce = &cc->cc_in_alloc_size; in smb2_decode_create_ctx()
804 cc->cc_in_flags |= CCTX_QUERY_MAX_ACCESS; in smb2_decode_create_ctx()
806 cce = &cc->cc_in_max_access; in smb2_decode_create_ctx()
809 cc->cc_in_flags |= CCTX_TIMEWARP_TOKEN; in smb2_decode_create_ctx()
810 cce = &cc->cc_in_time_warp; in smb2_decode_create_ctx()
813 cc->cc_in_flags |= CCTX_QUERY_ON_DISK_ID; in smb2_decode_create_ctx()
817 cc->cc_in_flags |= CCTX_REQUEST_LEASE; in smb2_decode_create_ctx()
818 cce = &cc->cc_in_req_lease; in smb2_decode_create_ctx()
821 cc->cc_in_flags |= CCTX_AAPL_EXT; in smb2_decode_create_ctx()
822 cce = &cc->cc_in_aapl; in smb2_decode_create_ctx()
825 cc->cc_in_flags |= CCTX_DH_REQUEST_V2; in smb2_decode_create_ctx()
826 cce = &cc->cc_in_dh_request_v2; in smb2_decode_create_ctx()
829 cc->cc_in_flags |= CCTX_DH_RECONNECT_V2; in smb2_decode_create_ctx()
830 cce = &cc->cc_in_dh_reconnect_v2; in smb2_decode_create_ctx()
1035 smb2_encode_create_ctx(smb_request_t *sr, smb2_create_ctx_t *cc) in smb2_encode_create_ctx() argument
1043 if (cc->cc_out_flags & CCTX_QUERY_MAX_ACCESS) { in smb2_encode_create_ctx()
1044 cce = &cc->cc_out_max_access; in smb2_encode_create_ctx()
1059 if (cc->cc_out_flags & CCTX_QUERY_ON_DISK_ID) { in smb2_encode_create_ctx()
1060 cce = &cc->cc_out_file_id; in smb2_encode_create_ctx()
1079 if (cc->cc_out_flags & CCTX_AAPL_EXT) { in smb2_encode_create_ctx()
1080 cce = &cc->cc_out_aapl; in smb2_encode_create_ctx()
1092 if (cc->cc_out_flags & CCTX_REQUEST_LEASE) { in smb2_encode_create_ctx()
1093 cce = &cc->cc_out_req_lease; in smb2_encode_create_ctx()
1120 if (cc->cc_out_flags & CCTX_DH_REQUEST) { in smb2_encode_create_ctx()
1121 cce = &cc->cc_out_dh_request; in smb2_encode_create_ctx()
1135 if (cc->cc_out_flags & CCTX_DH_REQUEST_V2) { in smb2_encode_create_ctx()
1136 cce = &cc->cc_out_dh_request_v2; in smb2_encode_create_ctx()
1209 smb2_free_create_ctx(smb2_create_ctx_t *cc) in smb2_free_create_ctx() argument
1213 if (cc->cc_out_flags & CCTX_QUERY_MAX_ACCESS) { in smb2_free_create_ctx()
1214 cce = &cc->cc_out_max_access; in smb2_free_create_ctx()
1217 if (cc->cc_out_flags & CCTX_QUERY_ON_DISK_ID) { in smb2_free_create_ctx()
1218 cce = &cc->cc_out_file_id; in smb2_free_create_ctx()
1221 if (cc->cc_out_flags & CCTX_AAPL_EXT) { in smb2_free_create_ctx()
1222 cce = &cc->cc_out_aapl; in smb2_free_create_ctx()
1225 if (cc->cc_out_flags & CCTX_REQUEST_LEASE) { in smb2_free_create_ctx()
1226 cce = &cc->cc_out_req_lease; in smb2_free_create_ctx()
1229 if (cc->cc_out_flags & CCTX_DH_REQUEST) { in smb2_free_create_ctx()
1230 cce = &cc->cc_out_dh_request; in smb2_free_create_ctx()
1233 if (cc->cc_out_flags & CCTX_DH_REQUEST_V2) { in smb2_free_create_ctx()
1234 cce = &cc->cc_out_dh_request_v2; in smb2_free_create_ctx()