Home
last modified time | relevance | path

Searched refs:page_base (Results 1 – 16 of 16) sorted by relevance

/net/sunrpc/xprtrdma/
Drpc_rdma.c142 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline()
194 ppages = buf->pages + (buf->page_base >> PAGE_SHIFT); in rpcrdma_alloc_sparse_pages()
236 unsigned long page_base; in rpcrdma_convert_iovs() local
245 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
246 page_base = offset_in_page(xdrbuf->page_base); in rpcrdma_convert_iovs()
249 seg->mr_offset = page_base; in rpcrdma_convert_iovs()
250 seg->mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
255 page_base = 0; in rpcrdma_convert_iovs()
600 unsigned int page_base, len, remaining; in rpcrdma_prepare_pagelist() local
604 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in rpcrdma_prepare_pagelist()
[all …]
Dsvc_rdma_sendto.c579 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_dma_map()
580 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_dma_map()
624 offset = offset_in_page(xdr->page_base); in svc_rdma_xb_count_sges()
693 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_linearize()
694 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_linearize()
Dsvc_rdma_recvfrom.c391 arg->page_base = 0; in svc_rdma_build_arg_xdr()
Dsvc_rdma_rw.c417 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
/net/sunrpc/
Dxdr.c131 kaddr[buf->page_base + len] = '\0'; in xdr_terminate_string()
140 return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pagecount()
189 xdr->page_base = base; in xdr_inline_pages()
460 pgbase += buf->page_base; in xdr_buf_pages_zero()
493 npages = (pagelen + buf->page_base + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pages_fill_sparse()
502 if (pagelen > buf->page_base) in xdr_buf_pages_fill_sparse()
503 buflen += pagelen - buf->page_base; in xdr_buf_pages_fill_sparse()
577 buf->page_base + base + pglen, talen); in xdr_buf_pages_copy_right()
578 _shift_data_right_pages(buf->pages, buf->page_base + to, in xdr_buf_pages_copy_right()
579 buf->page_base + base, pglen); in xdr_buf_pages_copy_right()
[all …]
Dsocklib.c113 if (base || xdr->page_base) { in xdr_partial_copy_from_skb()
115 base += xdr->page_base; in xdr_partial_copy_from_skb()
230 xdr->page_len + xdr->page_base); in xprt_send_pagedata()
231 return xprt_sendmsg(sock, msg, base + xdr->page_base); in xprt_send_pagedata()
Dsvcsock.c496 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
998 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
1110 bvec = xdr->bvec + (xdr->page_base >> PAGE_SHIFT); in svc_tcp_sendmsg()
1111 offset = offset_in_page(xdr->page_base); in svc_tcp_sendmsg()
Dxprtsock.c339 n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT; in xs_alloc_sparse_pages()
346 return i > buf->page_base ? i - buf->page_base : 0; in xs_alloc_sparse_pages()
436 want + buf->page_base, in xs_read_xdr_buf()
437 seek + buf->page_base); in xs_read_xdr_buf()
440 xs_flush_bvec(buf->bvec, ret, seek + buf->page_base); in xs_read_xdr_buf()
441 ret -= buf->page_base; in xs_read_xdr_buf()
Dsvc_xprt.c555 rqstp->rq_res.page_base = 0; in svc_xprt_release()
709 arg->page_base = 0; in svc_alloc_arg()
Dsvc.c1531 rqstp->rq_res.page_base = 0; in svc_process()
/net/sunrpc/auth_gss/
Dgss_rpc_xdr.h125 unsigned int page_base; /* Start of page data */ member
Dgss_krb5_wrap.c81 unsigned int last = (buf->page_base + len - 1) in gss_krb5_remove_padding()
83 unsigned int offset = (buf->page_base + len - 1) in gss_krb5_remove_padding()
Dauth_gss.c1789 first = snd_buf->page_base >> PAGE_SHIFT; in alloc_enc_pages()
1790 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; in alloc_enc_pages()
1838 first = snd_buf->page_base >> PAGE_SHIFT; in gss_wrap_req_priv()
1841 snd_buf->page_base -= first << PAGE_SHIFT; in gss_wrap_req_priv()
Dgss_rpc_xdr.c56 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token()
Dgss_krb5_crypto.c349 int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; in encryptor()
Dsvcauth_gss.c1176 in_token->page_base = 0; in gss_read_proxy_verf()
1192 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf()