Home
last modified time | relevance | path

Searched refs:page_len (Results 1 – 17 of 17) sorted by relevance

/net/sunrpc/
Dxdr.c138 if (!buf->page_len) in xdr_buf_pagecount()
140 return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pagecount()
187 if (xdr->page_len) { in xdr_buf_to_bvec()
192 remaining = xdr->page_len; in xdr_buf_to_bvec()
239 xdr->page_len = len; in xdr_inline_pages()
500 if (pgbase >= buf->page_len) { in xdr_buf_pages_zero()
501 xdr_buf_iov_zero(buf->tail, pgbase - buf->page_len, len); in xdr_buf_pages_zero()
504 if (pgbase + len > buf->page_len) { in xdr_buf_pages_zero()
505 xdr_buf_iov_zero(buf->tail, 0, pgbase + len - buf->page_len); in xdr_buf_pages_zero()
506 len = buf->page_len - pgbase; in xdr_buf_pages_zero()
[all …]
Dsocklib.c93 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb()
225 xdr->page_len + xdr->page_base); in xprt_send_pagedata()
299 if (base < xdr->page_len) { in xprt_sock_sendmsg()
300 unsigned int len = xdr->page_len - base; in xprt_sock_sendmsg()
311 base -= xdr->page_len; in xprt_sock_sendmsg()
Dsvc_xprt.c550 rqstp->rq_res.page_len = 0; in svc_xprt_release()
692 arg->page_len = (pages-2)*PAGE_SIZE; in svc_alloc_arg()
914 xb->page_len + in svc_send()
1187 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer()
1237 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
Dsvc.c1528 rqstp->rq_res.page_len = 0; in svc_process()
1585 rqstp->rq_arg.page_len = 0; in bc_svc_process()
1587 rqstp->rq_arg.page_len) in bc_svc_process()
1588 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process()
1592 rqstp->rq_arg.page_len; in bc_svc_process()
Dsvcsock.c641 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom()
644 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom()
646 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom()
1151 rqstp->rq_arg.page_len = 0; in svc_tcp_recvfrom()
1153 rqstp->rq_arg.page_len = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_tcp_recvfrom()
Dbackchannel_rqst.c58 buf->page_len = 0; in xprt_bc_reinit_xdr_buf()
Dxprt.c1997 xbufp->len = xbufp->head[0].iov_len + xbufp->page_len + in xprt_init_bc_request()
Dxprtsock.c484 buf, min_t(size_t, count - offset, buf->page_len), in xs_read_xdr_buf()
/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c589 if (xdr->page_len) { in svc_rdma_xb_write()
591 xdr->page_len); in svc_rdma_xb_write()
816 unsigned int page_len; in svc_rdma_copy_inline_range() local
818 page_len = min_t(unsigned int, remaining, in svc_rdma_copy_inline_range()
825 memcpy(dst + info->ri_pageno, src + offset, page_len); in svc_rdma_copy_inline_range()
827 info->ri_totalbytes += page_len; in svc_rdma_copy_inline_range()
828 info->ri_pageoff += page_len; in svc_rdma_copy_inline_range()
833 remaining -= page_len; in svc_rdma_copy_inline_range()
834 offset += page_len; in svc_rdma_copy_inline_range()
898 buf->page_len = info->ri_totalbytes - buf->head[0].iov_len; in svc_rdma_read_multiple_chunks()
[all …]
Drpc_rdma.c136 if (xdr->page_len) { in rpcrdma_args_inline()
137 remaining = xdr->page_len; in rpcrdma_args_inline()
189 len = buf->page_len; in rpcrdma_alloc_sparse_pages()
240 len = xdrbuf->page_len; in rpcrdma_convert_iovs()
435 if (xdr_pad_size(rqst->rq_rcv_buf.page_len)) { in rpcrdma_encode_write_list()
607 remaining = xdr->page_len; in rpcrdma_prepare_pagelist()
669 dst += xdr->head[0].iov_len + xdr->page_len; in rpcrdma_pullup_tail_iov()
688 remaining = xdr->page_len; in rpcrdma_pullup_pagelist()
719 if (unlikely(xdr->page_len)) in rpcrdma_prepare_noch_pullup()
734 if (xdr->page_len) in rpcrdma_prepare_noch_mapped()
[all …]
Dsvc_rdma_sendto.c594 remaining = xdr->page_len; in svc_rdma_xb_dma_map()
638 remaining = xdr->page_len; in svc_rdma_xb_count_sges()
708 remaining = xdr->page_len; in svc_rdma_xb_linearize()
Dsvc_rdma_recvfrom.c391 arg->page_len = 0; in svc_rdma_build_arg_xdr()
/net/sunrpc/auth_gss/
Dgss_rpc_xdr.h126 unsigned int page_len; /* Length of page data */ member
Dgss_rpc_xdr.c53 *p = cpu_to_be32(in->page_len); in gssx_enc_in_token()
56 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token()
Dauth_gss.c1804 if (snd_buf->page_len == 0) { in alloc_enc_pages()
1810 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; in alloc_enc_pages()
1868 if (snd_buf->page_len || snd_buf->tail[0].iov_len) { in gss_wrap_req_priv()
1891 if (snd_buf->page_len || snd_buf->tail[0].iov_len) in gss_wrap_req_priv()
Dgss_krb5_crypto.c397 if (page_pos >= 0 && page_pos < outbuf->page_len) { in encryptor()
Dsvcauth_gss.c1086 in_token->page_len = inlen; in gss_read_proxy_verf()