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

/net/sunrpc/
H A Dxdr.c144 xdr->page_len = len;
320 unsigned int pglen = buf->page_len;
396 unsigned int pglen = buf->page_len;
402 tailbuf_len = buf->buflen - buf->head->iov_len - buf->page_len;
423 buf->page_len -= len;
463 int scratch_len = buf->buflen - buf->page_len - buf->tail[0].iov_len;
528 xdr->buf->page_len += frag1bytes;
548 xdr->buf->page_len += frag2bytes;
578 xdr->buf->page_len += nbytes;
626 fraglen = min_t(int, buf->len - len, buf->page_len);
1453 unsigned int page_len, thislen, page_offset; local
[all...]
H A Dbackchannel_rqst.c134 xbufp->page_len = 0;
150 xbufp->page_len = 0;
H A Dsocklib.c75 unsigned int len, pglen = xdr->page_len;
H A Dsvc_xprt.c465 rqstp->rq_res.page_len = 0;
618 arg->page_len = (pages-2)*PAGE_SIZE;
837 xb->page_len +
1072 if (rqstp->rq_arg.page_len || !rqstp->rq_usedeferral)
1118 rqstp->rq_arg.page_len = 0;
H A Dsvcsock.c183 unsigned int pglen = xdr->page_len;
630 rqstp->rq_arg.page_len = 0;
633 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len;
635 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE);
1142 rqstp->rq_arg.page_len = 0;
1144 rqstp->rq_arg.page_len = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len;
H A Dxprtsock.c410 remainder = xdr->page_len - base;
475 if (base < xdr->page_len) {
476 unsigned int len = xdr->page_len - base;
484 base -= xdr->page_len;
H A Dclnt.c1053 xbufp->len = xbufp->head[0].iov_len + xbufp->page_len +
1640 buf->page_len = 0;
H A Dsvc.c1312 rqstp->rq_res.page_len = 0;
/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c83 rqstp->rq_arg.page_len = bc;
102 BUG_ON((rqstp->rq_arg.head[0].iov_len + rqstp->rq_arg.page_len)
166 head->arg.page_len += len;
271 head->arg.page_len += len;
397 head->arg.page_len = 0;
447 unsigned int page_len = buf->page_len; local
448 unsigned int size = (XDR_QUADLEN(page_len) << 2) - page_len;
455 pg_no = page_len >> PAGE_SHIF
[all...]
H A Dsvc_rdma_sendto.c64 (xdr->head[0].iov_len + xdr->page_len + xdr->tail[0].iov_len));
76 page_bytes = xdr->page_len;
98 "page_base %u page_len %u head_len %zu tail_len %zu\n",
99 sge_no, page_no, xdr->page_base, xdr->page_len,
118 if (xdr_off < xdr->page_len) {
125 xdr_off -= xdr->page_len;
228 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len;
282 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len;
477 xdr->page_len -
H A Drpc_rdma.c91 len = xdrbuf->page_len;
335 copy_len = rqst->rq_snd_buf.page_len;
434 else if (rqst->rq_rcv_buf.page_len == 0)
457 else if (rqst->rq_snd_buf.page_len == 0)
638 if (copy_len && rqst->rq_rcv_buf.page_len) {
640 rqst->rq_rcv_buf.page_len) >> PAGE_SHIFT;
/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h139 unsigned int page_len; /* Length of page data */ member in struct:gssp_in_token
H A Dgss_krb5_wrap.c55 if (buf->page_len || buf->tail[0].iov_len)
80 if (len <= buf->page_len) {
90 len -= buf->page_len;
H A Dgss_rpc_xdr.c66 *p = cpu_to_be32(in->page_len);
69 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len);
H A Dsvcauth_gss.c869 return buf->head[0].iov_len + buf->page_len + buf->tail[0].iov_len;
875 if (buf->page_len == 0) {
1061 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len))
1066 in_token->page_len = inlen;
H A Dauth_gss.c1690 if (snd_buf->page_len || snd_buf->tail[0].iov_len)
1727 if (snd_buf->page_len == 0) {
1733 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_CACHE_SHIFT;
1791 if (snd_buf->page_len || snd_buf->tail[0].iov_len) {
1809 if (snd_buf->page_len || snd_buf->tail[0].iov_len)
H A Dgss_krb5_crypto.c415 if (page_pos >= 0 && page_pos < outbuf->page_len) {

Completed in 447 milliseconds