Lines Matching refs:total_len
489 unsigned int *total_len)
504 *total_len = parmsize + sizeof(struct smb2_hdr);
514 void **request_buf, unsigned int *total_len)
533 total_len);
546 void **request_buf, unsigned int *total_len)
555 total_len);
560 void **request_buf, unsigned int *total_len)
565 request_buf, total_len);
568 request_buf, total_len);
680 struct TCP_Server_Info *server, unsigned int *total_len)
687 if (*total_len > 200) {
694 * round up total_len of fixed part of SMB3 negotiate request to 8
697 *total_len = ALIGN(*total_len, 8);
699 pneg_ctxt = (*total_len) + (char *)req;
700 req->NegotiateContextOffset = cpu_to_le32(*total_len);
704 *total_len += ctxt_len;
709 *total_len += ctxt_len;
722 *total_len += ctxt_len;
730 *total_len += sizeof(struct smb2_posix_neg_context);
738 *total_len += ctxt_len;
746 *total_len += ctxt_len;
1033 unsigned int total_len;
1043 (void **) &req, &total_len);
1058 total_len += 6;
1066 total_len += 8;
1071 total_len += 2;
1097 assemble_neg_contexts(req, server, &total_len);
1100 iov[0].iov_len = total_len;
1434 unsigned int total_len;
1439 &total_len);
1492 sess_data->iov[0].iov_len = total_len - 1;
1926 unsigned int total_len;
1947 (void **) &req, &total_len);
1962 iov[0].iov_len = total_len;
2009 unsigned int total_len;
2035 (void **) &req, &total_len);
2046 iov[0].iov_len = total_len - 1;
2147 unsigned int total_len;
2170 &total_len);
2180 iov[0].iov_len = total_len;
2786 unsigned int total_len;
2804 (void **) &req, &total_len);
2822 iov[0].iov_len = total_len - 1;
2942 unsigned int total_len;
2948 (void **) &req, &total_len);
2954 iov[0].iov_len = total_len - 1;
3216 unsigned int total_len;
3221 (void **) &req, &total_len);
3256 iov[0].iov_len = total_len - 1;
3261 iov[0].iov_len = total_len;
3468 unsigned int total_len;
3472 (void **) &req, &total_len);
3483 iov[0].iov_len = total_len;
3642 unsigned int total_len;
3651 (void **) &req, &total_len);
3664 /* total_len for smb query request never close to le16 max */
3665 req->InputBufferOffset = cpu_to_le16(total_len - 1);
3835 unsigned int total_len;
3839 (void **) &req, &total_len);
3855 iov[0].iov_len = total_len;
4103 unsigned int total_len;
4118 (void **)&req, &total_len);
4124 iov[0].iov_len = total_len;
4150 unsigned int total_len;
4154 (void **) &req, &total_len);
4162 iov[0].iov_len = total_len;
4250 smb2_new_read_req(void **buf, unsigned int *total_len,
4260 (void **) &req, total_len);
4309 *total_len += sizeof(*v1) - 1;
4315 *total_len = ALIGN(*total_len, 8);
4316 shdr->NextCommand = cpu_to_le32(*total_len);
4440 unsigned int total_len;
4458 (void **) &buf, &total_len, &io_parms, rdata, 0, 0);
4466 rdata->iov[0].iov_len = total_len;
4517 unsigned int total_len;
4525 rc = smb2_new_read_req((void **)&req, &total_len, io_parms, NULL, 0, 0);
4533 iov[0].iov_len = total_len;
4686 unsigned int total_len;
4710 (void **) &req, &total_len);
4769 iov[0].iov_len = total_len - 1;
4847 unsigned int total_len;
4862 (void **) &req, &total_len);
4888 iov[0].iov_len = total_len - 1;
4944 int total_len = 0;
4964 total_len = sizeof(struct smb2_posix_info);
4967 owner_sid = beg + total_len;
4971 total_len += owner_len;
4974 group_sid = beg + total_len;
4978 total_len += group_len;
4981 if (beg + total_len + 4 > end)
4983 name_len = le32_to_cpu(*(__le32 *)(beg + total_len));
4986 total_len += 4;
4989 name = beg + total_len;
4992 total_len += name_len;
4996 out->size = total_len;
5002 return total_len;
5081 unsigned int total_len;
5086 (void **) &req, &total_len);
5130 iov[0].iov_len = total_len - 1;
5302 unsigned int i, total_len;
5306 (void **) &req, &total_len);
5321 total_len += *size;
5325 iov[0].iov_len = total_len - 1;
5454 unsigned int total_len;
5461 (void **) &req, &total_len);
5476 iov[0].iov_len = total_len;
5533 unsigned int total_len;
5541 (void **) &req, &total_len);
5556 iov->iov_len = total_len;
5765 unsigned int total_len;
5771 (void **) &req, &total_len);
5787 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element);
5837 unsigned int total_len;
5847 (void **) &req, &total_len);
5856 total_len += 12;
5864 iov[0].iov_len = total_len;