Home
last modified time | relevance | path

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

/linux-4.1.27/net/sunrpc/xprtrdma/
Drpc_rdma.c89 int page_base; in rpcrdma_convert_iovs() local
100 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
101 page_base = xdrbuf->page_base & ~PAGE_MASK; in rpcrdma_convert_iovs()
111 seg[n].mr_offset = (void *)(unsigned long) page_base; in rpcrdma_convert_iovs()
112 seg[n].mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
118 page_base = 0; /* page offset only applies to first page */ in rpcrdma_convert_iovs()
310 int page_base; in rpcrdma_inline_pullup() local
342 page_base = rqst->rq_snd_buf.page_base; in rpcrdma_inline_pullup()
343 ppages = rqst->rq_snd_buf.pages + (page_base >> PAGE_SHIFT); in rpcrdma_inline_pullup()
344 page_base &= ~PAGE_MASK; in rpcrdma_inline_pullup()
[all …]
Dsvc_rdma_sendto.c80 page_off = xdr->page_base; in map_xdr()
102 sge_no, page_no, xdr->page_base, xdr->page_len, in map_xdr()
123 xdr_off += xdr->page_base; in dma_map_xdr()
Dsvc_rdma_recvfrom.c84 rqstp->rq_arg.page_base = 0; in rdma_build_arg_xdr()
446 head->arg.page_base = 0; in rdma_read_chunks()
543 rqstp->rq_arg.page_base = head->arg.page_base; in rdma_read_complete()
/linux-4.1.27/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-4.1.27/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-4.1.27/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.c182 size_t base = xdr->page_base; in svc_send_common()
627 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
1139 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
Dsvc_xprt.c482 rqstp->rq_res.page_base = 0; in svc_xprt_release()
634 arg->page_base = 0; in svc_alloc_arg()
Dsvc.c1315 rqstp->rq_res.page_base = 0; in svc_process()
Dxprtsock.c352 base += xdr->page_base; in xs_send_pagedata()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_gart.c289 uint64_t page_base, page_entry; in radeon_gart_bind() local
301 page_base = dma_addr[i]; in radeon_gart_bind()
303 page_entry = radeon_gart_get_page_entry(page_base, flags); in radeon_gart_bind()
308 page_base += RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
Dr600_cp.c187 u64 page_base; in r600_page_table_init() local
213 page_base = (u64) entry_addr & ATI_PCIGART_PAGE_MASK; in r600_page_table_init()
214 page_base |= R600_PTE_VALID | R600_PTE_SYSTEM | R600_PTE_SNOOPED; in r600_page_table_init()
215 page_base |= R600_PTE_READABLE | R600_PTE_WRITEABLE; in r600_page_table_init()
217 DRM_WRITE64(map, gart_idx * sizeof(u64), page_base); in r600_page_table_init()
223 i, (unsigned long long)page_base); in r600_page_table_init()
/linux-4.1.27/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-4.1.27/drivers/hid/
Dhid-rmi.c574 u16 page_base = page << 8; in rmi_register_function() local
590 f->query_base_addr = page_base | pdt_entry->query_base_addr; in rmi_register_function()
591 f->command_base_addr = page_base | pdt_entry->command_base_addr; in rmi_register_function()
592 f->control_base_addr = page_base | pdt_entry->control_base_addr; in rmi_register_function()
593 f->data_base_addr = page_base | pdt_entry->data_base_addr; in rmi_register_function()
/linux-4.1.27/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.c1732 first = snd_buf->page_base >> PAGE_CACHE_SHIFT; in alloc_enc_pages()
1733 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_CACHE_SHIFT; in alloc_enc_pages()
1779 first = snd_buf->page_base >> PAGE_CACHE_SHIFT; in gss_wrap_req_priv()
1782 snd_buf->page_base -= first << PAGE_CACHE_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.c417 int i = (page_pos + outbuf->page_base) >> PAGE_CACHE_SHIFT; in encryptor()
Dsvcauth_gss.c1067 in_token->page_base = (ulong)argv->iov_base & ~PAGE_MASK; in gss_read_proxy_verf()
/linux-4.1.27/fs/nfsd/
Dnfscache.c329 idx = buf->page_base / PAGE_SIZE; in nfsd_cache_csum()
330 base = buf->page_base & ~PAGE_MASK; in nfsd_cache_csum()
Dvfs.c840 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
Dnfs4xdr.c3355 xdr->page_ptr += (buf->page_base + maxcount + PAGE_SIZE - 1) in nfsd4_encode_splice_read()
/linux-4.1.27/include/linux/sunrpc/
Dxdr.h60 unsigned int page_base, /* Start of page data */ member
/linux-4.1.27/drivers/block/
Dcpqarray.c716 ulong page_base = ((ulong) base) & PAGE_MASK; in remap_pci_mem() local
717 ulong page_offs = ((ulong) base) - page_base; in remap_pci_mem()
718 void __iomem *page_remapped = ioremap(page_base, page_offs+size); in remap_pci_mem()
Dcciss.c2993 ulong page_base = ((ulong) base) & PAGE_MASK; in remap_pci_mem() local
2994 ulong page_offs = ((ulong) base) - page_base; in remap_pci_mem()
2995 void __iomem *page_remapped = ioremap(page_base, page_offs + size); in remap_pci_mem()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem.c759 loff_t page_base, int page_offset, in fast_user_write() argument
767 vaddr_atomic = io_mapping_map_atomic_wc(mapping, page_base); in fast_user_write()
788 loff_t offset, page_base; in i915_gem_gtt_pwrite_fast() local
818 page_base = offset & PAGE_MASK; in i915_gem_gtt_pwrite_fast()
828 if (fast_user_write(dev_priv->gtt.mappable, page_base, in i915_gem_gtt_pwrite_fast()
/linux-4.1.27/drivers/scsi/
Dhpsa.c5362 ulong page_base = ((ulong) base) & PAGE_MASK; in remap_pci_mem() local
5363 ulong page_offs = ((ulong) base) - page_base; in remap_pci_mem()
5364 void __iomem *page_remapped = ioremap_nocache(page_base, in remap_pci_mem()