Searched refs:vma_size (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | mlock2-tests.c | 149 unsigned long vma_size, vma_rss; in is_vma_lock_on_fault() local 155 vma_size = get_value_for_name(addr, SIZE); in is_vma_lock_on_fault() 159 return (vma_rss < vma_size); in is_vma_lock_on_fault() 169 unsigned long vma_size, vma_rss; in lock_check() local 175 vma_size = get_value_for_name(addr, SIZE); in lock_check() 178 return (vma_rss == vma_size); in lock_check()
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
D | memtype.c | 1001 unsigned long vma_size = vma->vm_end - vma->vm_start; in track_pfn_copy() local 1014 return reserve_pfn_range(paddr, vma_size, &pgprot, 1); in track_pfn_copy()
|
/kernel/linux/linux-5.10/drivers/vme/ |
D | vme.c | 802 unsigned long vma_size; in vme_master_mmap() local 811 vma_size = vma->vm_end - vma->vm_start; in vme_master_mmap() 813 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
|
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
D | gasket_core.c | 1017 ulong raw_offset, vma_size; in gasket_mmap() local 1039 vma_size = vma->vm_end - vma->vm_start; in gasket_mmap() 1041 vma_size); in gasket_mmap()
|
/kernel/linux/linux-5.10/kernel/events/ |
D | core.c | 6178 unsigned long vma_size; in perf_mmap() local 6198 vma_size = vma->vm_end - vma->vm_start; in perf_mmap() 6201 nr_pages = (vma_size / PAGE_SIZE) - 1; in perf_mmap() 6213 nr_pages = vma_size / PAGE_SIZE; in perf_mmap() 6235 if (aux_size != vma_size || aux_size != nr_pages * PAGE_SIZE) in perf_mmap() 6267 if (vma_size != PAGE_SIZE * (1 + nr_pages)) in perf_mmap() 8339 unsigned long vma_size = vma->vm_end - vma->vm_start; in perf_addr_filter_vma_adjust() local 8343 if (!perf_addr_filter_match(filter, file, off, vma_size)) in perf_addr_filter_vma_adjust() 8348 fr->size = min(vma_size, filter->size - (off - filter->offset)); in perf_addr_filter_vma_adjust()
|