Lines Matching refs:usr_len

952 			      const struct kvec *vec, size_t usr_len,  in rtrs_clt_init_req()  argument
961 req->usr_len = usr_len; in rtrs_clt_init_req()
975 iov_iter_kvec(&iter, ITER_SOURCE, vec, 1, usr_len); in rtrs_clt_init_req()
976 len = _copy_from_iter(req->iu->buf, usr_len, &iter); in rtrs_clt_init_req()
977 WARN_ON(len != usr_len); in rtrs_clt_init_req()
986 const struct kvec *vec, size_t usr_len, in rtrs_clt_get_req() argument
993 rtrs_clt_init_req(req, clt_path, conf, permit, priv, vec, usr_len, in rtrs_clt_get_req()
1005 .iov_len = fail_req->usr_len in rtrs_clt_get_copy_req()
1010 fail_req->priv, &vec, fail_req->usr_len, in rtrs_clt_get_copy_req()
1094 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_write_req()
1110 msg = req->iu->buf + req->usr_len; in rtrs_clt_write_req()
1112 msg->usr_len = cpu_to_le16(req->usr_len); in rtrs_clt_write_req()
1115 imm = req->permit->mem_off + req->data_len + req->usr_len; in rtrs_clt_write_req()
1149 req->usr_len + sizeof(*msg), in rtrs_clt_write_req()
1184 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_read_req()
1203 msg = req->iu->buf + req->usr_len; in rtrs_clt_read_req()
1205 msg->usr_len = cpu_to_le16(req->usr_len); in rtrs_clt_read_req()
1245 imm = req->permit->mem_off + req->data_len + req->usr_len; in rtrs_clt_read_req()
1251 req->sg_size += req->usr_len; in rtrs_clt_read_req()
2997 size_t usr_len, hdr_len; in rtrs_clt_request() local
3001 for (i = 0, usr_len = 0; i < nr; i++) in rtrs_clt_request()
3002 usr_len += vec[i].iov_len; in rtrs_clt_request()
3019 if (usr_len + hdr_len > clt_path->max_hdr_size) { in rtrs_clt_request()
3023 usr_len, hdr_len, clt_path->max_hdr_size); in rtrs_clt_request()
3028 vec, usr_len, sg, sg_cnt, data_len, in rtrs_clt_request()