Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c140 if (!buf->page_len) in xdr_buf_pagecount()
142 return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pagecount()
192 xdr->page_len = len; in xdr_inline_pages()
196 if ((xdr->page_len & 3) == 0) in xdr_inline_pages()
362 tailbuf_len = buf->buflen - buf->head->iov_len - buf->page_len; in _shift_data_right_tail()
524 unsigned int pglen = buf->page_len; in xdr_shrink_bufhead()
606 unsigned int pglen = buf->page_len; in xdr_shrink_pagelen()
609 if (len > buf->page_len) in xdr_shrink_pagelen()
610 len = buf-> page_len; in xdr_shrink_pagelen()
613 buf->page_len -= len; in xdr_shrink_pagelen()
[all …]
Dsocklib.c92 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()
Dsvcsock.c510 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom()
513 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom()
515 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom()
1011 rqstp->rq_arg.page_len = 0; in svc_tcp_recvfrom()
1013 rqstp->rq_arg.page_len = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_tcp_recvfrom()
1114 if (xdr->page_len) { in svc_tcp_sendmsg()
1120 remaining = xdr->page_len; in svc_tcp_sendmsg()
Dsvc_xprt.c524 rqstp->rq_res.page_len = 0; in svc_xprt_release()
680 arg->page_len = (pages-2)*PAGE_SIZE; in svc_alloc_arg()
907 xb->page_len + in svc_send()
1175 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer()
1224 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
Dsvc.c1514 rqstp->rq_res.page_len = 0; in svc_process()
1569 rqstp->rq_arg.page_len = 0; in bc_svc_process()
1571 rqstp->rq_arg.page_len) in bc_svc_process()
1572 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process()
1576 rqstp->rq_arg.page_len; in bc_svc_process()
Dbackchannel_rqst.c72 buf->page_len = 0; in xprt_bc_reinit_xdr_buf()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mt7621.c131 static int mtk_i2c_master_cmd(struct mtk_i2c *i2c, u32 cmd, int page_len) in mtk_i2c_master_cmd() argument
133 iowrite32(cmd | SM0CTL1_TRI | SM0CTL1_PGLEN(page_len), in mtk_i2c_master_cmd()
144 int i, j, ret, len, page_len; in mtk_i2c_master_xfer() local
192 page_len = (len >= 8) ? 8 : len; in mtk_i2c_master_xfer()
198 memcpy(data, &pmsg->buf[j], page_len); in mtk_i2c_master_xfer()
204 ret = mtk_i2c_master_cmd(i2c, cmd, page_len); in mtk_i2c_master_xfer()
211 memcpy(&pmsg->buf[j], data, page_len); in mtk_i2c_master_xfer()
215 (1 << page_len) in mtk_i2c_master_xfer()
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
Dscsi_dh_rdac.c85 u8 page_len; member
98 u8 page_len[2]; member
109 u8 page_len; member
124 u8 page_len; member
137 u8 page_len; member
175 u8 page_len; member
282 rdac_pg->page_len[0] = 0x01; in rdac_failover_get()
283 rdac_pg->page_len[1] = 0x28; in rdac_failover_get()
293 rdac_pg->page_len = 0x68; in rdac_failover_get()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Drpc_rdma.c140 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()
257 len = xdrbuf->page_len; in rpcrdma_convert_iovs()
623 remaining = xdr->page_len; in rpcrdma_prepare_pagelist()
685 dst += xdr->head[0].iov_len + xdr->page_len; in rpcrdma_pullup_tail_iov()
704 remaining = xdr->page_len; in rpcrdma_pullup_pagelist()
735 if (unlikely(xdr->page_len)) in rpcrdma_prepare_noch_pullup()
750 if (xdr->page_len) in rpcrdma_prepare_noch_mapped()
1083 if (copy_len && rqst->rq_rcv_buf.page_len) { in rpcrdma_inline_fixup()
[all …]
Dsvc_rdma_rw.c561 trace_svcrdma_send_write_chunk(xdr->page_len); in svc_rdma_send_write_chunk()
601 if (!rctxt->rc_write_list && xdr->page_len) { in svc_rdma_send_reply_chunk()
604 xdr->page_len); in svc_rdma_send_reply_chunk()
607 consumed += xdr->page_len; in svc_rdma_send_reply_chunk()
759 head->rc_arg.page_len = info->ri_chunklen; in svc_rdma_build_normal_read_chunk()
799 head->rc_arg.page_len = info->ri_chunklen - in svc_rdma_build_pz_read_chunk()
857 head->rc_arg.page_len = 0; in svc_rdma_recv_read_chunk()
Dsvc_rdma_sendto.c579 remaining = xdr->page_len; in svc_rdma_pull_up_needed()
625 xdrpad = xdr_pad_size(xdr->page_len); in svc_rdma_pull_up_reply_msg()
637 remaining = xdr->page_len; in svc_rdma_pull_up_reply_msg()
711 xdr_pad = xdr_pad_size(xdr->page_len); in svc_rdma_map_reply_msg()
723 remaining = xdr->page_len; in svc_rdma_map_reply_msg()
934 length = xdr->page_len; in svc_rdma_sendto()
Dsvc_rdma_recvfrom.c382 arg->page_len = 0; in svc_rdma_build_arg_xdr()
708 rqstp->rq_arg.page_len = head->rc_arg.page_len; in rdma_read_complete()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsxdr.c297 dlen = head->iov_len + rqstp->rq_arg.page_len - hdr; in nfssvc_decode_writeargs()
392 if (rqstp->rq_arg.page_len) { in nfssvc_decode_symlinkargs()
393 if (args->tlen != rqstp->rq_arg.page_len) in nfssvc_decode_symlinkargs()
479 rqstp->rq_res.page_len = resp->len; in nfssvc_encode_readlinkres()
503 rqstp->rq_res.page_len = resp->count; in nfssvc_encode_readres()
526 rqstp->rq_res.page_len = (((unsigned long)p-1) & ~PAGE_MASK)+1; in nfssvc_encode_readdirres()
Dnfs3xdr.c428 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs()
506 dlen = args->first.iov_len + rqstp->rq_arg.page_len + in nfs3svc_decode_symlinkargs()
716 rqstp->rq_res.page_len = resp->len; in nfs3svc_encode_readlinkres()
742 rqstp->rq_res.page_len = resp->count; in nfs3svc_encode_readres()
826 rqstp->rq_res.page_len = (resp->count) << 2; in nfs3svc_encode_readdirres()
Dnfs3acl.c190 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres()
/kernel/linux/linux-5.10/include/trace/events/
Dsunrpc.h65 __field(unsigned int, page_len)
77 __entry->page_len = xdr->page_len;
83 __entry->head_base, __entry->head_len, __entry->page_len,
657 __field(unsigned int, page_len)
687 __entry->page_len = xdr->buf->page_len,
699 __entry->page_len,
724 __field(unsigned int, page_len)
746 __entry->page_len = xdr->buf->page_len,
758 __entry->page_len,
1439 __field(unsigned int, page_len)
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c289 int nxu_touch_pages(void *buf, long buf_len, long page_len, int wr) in nxu_touch_pages() argument
307 begin = begin + page_len; in nxu_touch_pages()
/kernel/linux/linux-5.10/mm/
Dpage_reporting.c115 unsigned int page_len = PAGE_SIZE << order; in page_reporting_cycle() local
171 sg_set_page(&sgl[*offset], page, page_len, 0); in page_reporting_cycle()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_pscsi.c223 int ident_len, page_len, off = 4, ret; in pscsi_get_inquiry_vpd_device_ident() local
242 page_len = get_unaligned_be16(&buf[2]); in pscsi_get_inquiry_vpd_device_ident()
243 while (page_len > 0) { in pscsi_get_inquiry_vpd_device_ident()
267 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident()
273 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident()
280 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c55 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()
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()
Dsvcauth_gss.c952 return buf->head[0].iov_len + buf->page_len + buf->tail[0].iov_len; in total_buf_len()
958 if (buf->page_len == 0) { in fix_priv_head()
1133 inlen = in_token->page_len; in gss_free_in_token_pages()
1159 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) { in gss_read_proxy_verf()
1171 in_token->page_len = inlen; in gss_read_proxy_verf()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fc.h583 u32 page_len:8; member
615 u32 page_len:8; member
774 u32 page_len:8; member
790 u32 page_len:8; member
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxdr.h56 page_len, /* Length of page data */ member
73 buf->page_len = 0; in xdr_buf_init()

12