Home
last modified time | relevance | path

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

/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c138 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline()
190 ppages = buf->pages + (buf->page_base >> PAGE_SHIFT); in rpcrdma_alloc_sparse_pages()
232 unsigned long page_base; in rpcrdma_convert_iovs() local
241 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
242 page_base = offset_in_page(xdrbuf->page_base); in rpcrdma_convert_iovs()
245 seg->mr_offset = page_base; in rpcrdma_convert_iovs()
246 seg->mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
251 page_base = 0; in rpcrdma_convert_iovs()
601 unsigned int page_base, len, remaining; in rpcrdma_prepare_pagelist() local
605 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in rpcrdma_prepare_pagelist()
[all …]
H A Dsvc_rdma_sendto.c632 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_dma_map()
633 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_dma_map()
677 offset = offset_in_page(xdr->page_base); in svc_rdma_xb_count_sges()
746 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_linearize()
747 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_linearize()
H A Dsvc_rdma_recvfrom.c407 arg->page_base = 0; in svc_rdma_build_arg_xdr()
H A Dsvc_rdma_rw.c442 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
/linux/net/sunrpc/
H A Dxdr.c131 kaddr[buf->page_base + len] = '\0'; in xdr_terminate_string()
140 return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pagecount()
191 offset = offset_in_page(xdr->page_base); in xdr_buf_to_bvec()
238 xdr->page_base = base; in xdr_inline_pages()
509 pgbase += buf->page_base; in xdr_buf_pages_zero()
542 npages = (pagelen + buf->page_base + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pages_fill_sparse()
551 if (pagelen > buf->page_base) in xdr_buf_pages_fill_sparse()
552 buflen += pagelen - buf->page_base; in xdr_buf_pages_fill_sparse()
626 buf->page_base + base + pglen, talen); in xdr_buf_pages_copy_right()
627 _shift_data_right_pages(buf->pages, buf->page_base + to, in xdr_buf_pages_copy_right()
[all …]
H A Dsocklib.c114 if (base || xdr->page_base) { in xdr_partial_copy_from_skb()
116 base += xdr->page_base; in xdr_partial_copy_from_skb()
225 xdr->page_len + xdr->page_base); in xprt_send_pagedata()
226 return xprt_sendmsg(sock, msg, base + xdr->page_base); in xprt_send_pagedata()
H A Dxprtsock.c346 n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT; in xs_alloc_sparse_pages()
353 return i > buf->page_base ? i - buf->page_base : 0; in xs_alloc_sparse_pages()
489 want + buf->page_base, in xs_read_xdr_buf()
490 seek + buf->page_base); in xs_read_xdr_buf()
493 xs_flush_bvec(buf->bvec, ret, seek + buf->page_base); in xs_read_xdr_buf()
494 ret -= buf->page_base; in xs_read_xdr_buf()
H A Dsvc_xprt.c556 rqstp->rq_res.page_base = 0; in svc_xprt_release()
695 arg->page_base = 0; in svc_alloc_arg()
H A Dsvcsock.c638 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
1138 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
H A Dsvc.c1561 rqstp->rq_res.page_base = 0; in svc_process()
/linux/arch/x86/mm/
H A Dkmmio.c241 unsigned long page_base = addr; in kmmio_handler() local
246 page_base &= page_level_mask(l); in kmmio_handler()
258 faultpage = get_kmmio_fault_page(page_base); in kmmio_handler()
270 if (page_base == ctx->addr) { in kmmio_handler()
298 ctx->probe = get_kmmio_probe(page_base); in kmmio_handler()
300 ctx->addr = page_base; in kmmio_handler()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_gart.c290 uint64_t page_base, page_entry; in radeon_gart_bind() local
303 page_base = dma_addr[i]; in radeon_gart_bind()
305 page_entry = radeon_gart_get_page_entry(page_base, flags); in radeon_gart_bind()
310 page_base += RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_image.c166 unsigned int page_base, page_offset, out_offset; in qxl_image_init_helper() local
174 page_base = out_offset & PAGE_MASK; in qxl_image_init_helper()
178 ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, page_base); in qxl_image_init_helper()
/linux/drivers/gpu/drm/i915/
H A Di915_gem.c414 u32 page_base = node.start; in i915_gem_gtt_pread() local
426 page_base += offset & PAGE_MASK; in i915_gem_gtt_pread()
429 if (gtt_user_read(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pread()
593 u32 page_base = node.start; in i915_gem_gtt_pwrite_fast() local
608 page_base += offset & PAGE_MASK; in i915_gem_gtt_pwrite_fast()
616 if (ggtt_write(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pwrite_fast()
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h125 unsigned int page_base; /* Start of page data */ member
H A Dauth_gss.c1809 first = snd_buf->page_base >> PAGE_SHIFT; in alloc_enc_pages()
1810 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; in alloc_enc_pages()
1858 first = snd_buf->page_base >> PAGE_SHIFT; in gss_wrap_req_priv()
1861 snd_buf->page_base -= first << PAGE_SHIFT; in gss_wrap_req_priv()
H A Dgss_rpc_xdr.c56 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token()
H A Dsvcauth_gss.c1075 in_token->page_base = 0; in gss_read_proxy_verf()
1090 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf()
H A Dgss_krb5_crypto.c399 int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; in encryptor()
/linux/include/trace/events/
H A Dsunrpc.h67 __field(unsigned int, page_base)
80 __entry->page_base = xdr->page_base;
89 __entry->page_len, __entry->page_base,
1633 __field(unsigned int, page_base)
1644 __entry->page_base = xdr->page_base;
1652 __entry->page_len, __entry->page_base,
/linux/fs/nfsd/
H A Dnfscache.c387 idx = subbuf.page_base / PAGE_SIZE; in nfsd_cache_csum()
388 base = subbuf.page_base & ~PAGE_MASK; in nfsd_cache_csum()
H A Dnfsxdr.c496 rqstp->rq_res.page_base, in nfssvc_encode_readres()
H A Dnfs3xdr.c861 rqstp->rq_res.page_base, in nfs3svc_encode_readres()
/linux/include/linux/sunrpc/
H A Dxdr.h62 unsigned int page_base, /* Start of page data */ member
/linux/drivers/scsi/
H A Dhpsa.c6927 ulong page_base = ((ulong) base) & PAGE_MASK; in remap_pci_mem() local
6928 ulong page_offs = ((ulong) base) - page_base; in remap_pci_mem()
6929 void __iomem *page_remapped = ioremap(page_base, in remap_pci_mem()