Home
last modified time | relevance | path

Searched refs:vma_size (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/mm/
Dmlock2-tests.c148 unsigned long vma_size, vma_rss; in is_vma_lock_on_fault() local
154 vma_size = get_value_for_name(addr, SIZE); in is_vma_lock_on_fault()
158 return (vma_rss < vma_size); in is_vma_lock_on_fault()
168 unsigned long vma_size, vma_rss; in lock_check() local
174 vma_size = get_value_for_name(addr, SIZE); in lock_check()
177 return (vma_rss == vma_size); in lock_check()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_vma_resource.h128 u64 vma_size; member
231 vma_res->vma_size = size; in i915_vma_resource_init()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c192 vma_res->vma_size); in ppgtt_bind_vma()
213 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in ppgtt_unbind_vma()
Dselftest_tlb.c154 .vma_size = i915_vma_size(vb) in pte_tlbinv()
Dintel_ggtt.c530 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in intel_ggtt_unbind_vma()
707 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in aliasing_gtt_unbind_vma()
Dgen8_ppgtt.c508 u64 end = start + vma_res->vma_size; in xehpsdv_ppgtt_insert_huge()
/linux-6.6.21/arch/x86/mm/pat/
Dmemtype.c964 unsigned long vma_size = vma->vm_end - vma->vm_start; in track_pfn_copy() local
977 return reserve_pfn_range(paddr, vma_size, &pgprot, 1); in track_pfn_copy()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dpt.c116 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in dpt_unbind_vma()
/linux-6.6.21/drivers/staging/vme_user/
Dvme.c790 unsigned long vma_size; in vme_master_mmap() local
799 vma_size = vma->vm_end - vma->vm_start; in vme_master_mmap()
801 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
/linux-6.6.21/kernel/events/
Dcore.c6432 unsigned long vma_size; in perf_mmap() local
6452 vma_size = vma->vm_end - vma->vm_start; in perf_mmap()
6455 nr_pages = (vma_size / PAGE_SIZE) - 1; in perf_mmap()
6467 nr_pages = vma_size / PAGE_SIZE; in perf_mmap()
6489 if (aux_size != vma_size || aux_size != nr_pages * PAGE_SIZE) in perf_mmap()
6521 if (vma_size != PAGE_SIZE * (1 + nr_pages)) in perf_mmap()
8820 unsigned long vma_size = vma->vm_end - vma->vm_start; in perf_addr_filter_vma_adjust() local
8824 if (!perf_addr_filter_match(filter, file, off, vma_size)) in perf_addr_filter_vma_adjust()
8829 fr->size = min(vma_size, filter->size - (off - filter->offset)); in perf_addr_filter_vma_adjust()