Lines Matching refs:DataLength
577 pneg_ctxt->DataLength = cpu_to_le16(38);
588 pneg_ctxt->DataLength =
607 pneg_ctxt->DataLength = cpu_to_le16(ALIGN(sizeof(struct smb2_signing_capabilities) -
624 pneg_ctxt->DataLength = cpu_to_le16(4); /* Cipher Count + 1 cipher */
628 pneg_ctxt->DataLength = cpu_to_le16(8); /* Cipher Count + 3 ciphers */
634 pneg_ctxt->DataLength = cpu_to_le16(6); /* Cipher Count + 2 ciphers */
649 pneg_ctxt->DataLength = cpu_to_le16(2 * cifs_strtoUTF16(pneg_ctxt->NetName, hostname, 100, cp));
650 /* context size is DataLength + minimal smb2_neg_context */
651 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8);
658 pneg_ctxt->DataLength = cpu_to_le16(POSIX_CTXT_DATA_LEN);
759 unsigned int len = le16_to_cpu(ctxt->DataLength);
762 * Caller checked that DataLength remains within SMB boundary. We still
781 unsigned int len = le16_to_cpu(ctxt->DataLength);
784 * Caller checked that DataLength remains within SMB boundary. We still
806 unsigned int len = le16_to_cpu(ctxt->DataLength);
810 * Caller checked that DataLength remains within SMB boundary. We still
858 unsigned int len = le16_to_cpu(pctxt->DataLength);
861 * Caller checked that DataLength remains within SMB boundary. We still
911 + le16_to_cpu(pctx->DataLength);
960 buf->ccontext.DataLength = cpu_to_le32(4);
2210 buf->ccontext.DataLength = cpu_to_le32(16);
2233 buf->ccontext.DataLength = cpu_to_le32(16);
2263 u8 *end = beg + le32_to_cpu(cc->DataLength);
2325 dlen = le32_to_cpu(cc->DataLength);
2400 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct durable_context_v2));
2438 buf->ccontext.DataLength =
2528 buf->ccontext.DataLength = cpu_to_le32(8);
2664 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd);
2694 buf->ccontext.DataLength = cpu_to_le32(0);
4566 *nbytes = le32_to_cpu(rsp->DataLength);
4614 written = le32_to_cpu(rsp->DataLength);
4908 *nbytes = le32_to_cpu(rsp->DataLength);