Searched refs:vma_pages (Results 1 – 25 of 41) sorted by relevance
12
/Linux-v4.19/scripts/coccinelle/api/ |
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-v4.19/arch/microblaze/kernel/ |
D | dma.c | 51 unsigned long user_count = vma_pages(vma); in arch_dma_mmap()
|
/Linux-v4.19/drivers/pci/ |
D | mmap.c | 51 if (vma->vm_pgoff + vma_pages(vma) > size) in pci_mmap_resource_range()
|
/Linux-v4.19/drivers/misc/ocxl/ |
D | context.c | 155 if (vma_pages(vma) != 1) in check_mmap_afu_irq() 178 if ((vma_pages(vma) + vma->vm_pgoff) > in check_mmap_mmio()
|
D | sysfs.c | 91 if ((vma_pages(vma) + vma->vm_pgoff) > in global_mmio_mmap()
|
/Linux-v4.19/include/linux/ |
D | binfmts.h | 21 unsigned long vma_pages; member
|
/Linux-v4.19/arch/alpha/kernel/ |
D | pci-sysfs.c | 42 nr = vma_pages(vma); in __pci_mmap_fits() 258 nr = vma_pages(vma); in __legacy_mmap_fits()
|
/Linux-v4.19/arch/arc/mm/ |
D | dma.c | 91 unsigned long user_count = vma_pages(vma); in arch_dma_mmap()
|
/Linux-v4.19/mm/ |
D | interval_tree.c | 21 return v->vm_pgoff + vma_pages(v) - 1; in vma_last_pgoff()
|
D | mmap.c | 1061 vm_pglen = vma_pages(vma); in can_vma_merge_after() 2545 long nrpages = vma_pages(vma); in remove_vma_list() 2770 mm->locked_vm -= vma_pages(tmp); in do_munmap() 3103 nr_accounted += vma_pages(vma); in exit_mmap() 3122 security_vm_enough_memory_mm(mm, vma_pages(vma))) in insert_vm_struct()
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 210 page_last = vma_pages(vma) + vma->vm_pgoff - in ttm_bo_vm_fault() 431 bo = ttm_bo_vm_lookup(bdev, vma->vm_pgoff, vma_pages(vma)); in ttm_bo_mmap()
|
/Linux-v4.19/drivers/dma-buf/ |
D | dma-buf.c | 94 if (vma->vm_pgoff + vma_pages(vma) > in dma_buf_mmap_internal() 911 if (pgoff + vma_pages(vma) < pgoff) in dma_buf_mmap() 915 if (pgoff + vma_pages(vma) > in dma_buf_mmap()
|
/Linux-v4.19/arch/mips/mm/ |
D | dma-noncoherent.c | 99 unsigned long user_count = vma_pages(vma); in arch_dma_mmap()
|
/Linux-v4.19/drivers/xen/ |
D | privcmd-buf.c | 145 unsigned long count = vma_pages(vma); in privcmd_buf_mmap()
|
D | gntalloc.c | 510 int count = vma_pages(vma); in gntalloc_mmap()
|
/Linux-v4.19/fs/cramfs/ |
D | inode.c | 380 pages = min(vma_pages(vma), max_pages - pgoff); in cramfs_physmem_mmap() 403 if (pages == vma_pages(vma)) { in cramfs_physmem_mmap() 431 address, pages, vma_pages(vma), vma->vm_start, in cramfs_physmem_mmap()
|
/Linux-v4.19/drivers/char/ |
D | mspec.c | 258 pages = vma_pages(vma); in mspec_mmap()
|
/Linux-v4.19/kernel/dma/ |
D | mapping.c | 227 unsigned long user_count = vma_pages(vma); in dma_common_mmap()
|
D | coherent.c | 289 int user_count = vma_pages(vma); in __dma_mmap_from_coherent()
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_mmap.c | 555 int nr_pages = vma_pages(vma); in scif_munmap() 617 int nr_pages = vma_pages(vma); in scif_mmap()
|
/Linux-v4.19/drivers/uio/ |
D | uio_hv_generic.c | 136 q_idx, vma_pages(vma), vma->vm_pgoff); in hv_uio_ring_mmap()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 225 unsigned long user_count = vma_pages(vma); in rockchip_drm_gem_object_mmap_iommu()
|
/Linux-v4.19/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 126 page_num = vma_pages(vma); in psbfb_vm_fault()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_gem.c | 1013 vma_pages(vma)); in drm_gem_mmap()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | e500_mmu_host.c | 380 vma_pages(vma); in kvmppc_e500_shadow_map()
|
12