Lines Matching refs:resid
410 u32 resid; in check_rkey() local
421 qp->resp.resid = reth_len(pkt); in check_rkey()
430 qp->resp.resid = sizeof(u64); in check_rkey()
445 resid = qp->resp.resid; in check_rkey()
477 if (mr_check_range(mr, va + qp->resp.offset, resid)) { in check_rkey()
483 if (resid > mtu) { in check_rkey()
489 if (pktlen != resid) { in check_rkey()
493 if ((bth_pad(pkt) != (0x3 & (-resid)))) { in check_rkey()
546 qp->resp.resid -= data_len; in write_data_in()
687 res->read.resid = qp->resp.resid; in read_reply()
688 res->read.length = qp->resp.resid; in read_reply()
700 if (res->read.resid <= mtu) in read_reply()
705 if (res->read.resid > mtu) in read_reply()
713 payload = min_t(int, res->read.resid, mtu); in read_reply()
738 res->read.resid -= payload; in read_reply()
741 if (res->read.resid > 0) { in read_reply()
865 qp->resp.length : wqe->dma.length - wqe->dma.resid; in do_complete()
1077 u32 resid = reth_len(pkt); in duplicate_request() local
1080 resid > res->read.length || in duplicate_request()
1081 (iova + resid) > (res->read.va_org + in duplicate_request()
1101 res->read.resid = resid; in duplicate_request()
1162 qp->resp.wqe->dma.resid = qp->resp.wqe->dma.length; in do_class_d1e_error()