Home
last modified time | relevance | path

Searched refs:sge_no (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c76 int sge_no; in fast_reg_xdr() local
90 sge_no = 1; in fast_reg_xdr()
94 vec->sge[sge_no].iov_base = xdr->head[0].iov_base; in fast_reg_xdr()
95 vec->sge[sge_no].iov_len = xdr->head[0].iov_len; in fast_reg_xdr()
97 sge_no++; in fast_reg_xdr()
124 vec->sge[sge_no].iov_base = frva + frmr->map_len + page_off; in fast_reg_xdr()
125 vec->sge[sge_no].iov_len = page_bytes; in fast_reg_xdr()
126 sge_no++; in fast_reg_xdr()
155 vec->sge[sge_no].iov_len = xdr->tail[0].iov_len; in fast_reg_xdr()
163 vec->sge[sge_no].iov_base = xdr->tail[0].iov_base; in fast_reg_xdr()
[all …]
Dsvc_rdma_recvfrom.c63 int sge_no; in rdma_build_arg_xdr() local
83 sge_no = 1; in rdma_build_arg_xdr()
84 while (bc && sge_no < ctxt->count) { in rdma_build_arg_xdr()
85 page = ctxt->pages[sge_no]; in rdma_build_arg_xdr()
86 put_page(rqstp->rq_pages[sge_no]); in rdma_build_arg_xdr()
87 rqstp->rq_pages[sge_no] = page; in rdma_build_arg_xdr()
88 bc -= min(bc, ctxt->sge[sge_no].length); in rdma_build_arg_xdr()
89 rqstp->rq_arg.buflen += ctxt->sge[sge_no].length; in rdma_build_arg_xdr()
90 sge_no++; in rdma_build_arg_xdr()
92 rqstp->rq_respages = &rqstp->rq_pages[sge_no]; in rdma_build_arg_xdr()
[all …]
Dsvc_rdma_transport.c493 int sge_no; in svc_rdma_post_recv() local
500 for (sge_no = 0; buflen < xprt->sc_max_req_size; sge_no++) { in svc_rdma_post_recv()
501 BUG_ON(sge_no >= xprt->sc_max_sge); in svc_rdma_post_recv()
503 ctxt->pages[sge_no] = page; in svc_rdma_post_recv()
510 ctxt->sge[sge_no].addr = pa; in svc_rdma_post_recv()
511 ctxt->sge[sge_no].length = PAGE_SIZE; in svc_rdma_post_recv()
512 ctxt->sge[sge_no].lkey = xprt->sc_dma_lkey; in svc_rdma_post_recv()
513 ctxt->count = sge_no + 1; in svc_rdma_post_recv()