Searched refs:page_len (Results 1 – 17 of 17) 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() 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 …]
|
D | socklib.c | 93 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()
|
D | svc_xprt.c | 550 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()
|
D | svc.c | 1528 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()
|
D | svcsock.c | 641 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()
|
D | backchannel_rqst.c | 58 buf->page_len = 0; in xprt_bc_reinit_xdr_buf()
|
D | xprt.c | 1997 xbufp->len = xbufp->head[0].iov_len + xbufp->page_len + in xprt_init_bc_request()
|
D | xprtsock.c | 484 buf, min_t(size_t, count - offset, buf->page_len), in xs_read_xdr_buf()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 589 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 …]
|
D | rpc_rdma.c | 136 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 …]
|
D | svc_rdma_sendto.c | 594 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()
|
D | svc_rdma_recvfrom.c | 391 arg->page_len = 0; in svc_rdma_build_arg_xdr()
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.h | 126 unsigned int page_len; /* Length of page data */ member
|
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 | 1804 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()
|
D | gss_krb5_crypto.c | 397 if (page_pos >= 0 && page_pos < outbuf->page_len) { in encryptor()
|
D | svcauth_gss.c | 1086 in_token->page_len = inlen; in gss_read_proxy_verf()
|