Lines Matching refs:DataLength
434 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()
445 pneg_ctxt->DataLength = in build_compression_ctxt()
464 pneg_ctxt->DataLength = cpu_to_le16(ALIGN(sizeof(struct smb2_signing_capabilities) - in build_signing_ctxt()
481 pneg_ctxt->DataLength = cpu_to_le16(4); /* Cipher Count + 1 cipher */ in build_encrypt_ctxt()
485 pneg_ctxt->DataLength = cpu_to_le16(8); /* Cipher Count + 3 ciphers */ in build_encrypt_ctxt()
491 pneg_ctxt->DataLength = cpu_to_le16(6); /* Cipher Count + 2 ciphers */ in build_encrypt_ctxt()
506 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt()
508 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8); in build_netname_ctxt()
515 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN); in build_posix_ctxt()
616 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_preauth_context()
638 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_compress_ctx()
663 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_encrypt_ctx()
715 unsigned int len = le16_to_cpu(pctxt->DataLength); in decode_signing_ctx()
768 + le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
817 buf->ccontext.DataLength = cpu_to_le32(4); in create_posix_buf()
2062 buf->ccontext.DataLength = cpu_to_le32(16); in create_durable_buf()
2085 buf->ccontext.DataLength = cpu_to_le32(16); in create_reconnect_durable_buf()
2115 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2233 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct durable_context_v2)); in create_durable_v2_buf()
2271 buf->ccontext.DataLength = in create_reconnect_durable_v2_buf()
2361 buf->ccontext.DataLength = cpu_to_le32(8); in create_twarp_buf()
2497 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd); in create_sd_buf()
2527 buf->ccontext.DataLength = cpu_to_le32(0); in create_query_id_buf()
4388 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_read()
4436 written = le32_to_cpu(rsp->DataLength); in smb2_writev_callback()
4730 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_write()