Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/sunrpc/xprtrdma/
Drpc_rdma.c141 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline()
211 unsigned long page_base; in rpcrdma_convert_iovs() local
220 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
221 page_base = offset_in_page(xdrbuf->page_base); in rpcrdma_convert_iovs()
232 seg->mr_offset = (char *)page_base; in rpcrdma_convert_iovs()
233 seg->mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
238 page_base = 0; in rpcrdma_convert_iovs()
560 unsigned int sge_no, page_base, len, remaining; in rpcrdma_prepare_msg_sges() local
593 page_base = offset_in_page(xdr->tail[0].iov_base); in rpcrdma_prepare_msg_sges()
600 page_base += len & 3; in rpcrdma_prepare_msg_sges()
[all …]
Dsvc_rdma_sendto.c614 ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); in svc_rdma_map_reply_msg()
615 page_off = xdr->page_base & ~PAGE_MASK; in svc_rdma_map_reply_msg()
Dsvc_rdma_rw.c384 page_off = info->wi_next_off + xdr->page_base; in svc_rdma_pagelist_to_sg()
836 head->rc_arg.page_base = 0; in svc_rdma_recv_read_chunk()
Dsvc_rdma_recvfrom.c365 arg->page_base = 0; in svc_rdma_build_arg_xdr()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c225 u64 page_base; in amdgpu_gart_unbind() local
240 page_base = adev->dummy_page_addr; in amdgpu_gart_unbind()
246 t, page_base, flags); in amdgpu_gart_unbind()
247 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind()
271 uint64_t page_base; in amdgpu_gart_map() local
282 page_base = dma_addr[i]; in amdgpu_gart_map()
284 amdgpu_gmc_set_pte_pde(adev, dst, t, page_base, flags); in amdgpu_gart_map()
285 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map()
/Linux-v4.19/drivers/gpu/drm/
Dati_pcigart.c104 u32 *pci_gart = NULL, page_base, gart_idx; in drm_ati_pcigart_init() local
165 page_base = (u32) entry->busaddr[i]; in drm_ati_pcigart_init()
172 val = page_base | 0xc; in drm_ati_pcigart_init()
175 val = (page_base >> 8) | 0xc; in drm_ati_pcigart_init()
179 val = page_base; in drm_ati_pcigart_init()
188 page_base += ATI_PCIGART_PAGE_SIZE; in drm_ati_pcigart_init()
/Linux-v4.19/arch/ia64/mm/
Dioremap.c43 unsigned long page_base; in ioremap() local
71 page_base = phys_addr & PAGE_MASK; in ioremap()
72 size = PAGE_ALIGN(phys_addr + size) - page_base; in ioremap()
73 if (efi_mem_attribute(page_base, size) & EFI_MEMORY_WB) { in ioremap()
/Linux-v4.19/arch/x86/mm/
Dkmmio.c235 unsigned long page_base = addr; in kmmio_handler() local
240 page_base &= page_level_mask(l); in kmmio_handler()
253 faultpage = get_kmmio_fault_page(page_base); in kmmio_handler()
265 if (page_base == ctx->addr) { in kmmio_handler()
293 ctx->probe = get_kmmio_probe(page_base); in kmmio_handler()
295 ctx->addr = page_base; in kmmio_handler()
/Linux-v4.19/net/sunrpc/
Dxdr.c126 kaddr[buf->page_base + len] = '\0'; in xdr_terminate_string()
143 xdr->page_base = base; in xdr_inline_pages()
348 buf->page_base + pglen + offs - len, in xdr_shrink_bufhead()
365 buf->page_base + len, in xdr_shrink_bufhead()
366 buf->page_base, in xdr_shrink_bufhead()
371 _copy_to_pages(buf->pages, buf->page_base, in xdr_shrink_bufhead()
420 buf->pages, buf->page_base + pglen - len, in xdr_shrink_pagelen()
631 new = buf->page_base + buf->page_len; in xdr_truncate_encode()
697 buf->page_base = base; in xdr_write_pages()
745 base += xdr->buf->page_base; in xdr_set_page_base()
[all …]
Dsocklib.c96 if (base || xdr->page_base) { in xdr_partial_copy_from_skb()
98 base += xdr->page_base; in xdr_partial_copy_from_skb()
Dsvcsock.c193 size_t base = xdr->page_base; in svc_send_common()
611 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
1122 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
Dsvc_xprt.c495 rqstp->rq_res.page_base = 0; in svc_xprt_release()
648 arg->page_base = 0; in svc_alloc_arg()
Dsvc.c1420 rqstp->rq_res.page_base = 0; in svc_process()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_gart.c292 uint64_t page_base, page_entry; in radeon_gart_bind() local
304 page_base = dma_addr[i]; in radeon_gart_bind()
306 page_entry = radeon_gart_get_page_entry(page_base, flags); in radeon_gart_bind()
311 page_base += RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_image.c165 unsigned page_base, page_offset, out_offset; in qxl_image_init_helper() local
172 page_base = out_offset & PAGE_MASK; in qxl_image_init_helper()
176 ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, page_base); in qxl_image_init_helper()
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_rpc_xdr.h138 unsigned int page_base; /* Start of page data */ member
Dgss_krb5_wrap.c81 unsigned int last = (buf->page_base + len - 1) in gss_krb5_remove_padding()
83 unsigned int offset = (buf->page_base + len - 1) in gss_krb5_remove_padding()
Dauth_gss.c1784 first = snd_buf->page_base >> PAGE_SHIFT; in alloc_enc_pages()
1785 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; in alloc_enc_pages()
1832 first = snd_buf->page_base >> PAGE_SHIFT; in gss_wrap_req_priv()
1835 snd_buf->page_base -= first << PAGE_SHIFT; in gss_wrap_req_priv()
Dgss_rpc_xdr.c69 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token()
Dgss_krb5_crypto.c482 int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; in encryptor()
Dsvcauth_gss.c1085 in_token->page_base = (ulong)argv->iov_base & ~PAGE_MASK; in gss_read_proxy_verf()
/Linux-v4.19/fs/nfsd/
Dnfscache.c308 idx = buf->page_base / PAGE_SIZE; in nfsd_cache_csum()
309 base = buf->page_base & ~PAGE_MASK; in nfsd_cache_csum()
Dvfs.c865 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
/Linux-v4.19/include/linux/sunrpc/
Dxdr.h56 unsigned int page_base, /* Start of page data */ member
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem.c1224 u32 page_base = node.start; in i915_gem_gtt_pread() local
1235 page_base += offset & PAGE_MASK; in i915_gem_gtt_pread()
1238 if (gtt_user_read(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pread()
1426 u32 page_base = node.start; in i915_gem_gtt_pwrite_fast() local
1437 page_base += offset & PAGE_MASK; in i915_gem_gtt_pwrite_fast()
1445 if (ggtt_write(&ggtt->iomap, page_base, page_offset, in i915_gem_gtt_pwrite_fast()

12