Lines Matching refs:usr_len
948 const struct kvec *vec, size_t usr_len, in rtrs_clt_init_req() argument
957 req->usr_len = usr_len; in rtrs_clt_init_req()
971 iov_iter_kvec(&iter, ITER_SOURCE, vec, 1, usr_len); in rtrs_clt_init_req()
972 len = _copy_from_iter(req->iu->buf, usr_len, &iter); in rtrs_clt_init_req()
973 WARN_ON(len != usr_len); in rtrs_clt_init_req()
982 const struct kvec *vec, size_t usr_len, in rtrs_clt_get_req() argument
989 rtrs_clt_init_req(req, clt_path, conf, permit, priv, vec, usr_len, in rtrs_clt_get_req()
1001 .iov_len = fail_req->usr_len in rtrs_clt_get_copy_req()
1006 fail_req->priv, &vec, fail_req->usr_len, in rtrs_clt_get_copy_req()
1091 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_write_req()
1107 msg = req->iu->buf + req->usr_len; in rtrs_clt_write_req()
1109 msg->usr_len = cpu_to_le16(req->usr_len); in rtrs_clt_write_req()
1112 imm = req->permit->mem_off + req->data_len + req->usr_len; in rtrs_clt_write_req()
1153 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()
2989 size_t usr_len, hdr_len; in rtrs_clt_request() local
2993 for (i = 0, usr_len = 0; i < nr; i++) in rtrs_clt_request()
2994 usr_len += vec[i].iov_len; in rtrs_clt_request()
3011 if (usr_len + hdr_len > clt_path->max_hdr_size) { in rtrs_clt_request()
3015 usr_len, hdr_len, clt_path->max_hdr_size); in rtrs_clt_request()
3020 vec, usr_len, sg, sg_cnt, data_len, in rtrs_clt_request()