Lines Matching refs:DataLength
427 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()
438 pneg_ctxt->DataLength = in build_compression_ctxt()
457 pneg_ctxt->DataLength = cpu_to_le16(DIV_ROUND_UP( in build_signing_ctxt()
475 pneg_ctxt->DataLength = cpu_to_le16(4); /* Cipher Count + 1 cipher */ in build_encrypt_ctxt()
479 pneg_ctxt->DataLength = cpu_to_le16(8); /* Cipher Count + 3 ciphers */ in build_encrypt_ctxt()
485 pneg_ctxt->DataLength = cpu_to_le16(6); /* Cipher Count + 2 ciphers */ in build_encrypt_ctxt()
500 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp)); in build_netname_ctxt()
502 return DIV_ROUND_UP(le16_to_cpu(pneg_ctxt->DataLength) + in build_netname_ctxt()
510 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN); in build_posix_ctxt()
599 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_preauth_context()
618 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_compress_ctx()
639 unsigned int len = le16_to_cpu(ctxt->DataLength); in decode_encrypt_ctx()
686 unsigned int len = le16_to_cpu(pctxt->DataLength); in decode_signing_ctx()
736 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
780 buf->ccontext.DataLength = cpu_to_le32(4); in create_posix_buf()
1976 buf->ccontext.DataLength = cpu_to_le32(16); in create_durable_buf()
1999 buf->ccontext.DataLength = cpu_to_le32(16); in create_reconnect_durable_buf()
2029 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2091 dlen = le32_to_cpu(cc->DataLength); in smb2_parse_contexts()
2171 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct durable_context_v2)); in create_durable_v2_buf()
2209 buf->ccontext.DataLength = in create_reconnect_durable_v2_buf()
2318 buf->ccontext.DataLength = cpu_to_le32(8); in create_twarp_buf()
2460 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd); in create_sd_buf()
2496 buf->ccontext.DataLength = cpu_to_le32(0); in create_query_id_buf()
4238 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_read()
4286 written = le32_to_cpu(rsp->DataLength); in smb2_writev_callback()
4561 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_write()