Lines Matching refs:DataLength
592 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()
603 pneg_ctxt->DataLength = in build_compression_ctxt()
622 pneg_ctxt->DataLength = cpu_to_le16(ALIGN(sizeof(struct smb2_signing_capabilities) - in build_signing_ctxt()
639 pneg_ctxt->DataLength = cpu_to_le16(4); /* Cipher Count + 1 cipher */ in build_encrypt_ctxt()
643 pneg_ctxt->DataLength = cpu_to_le16(8); /* Cipher Count + 3 ciphers */ in build_encrypt_ctxt()
649 pneg_ctxt->DataLength = cpu_to_le16(6); /* Cipher Count + 2 ciphers */ in build_encrypt_ctxt()
664 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt()
666 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8); in build_netname_ctxt()
673 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN); in build_posix_ctxt()
774 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_preauth_context()
796 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_compress_ctx()
831 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_encrypt_ctx()
883 unsigned int len = le16_to_cpu(pctxt->DataLength); in decode_signing_ctx()
936 + le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
985 buf->ccontext.DataLength = cpu_to_le32(4); in create_posix_buf()
2244 buf->ccontext.DataLength = cpu_to_le32(16); in create_durable_buf()
2267 buf->ccontext.DataLength = cpu_to_le32(16); in create_reconnect_durable_buf()
2297 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2359 dlen = le32_to_cpu(cc->DataLength); in smb2_parse_contexts()
2439 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct durable_context_v2)); in create_durable_v2_buf()
2482 buf->ccontext.DataLength = in create_reconnect_durable_v2_buf()
2572 buf->ccontext.DataLength = cpu_to_le32(8); in create_twarp_buf()
2708 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd); in create_sd_buf()
2738 buf->ccontext.DataLength = cpu_to_le32(0); in create_query_id_buf()
4794 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_read()
4853 written = le32_to_cpu(rsp->DataLength); in smb2_writev_callback()
5190 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_write()