Home
last modified time | relevance | path

Searched refs:rs_length (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c125 u32 rs_length, in rdma_read_chunk_lcl() argument
130 int pages_needed = PAGE_ALIGN(*page_offset + rs_length) >> PAGE_SHIFT; in rdma_read_chunk_lcl()
140 rs_length); in rdma_read_chunk_lcl()
143 int len = min_t(int, rs_length, PAGE_SIZE - pg_off); in rdma_read_chunk_lcl()
174 rs_length -= len; in rdma_read_chunk_lcl()
177 if (last && rs_length == 0) in rdma_read_chunk_lcl()
218 u32 rs_length, in rdma_read_chunk_frmr() argument
226 int nents = PAGE_ALIGN(*page_offset + rs_length) >> PAGE_SHIFT; in rdma_read_chunk_frmr()
239 read = min_t(int, (nents << PAGE_SHIFT) - *page_offset, rs_length); in rdma_read_chunk_frmr()
246 int len = min_t(int, rs_length, PAGE_SIZE - pg_off); in rdma_read_chunk_frmr()
[all …]
Dsvc_rdma_marshal.c115 return &ary->wc_array[nchunks].wc_target.rs_length; in decode_write_list()
239 wc_target.rs_length; in svc_rdma_xdr_get_reply_hdr_len()
272 ary->wc_array[chunks].wc_target.rs_length = xdr_zero; in svc_rdma_xdr_encode_write_list()
291 seg->rs_length = cpu_to_be32(write_len); in svc_rdma_xdr_encode_array_chunk()
Drpc_rdma.c289 cur_rchunk->rc_target.rs_length = in rpcrdma_create_chunks()
303 cur_wchunk->wc_target.rs_length = in rpcrdma_create_chunks()
593 be32_to_cpu(seg->rs_length), in rpcrdma_count_chunks()
597 total_len += be32_to_cpu(seg->rs_length); in rpcrdma_count_chunks()
Dsvc_rdma_sendto.c199 &wr_ary->wc_array[chunk].wc_target.rs_length; in svc_rdma_get_reply_array()
336 write_len = min(xfer_len, be32_to_cpu(arg_ch->rs_length)); in send_write_chunks()
402 write_len = min(xfer_len, be32_to_cpu(ch->rs_length)); in send_reply_chunks()
/linux-4.4.14/include/linux/sunrpc/
Drpc_rdma.h50 __be32 rs_length; /* Length of the chunk in bytes */ member