Home
last modified time | relevance | path

Searched refs:mr_len (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/net/sunrpc/xprtrdma/
Dfrwr_ops.c339 seg->mr_len, in frwr_map()
343 seg->mr_len); in frwr_map()
350 offset_in_page((seg-1)->mr_offset + (seg-1)->mr_len)) in frwr_map()
Drpc_rdma.c206 seg->mr_len = min_t(u32, PAGE_SIZE - page_offset, remaining); in rpcrdma_convert_kvec()
207 remaining -= seg->mr_len; in rpcrdma_convert_kvec()
208 base += seg->mr_len; in rpcrdma_convert_kvec()
251 seg->mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
252 len -= seg->mr_len; in rpcrdma_convert_iovs()
Dxprt_rdma.h293 u32 mr_len; /* length of chunk or segment */ member
/Linux-v5.4/drivers/infiniband/ulp/srp/
Dib_srp.c1772 u64 desc_len = 0, mr_len = 0; in srp_check_mapping() local
1779 mr_len += (*pfr)->mr->length; in srp_check_mapping()
1782 mr_len += be32_to_cpu(req->indirect_desc[i].len); in srp_check_mapping()
1784 mr_len > scsi_bufflen(req->scmnd)) in srp_check_mapping()
1786 scsi_bufflen(req->scmnd), desc_len, mr_len, in srp_check_mapping()