Lines Matching refs:total_len

348 	       unsigned int *total_len)
363 *total_len = parmsize + sizeof(struct smb2_sync_hdr);
373 void **request_buf, unsigned int *total_len)
392 total_len);
405 void **request_buf, unsigned int *total_len)
414 total_len);
419 void **request_buf, unsigned int *total_len)
424 request_buf, total_len);
427 request_buf, total_len);
518 struct TCP_Server_Info *server, unsigned int *total_len)
523 if (*total_len > 200) {
530 * round up total_len of fixed part of SMB3 negotiate request to 8
533 *total_len = roundup(*total_len, 8);
535 pneg_ctxt = (*total_len) + (char *)req;
536 req->NegotiateContextOffset = cpu_to_le32(*total_len);
540 *total_len += ctxt_len;
545 *total_len += ctxt_len;
554 *total_len += ctxt_len;
562 *total_len += ctxt_len;
566 *total_len += sizeof(struct smb2_posix_neg_context);
802 unsigned int total_len;
812 (void **) &req, &total_len);
826 total_len += 4;
834 total_len += 8;
839 total_len += 2;
863 assemble_neg_contexts(req, server, &total_len);
866 iov[0].iov_len = total_len;
1192 unsigned int total_len;
1196 &total_len);
1237 sess_data->iov[0].iov_len = total_len - 1;
1644 unsigned int total_len;
1661 (void **) &req, &total_len);
1676 iov[0].iov_len = total_len;
1723 unsigned int total_len;
1749 (void **) &req, &total_len);
1760 iov[0].iov_len = total_len - 1;
1858 unsigned int total_len;
1875 &total_len);
1885 iov[0].iov_len = total_len;
2510 unsigned int total_len;
2528 (void **) &req, &total_len);
2546 iov[0].iov_len = total_len - 1;
2653 unsigned int total_len;
2659 (void **) &req, &total_len);
2665 iov[0].iov_len = total_len - 1;
2935 unsigned int total_len;
2940 (void **) &req, &total_len);
2975 iov[0].iov_len = total_len - 1;
2980 iov[0].iov_len = total_len;
3176 unsigned int total_len;
3180 (void **) &req, &total_len);
3191 iov[0].iov_len = total_len;
3352 unsigned int total_len;
3361 (void **) &req, &total_len);
3374 /* total_len for smb query request never close to le16 max */
3375 req->InputBufferOffset = cpu_to_le16(total_len - 1);
3540 unsigned int total_len;
3544 (void **) &req, &total_len);
3560 iov[0].iov_len = total_len;
3720 unsigned int total_len;
3731 (void **)&req, &total_len);
3737 iov[0].iov_len = total_len;
3763 unsigned int total_len;
3767 (void **) &req, &total_len);
3775 iov[0].iov_len = total_len;
3833 smb2_new_read_req(void **buf, unsigned int *total_len,
3843 (void **) &req, total_len);
3896 *total_len += sizeof(*v1) - 1;
3902 *total_len = DIV_ROUND_UP(*total_len, 8) * 8;
3903 shdr->NextCommand = cpu_to_le32(*total_len);
4029 unsigned int total_len;
4046 (void **) &buf, &total_len, &io_parms, rdata, 0, 0);
4054 rdata->iov[0].iov_len = total_len;
4099 unsigned int total_len;
4107 rc = smb2_new_read_req((void **)&req, &total_len, io_parms, NULL, 0, 0);
4115 iov[0].iov_len = total_len;
4267 unsigned int total_len;
4273 (void **) &req, &total_len);
4337 iov[0].iov_len = total_len - 1;
4410 unsigned int total_len;
4425 (void **) &req, &total_len);
4451 iov[0].iov_len = total_len - 1;
4505 int total_len = 0;
4525 total_len = sizeof(struct smb2_posix_info);
4528 owner_sid = beg + total_len;
4532 total_len += sid_len;
4535 group_sid = beg + total_len;
4539 total_len += sid_len;
4542 if (beg + total_len + 4 > end)
4544 name_len = le32_to_cpu(*(__le32 *)(beg + total_len));
4547 total_len += 4;
4550 name = beg + total_len;
4553 total_len += name_len;
4557 out->size = total_len;
4565 return total_len;
4644 unsigned int total_len;
4649 (void **) &req, &total_len);
4690 iov[0].iov_len = total_len - 1;
4859 unsigned int i, total_len;
4863 (void **) &req, &total_len);
4879 total_len += *size;
4883 iov[0].iov_len = total_len - 1;
5010 unsigned int total_len;
5017 (void **) &req, &total_len);
5032 iov[0].iov_len = total_len;
5089 unsigned int total_len;
5097 (void **) &req, &total_len);
5112 iov->iov_len = total_len;
5321 unsigned int total_len;
5327 (void **) &req, &total_len);
5343 iov[0].iov_len = total_len - sizeof(struct smb2_lock_element);
5393 unsigned int total_len;
5403 (void **) &req, &total_len);
5412 total_len += 12;
5420 iov[0].iov_len = total_len;