Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c134 unsigned long vma_size, vma_rss; in get_value_for_name()
140 vma_size = get_value_for_name(addr, SIZE); in get_value_for_name()
144 return (vma_rss < vma_size); in is_vma_lock_on_fault()
154 unsigned long vma_size, vma_rss; in is_vma_lock_on_fault()
160 vma_size = get_value_for_name(addr, SIZE);
163 return (vma_rss == vma_size);
147 unsigned long vma_size, vma_rss; is_vma_lock_on_fault() local
167 unsigned long vma_size, vma_rss; lock_check() local
/linux/drivers/gpu/drm/i915/
H A Di915_vma_resource.h128 u64 vma_size; member
231 vma_res->vma_size = size; in i915_vma_resource_init()
/linux/drivers/gpu/drm/i915/gt/
H A 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()
H A Dselftest_tlb.c161 .vma_size = i915_vma_size(vb) in pte_tlbinv()
H A Dintel_ggtt.c766 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in intel_ggtt_unbind_vma()
943 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in aliasing_gtt_unbind_vma()
H A Dgen8_ppgtt.c512 u64 end = start + vma_res->vma_size; in xehp_ppgtt_insert_huge()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c303 unsigned long vm_start, vm_end, vma_size; /* user's memory parameters */ in set_address_limits() local
312 vma_size = vma->size >> PAGE_SHIFT; in set_address_limits()
322 end = start + vma_size; in set_address_limits()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpt.c114 vm->clear_range(vm, vma_res->start, vma_res->vma_size); in dpt_unbind_vma()
/linux/arch/x86/mm/pat/
H A Dmemtype.c997 unsigned long vma_size = vma->vm_end - vma->vm_start; in track_pfn_copy() local
1004 return reserve_pfn_range(paddr, vma_size, &pgprot, 1); in track_pfn_copy()
/linux/drivers/staging/vme_user/
H A Dvme.c753 unsigned long vma_size; in vme_master_mmap() local
762 vma_size = vma->vm_end - vma->vm_start; in vme_master_mmap()
764 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
/linux/kernel/events/
H A Dcore.c6569 unsigned long vma_size; in perf_mmap() local
6589 vma_size = vma->vm_end - vma->vm_start; in perf_mmap()
6592 nr_pages = (vma_size / PAGE_SIZE) - 1; in perf_mmap()
6604 nr_pages = vma_size / PAGE_SIZE; in perf_mmap()
6631 if (aux_size != vma_size || aux_size != nr_pages * PAGE_SIZE) in perf_mmap()
6663 if (vma_size != PAGE_SIZE * (1 + nr_pages)) in perf_mmap()
9046 unsigned long vma_size = vma->vm_end - vma->vm_start; in perf_addr_filter_vma_adjust() local
9050 if (!perf_addr_filter_match(filter, file, off, vma_size)) in perf_addr_filter_vma_adjust()
9055 fr->size = min(vma_size, filter->size - (off - filter->offset)); in perf_addr_filter_vma_adjust()