Searched refs:vma_pages (Results 1 – 25 of 47) sorted by relevance
12
/linux/scripts/coccinelle/api/ |
A D | vma_pages.cocci | 3 /// Use vma_pages function on vma object instead of explicit computation. 6 // Keywords: vma_pages vma 33 + vma_pages(vma) 51 msg="WARNING: Consider using vma_pages helper on %s" % (x) 59 msg="WARNING: Consider using vma_pages helper on %s" % (x)
|
/linux/drivers/misc/ocxl/ |
A D | context.c | 167 if (vma_pages(vma) != 1) in check_mmap_afu_irq() 190 if ((vma_pages(vma) + vma->vm_pgoff) > in check_mmap_mmio()
|
A D | sysfs.c | 133 if ((vma_pages(vma) + vma->vm_pgoff) > in global_mmio_mmap()
|
/linux/arch/alpha/kernel/ |
A D | pci-sysfs.c | 42 nr = vma_pages(vma); in __pci_mmap_fits() 262 nr = vma_pages(vma); in __legacy_mmap_fits()
|
/linux/drivers/pci/ |
A D | mmap.c | 51 if (vma->vm_pgoff + vma_pages(vma) > size) in pci_mmap_resource_range()
|
/linux/include/linux/ |
A D | binfmts.h | 20 unsigned long vma_pages; member
|
/linux/kernel/dma/ |
A D | ops_helpers.c | 39 unsigned long user_count = vma_pages(vma); in dma_common_mmap()
|
A D | mapping.c | 595 if (vma->vm_pgoff >= count || vma_pages(vma) > count - vma->vm_pgoff) in dma_mmap_pages() 599 vma_pages(vma) << PAGE_SHIFT, vma->vm_page_prot); in dma_mmap_pages() 701 vma_pages(vma) > count - vma->vm_pgoff) in dma_mmap_noncontiguous()
|
A D | coherent.c | 233 unsigned long user_count = vma_pages(vma); in __dma_mmap_from_coherent()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ttm_glue.c | 75 bo = vmw_bo_vm_lookup(bdev, vma->vm_pgoff, vma_pages(vma)); in vmw_mmap()
|
/linux/mm/ |
A D | interval_tree.c | 20 return v->vm_pgoff + vma_pages(v) - 1; in vma_last_pgoff()
|
A D | mmap.c | 1108 vm_pglen = vma_pages(vma); in can_vma_merge_after() 2623 long nrpages = vma_pages(vma); in remove_vma_list() 2782 mm->locked_vm -= vma_pages(tmp); in unlock_range() 3180 nr_accounted += vma_pages(vma); in exit_mmap() 3200 security_vm_enough_memory_mm(mm, vma_pages(vma))) in insert_vm_struct()
|
/linux/drivers/xen/ |
A D | privcmd-buf.c | 136 unsigned long count = vma_pages(vma); in privcmd_buf_mmap()
|
A D | gntalloc.c | 510 int count = vma_pages(vma); in gntalloc_mmap()
|
/linux/drivers/char/ |
A D | mspec.c | 196 pages = vma_pages(vma); in mspec_mmap()
|
/linux/fs/cramfs/ |
A D | inode.c | 382 pages = min(vma_pages(vma), max_pages - pgoff); in cramfs_physmem_mmap() 404 if (pages == vma_pages(vma)) { in cramfs_physmem_mmap() 434 pgoff, address, pages, vma_pages(vma), vma->vm_start, in cramfs_physmem_mmap()
|
/linux/drivers/dma-buf/ |
A D | dma-buf.c | 142 if (vma->vm_pgoff + vma_pages(vma) > in dma_buf_mmap_internal() 1242 if (pgoff + vma_pages(vma) < pgoff) in dma_buf_mmap() 1246 if (pgoff + vma_pages(vma) > in dma_buf_mmap()
|
/linux/drivers/soc/aspeed/ |
A D | aspeed-lpc-ctrl.c | 55 if (vma->vm_pgoff + vma_pages(vma) > lpc_ctrl->mem_size >> PAGE_SHIFT) in aspeed_lpc_ctrl_mmap()
|
A D | aspeed-p2a-ctrl.c | 113 if (vma->vm_pgoff + vma_pages(vma) > ctrl->mem_size >> PAGE_SHIFT) in aspeed_p2a_mmap()
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 225 page_last = vma_pages(vma) + vma->vm_pgoff - in ttm_bo_vm_fault_reserved()
|
/linux/drivers/tee/ |
A D | tee_shm.c | 274 if (vma->vm_pgoff + vma_pages(vma) > shm->size >> PAGE_SHIFT) in tee_shm_fop_mmap()
|
/linux/fs/ |
A D | exec.c | 189 long diff = (long)(pages - bprm->vma_pages); in acct_arg_size() 194 bprm->vma_pages = pages; in acct_arg_size() 228 acct_arg_size(bprm, vma_pages(bprm->vma)); in get_arg_page()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_xive_native.c | 317 if (vma_pages(vma) > 4) in kvmppc_xive_native_mmap() 321 if (vma_pages(vma) > KVMPPC_XIVE_NR_IRQS * 2) in kvmppc_xive_native_mmap()
|
/linux/drivers/gpu/drm/gma500/ |
A D | framebuffer.c | 94 page_num = vma_pages(vma); in psbfb_vm_fault()
|
/linux/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_gem.c | 219 unsigned long user_count = vma_pages(vma); in rockchip_drm_gem_object_mmap_iommu()
|
Completed in 45 milliseconds
12