Home
last modified time | relevance | path

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

12

/linux-6.6.21/net/sunrpc/xprtrdma/
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 …]
Dsvc_rdma_sendto.c592 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_dma_map()
593 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_dma_map()
637 offset = offset_in_page(xdr->page_base); in svc_rdma_xb_count_sges()
706 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_xb_linearize()
707 pageoff = offset_in_page(xdr->page_base); in svc_rdma_xb_linearize()
Dsvc_rdma_recvfrom.c392 arg->page_base = 0; in svc_rdma_build_arg_xdr()
Dsvc_rdma_rw.c443 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
/linux-6.6.21/arch/ia64/mm/
Dioremap.c37 unsigned long page_base; in ioremap_prot() local
65 page_base = phys_addr & PAGE_MASK; in ioremap_prot()
66 size = PAGE_ALIGN(phys_addr + size) - page_base; in ioremap_prot()
67 if (efi_mem_attribute(page_base, size) & EFI_MEMORY_WB) in ioremap_prot()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c296 u64 page_base; in amdgpu_gart_unbind() local
310 page_base = adev->dummy_page_addr; in amdgpu_gart_unbind()
316 t, page_base, flags); in amdgpu_gart_unbind()
317 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind()
345 uint64_t page_base; in amdgpu_gart_map() local
355 page_base = dma_addr[i]; in amdgpu_gart_map()
357 amdgpu_gmc_set_pte_pde(adev, dst, t, page_base, flags); in amdgpu_gart_map()
358 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map()
/linux-6.6.21/net/sunrpc/
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 …]
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()
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()
Dsvc_xprt.c551 rqstp->rq_res.page_base = 0; in svc_xprt_release()
690 arg->page_base = 0; in svc_alloc_arg()
Dsvcsock.c638 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
1148 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
/linux-6.6.21/arch/x86/mm/
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-6.6.21/drivers/gpu/drm/radeon/
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-6.6.21/drivers/gpu/drm/qxl/
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-6.6.21/drivers/gpu/drm/i915/
Di915_gem.c417 u32 page_base = node.start; in i915_gem_gtt_pread() local
429 page_base += offset & PAGE_MASK; in i915_gem_gtt_pread()
432 if (gtt_user_read(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pread()
596 u32 page_base = node.start; in i915_gem_gtt_pwrite_fast() local
611 page_base += offset & PAGE_MASK; in i915_gem_gtt_pwrite_fast()
619 if (ggtt_write(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pwrite_fast()
/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_rpc_xdr.h125 unsigned int page_base; /* Start of page data */ member
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()
Dgss_rpc_xdr.c56 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token()
Dsvcauth_gss.c1091 in_token->page_base = 0; in gss_read_proxy_verf()
1106 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf()
Dgss_krb5_crypto.c399 int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; in encryptor()
/linux-6.6.21/include/trace/events/
Dsunrpc.h67 __field(unsigned int, page_base)
80 __entry->page_base = xdr->page_base;
89 __entry->page_len, __entry->page_base,
1634 __field(unsigned int, page_base)
1645 __entry->page_base = xdr->page_base;
1653 __entry->page_len, __entry->page_base,
/linux-6.6.21/fs/nfsd/
Dnfscache.c410 idx = subbuf.page_base / PAGE_SIZE; in nfsd_cache_csum()
411 base = subbuf.page_base & ~PAGE_MASK; in nfsd_cache_csum()
Dnfsxdr.c496 rqstp->rq_res.page_base, in nfssvc_encode_readres()
Dvfs.c955 offset_in_page(rqstp->rq_res.page_base + in nfsd_splice_actor()
962 rqstp->rq_res.page_base = offset % PAGE_SIZE; in nfsd_splice_actor()
/linux-6.6.21/include/linux/sunrpc/
Dxdr.h62 unsigned int page_base, /* Start of page data */ member

12