Searched refs:page_len (Results 1 – 18 of 18) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 138 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() 190 xdr->page_len = len; in xdr_inline_pages() 451 if (pgbase >= buf->page_len) { in xdr_buf_pages_zero() 452 xdr_buf_iov_zero(buf->tail, pgbase - buf->page_len, len); in xdr_buf_pages_zero() 455 if (pgbase + len > buf->page_len) { in xdr_buf_pages_zero() 456 xdr_buf_iov_zero(buf->tail, 0, pgbase + len - buf->page_len); in xdr_buf_pages_zero() 457 len = buf->page_len - pgbase; in xdr_buf_pages_zero() 491 if (pagelen > buf->page_len) in xdr_buf_pages_fill_sparse() 492 pagelen = buf->page_len; in xdr_buf_pages_fill_sparse() [all …]
|
D | socklib.c | 92 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() 230 xdr->page_len + xdr->page_base); in xprt_send_pagedata() 304 if (base < xdr->page_len) { in xprt_sock_sendmsg() 305 unsigned int len = xdr->page_len - base; in xprt_sock_sendmsg() 316 base -= xdr->page_len; in xprt_sock_sendmsg()
|
D | svcsock.c | 499 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom() 502 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom() 504 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom() 1001 rqstp->rq_arg.page_len = 0; in svc_tcp_recvfrom() 1003 rqstp->rq_arg.page_len = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_tcp_recvfrom() 1106 if (xdr->page_len) { in svc_tcp_sendmsg() 1112 remaining = xdr->page_len; in svc_tcp_sendmsg()
|
D | svc_xprt.c | 554 rqstp->rq_res.page_len = 0; in svc_xprt_release() 711 arg->page_len = (pages-2)*PAGE_SIZE; in svc_alloc_arg() 937 xb->page_len + in svc_send() 1205 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer() 1255 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
|
D | svc.c | 1532 rqstp->rq_res.page_len = 0; in svc_process() 1587 rqstp->rq_arg.page_len = 0; in bc_svc_process() 1589 rqstp->rq_arg.page_len) in bc_svc_process() 1590 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process() 1594 rqstp->rq_arg.page_len; in bc_svc_process()
|
D | backchannel_rqst.c | 72 buf->page_len = 0; in xprt_bc_reinit_xdr_buf()
|
D | xprt.c | 1984 xbufp->len = xbufp->head[0].iov_len + xbufp->page_len + in xprt_init_bc_request()
|
D | xprtsock.c | 431 min_t(size_t, count - offset, buf->page_len), in xs_read_xdr_buf()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 563 if (xdr->page_len) { in svc_rdma_xb_write() 565 xdr->page_len); in svc_rdma_xb_write() 790 unsigned int page_len; in svc_rdma_copy_inline_range() local 792 page_len = min_t(unsigned int, remaining, in svc_rdma_copy_inline_range() 799 memcpy(dst + info->ri_pageno, src + offset, page_len); in svc_rdma_copy_inline_range() 801 info->ri_totalbytes += page_len; in svc_rdma_copy_inline_range() 802 info->ri_pageoff += page_len; in svc_rdma_copy_inline_range() 807 remaining -= page_len; in svc_rdma_copy_inline_range() 808 offset += page_len; in svc_rdma_copy_inline_range() 872 buf->page_len = info->ri_totalbytes - buf->head[0].iov_len; in svc_rdma_read_multiple_chunks() [all …]
|
D | rpc_rdma.c | 140 if (xdr->page_len) { in rpcrdma_args_inline() 141 remaining = xdr->page_len; in rpcrdma_args_inline() 193 len = buf->page_len; in rpcrdma_alloc_sparse_pages() 244 len = xdrbuf->page_len; in rpcrdma_convert_iovs() 606 remaining = xdr->page_len; in rpcrdma_prepare_pagelist() 668 dst += xdr->head[0].iov_len + xdr->page_len; in rpcrdma_pullup_tail_iov() 687 remaining = xdr->page_len; in rpcrdma_pullup_pagelist() 718 if (unlikely(xdr->page_len)) in rpcrdma_prepare_noch_pullup() 733 if (xdr->page_len) in rpcrdma_prepare_noch_mapped() 1066 if (copy_len && rqst->rq_rcv_buf.page_len) { in rpcrdma_inline_fixup() [all …]
|
D | svc_rdma_sendto.c | 581 remaining = xdr->page_len; in svc_rdma_xb_dma_map() 625 remaining = xdr->page_len; in svc_rdma_xb_count_sges() 695 remaining = xdr->page_len; in svc_rdma_xb_linearize()
|
D | svc_rdma_recvfrom.c | 390 arg->page_len = 0; in svc_rdma_build_arg_xdr()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 55 if (buf->page_len || buf->tail[0].iov_len) in gss_krb5_add_padding() 80 if (len <= buf->page_len) { in gss_krb5_remove_padding() 90 len -= buf->page_len; in gss_krb5_remove_padding()
|
D | gss_rpc_xdr.h | 126 unsigned int page_len; /* Length of page data */ member
|
D | svcauth_gss.c | 954 return buf->head[0].iov_len + buf->page_len + buf->tail[0].iov_len; in total_buf_len() 960 if (buf->page_len == 0) { in fix_priv_head() 1139 inlen = in_token->page_len; in gss_free_in_token_pages() 1165 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) { in gss_read_proxy_verf() 1177 in_token->page_len = inlen; in gss_read_proxy_verf()
|
D | gss_rpc_xdr.c | 53 *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()
|
D | auth_gss.c | 1784 if (snd_buf->page_len == 0) { in alloc_enc_pages() 1790 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; in alloc_enc_pages() 1848 if (snd_buf->page_len || snd_buf->tail[0].iov_len) { in gss_wrap_req_priv() 1869 if (snd_buf->page_len || snd_buf->tail[0].iov_len) in gss_wrap_req_priv()
|
D | gss_krb5_crypto.c | 347 if (page_pos >= 0 && page_pos < outbuf->page_len) { in encryptor()
|