/linux-6.12.1/mm/ |
D | nommu.c | 103 return vma->vm_end - vma->vm_start; in kobjsize() 422 BUG_ON(last->vm_end <= last->vm_start); in validate_nommu_regions() 423 BUG_ON(last->vm_top < last->vm_end); in validate_nommu_regions() 429 BUG_ON(region->vm_end <= region->vm_start); in validate_nommu_regions() 430 BUG_ON(region->vm_top < region->vm_end); in validate_nommu_regions() 575 vma_iter_config(&vmi, vma->vm_start, vma->vm_end); in delete_vma_from_mm() 670 if (vma->vm_end != end) in find_vma_exact() 889 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_shared_file() 925 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_private() 958 region->vm_end = region->vm_start + len; in do_mmap_private() [all …]
|
D | vma.c | 161 uprobe_munmap(vp->vma, vp->vma->vm_start, vp->vma->vm_end); in vma_prepare() 165 vp->adj_next->vm_end); in vma_prepare() 250 vp->remove->vm_end); in vma_complete() 258 WARN_ON_ONCE(vp->vma->vm_end < vp->remove->vm_end); in vma_complete() 292 return vmg->prev && vmg->prev->vm_end == vmg->start && in can_vma_merge_left() 353 unmap_vmas(&tlb, mas, vma, vma->vm_start, vma->vm_end, vma->vm_end, in unmap_region() 355 mas_set(mas, vma->vm_end); in unmap_region() 356 free_pgtables(&tlb, mas, vma, prev ? prev->vm_end : FIRST_USER_ADDRESS, in unmap_region() 375 WARN_ON(vma->vm_end <= addr); in __split_vma() 388 new->vm_end = addr; in __split_vma() [all …]
|
D | msync.c | 90 fend = fstart + (min(end, vma->vm_end) - start) - 1; in SYSCALL_DEFINE3() 91 start = vma->vm_end; in SYSCALL_DEFINE3() 107 vma = find_vma(mm, vma->vm_end); in SYSCALL_DEFINE3()
|
D | mseal.c | 113 if (vma->vm_end >= end) in check_mm_seal() 116 nstart = vma->vm_end; in check_mm_seal() 148 tmp = vma->vm_end; in apply_mm_seal()
|
D | mmap.c | 637 low_limit = tmp->vm_end; in unmapped_area() 1024 vma->vm_end - size; in acct_stack_growth() 1067 next = find_vma_intersection(mm, vma->vm_end, gap_addr); in expand_upwards() 1097 if (address > vma->vm_end) { in expand_upwards() 1101 grow = (address - vma->vm_end) >> PAGE_SHIFT; in expand_upwards() 1121 vma->vm_end = address; in expand_upwards() 1162 (address - prev->vm_end < stack_guard_gap)) in expand_downwards() 1169 vma_iter_config(&vmi, address, vma->vm_end); in expand_downwards() 1192 size = vma->vm_end - address; in expand_downwards() 1265 populate_vma_page_range(prev, addr, prev->vm_end, NULL); in find_extend_vma_locked() [all …]
|
D | mremap.c | 689 if (!err && vma->vm_end != old_addr + old_len) in move_vma() 755 if (vma->vm_end > old_addr + old_len) in move_vma() 756 account_end = vma->vm_end; in move_vma() 784 vma->vm_end == (old_addr + old_len)) in move_vma() 849 if (old_len > vma->vm_end - addr) in vma_to_resize() 968 unsigned long end = vma->vm_end + delta; in vma_expandable() 970 if (end < vma->vm_end) /* overflow */ in vma_expandable() 972 if (find_vma_intersection(vma->vm_mm, vma->vm_end, end)) in vma_expandable() 1116 if (old_len == vma->vm_end - addr) { in SYSCALL_DEFINE5() 1122 VMA_ITERATOR(vmi, mm, vma->vm_end); in SYSCALL_DEFINE5()
|
D | pagewalk.c | 459 next = min(end, vma->vm_end); in walk_page_range() 460 vma = find_vma(mm, vma->vm_end); in walk_page_range() 557 if (start < vma->vm_start || end > vma->vm_end) in walk_page_range_vma() 580 return __walk_page_range(vma->vm_start, vma->vm_end, &walk); in walk_page_vma() 645 err = walk_page_test(vma->vm_start, vma->vm_end, &walk); in walk_page_mapping() 732 if (WARN_ON_ONCE(addr < vma->vm_start || addr >= vma->vm_end)) in folio_walk_start()
|
D | internal.h | 884 if (end > vma->vm_end) in folio_within_range() 885 end = vma->vm_end; in folio_within_range() 901 return folio_within_range(folio, vma, vma->vm_start, vma->vm_end); in folio_within_vma() 971 if (address < vma->vm_start || address >= vma->vm_end) in vma_address() 999 if (address < vma->vm_start || address > vma->vm_end) in vma_address_end() 1000 address = vma->vm_end; in vma_address_end() 1373 vma->vm_end = end; in vma_set_range()
|
D | vma.h | 160 __mas_set_range(&vmi->mas, vma->vm_start, vma->vm_end - 1); in vma_iter_store_gfp() 461 vma->vm_end, vmi->mas.index, vmi->mas.last); in vma_iter_store() 466 vmi->mas.last, vma->vm_start, vma->vm_start, vma->vm_end, in vma_iter_store() 475 __mas_set_range(&vmi->mas, vma->vm_start, vma->vm_end - 1); in vma_iter_store()
|
/linux-6.12.1/tools/testing/vma/ |
D | vma.c | 61 ret->vm_end = end; in alloc_vma() 250 ASSERT_EQ(vma->vm_end, 0x3000); in test_simple_merge() 281 ASSERT_EQ(vma->vm_end, 0x2000); in test_simple_modify() 293 ASSERT_EQ(vma->vm_end, 0x1000); in test_simple_modify() 302 ASSERT_EQ(vma->vm_end, 0x2000); in test_simple_modify() 311 ASSERT_EQ(vma->vm_end, 0x3000); in test_simple_modify() 339 ASSERT_EQ(vma->vm_end, 0x3000); in test_simple_expand() 360 ASSERT_EQ(vma->vm_end, 0x1000); in test_simple_shrink() 443 ASSERT_EQ(vma->vm_end, 0x4000); in test_merge_new() 460 ASSERT_EQ(vma->vm_end, 0x5000); in test_merge_new() [all …]
|
/linux-6.12.1/mm/damon/tests/ |
D | vaddr-kunit.h | 28 mas_set_range(&mas, vmas[i].vm_start, vmas[i].vm_end - 1); in __link_vmas() 72 (struct vm_area_struct) {.vm_start = 10, .vm_end = 20}, in damon_test_three_regions_in_vmas() 73 (struct vm_area_struct) {.vm_start = 20, .vm_end = 25}, in damon_test_three_regions_in_vmas() 74 (struct vm_area_struct) {.vm_start = 200, .vm_end = 210}, in damon_test_three_regions_in_vmas() 75 (struct vm_area_struct) {.vm_start = 210, .vm_end = 220}, in damon_test_three_regions_in_vmas() 76 (struct vm_area_struct) {.vm_start = 300, .vm_end = 305}, in damon_test_three_regions_in_vmas() 77 (struct vm_area_struct) {.vm_start = 307, .vm_end = 330}, in damon_test_three_regions_in_vmas()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | iters_task_vma.c | 14 __u64 vm_end; member 35 vm_ranges[seen].vm_end = vma->vm_end; in iter_task_vma_for_each()
|
/linux-6.12.1/fs/proc/ |
D | task_nommu.c | 35 size += region->vm_end - region->vm_start; in task_mem() 37 size = vma->vm_end - vma->vm_start; in task_mem() 46 slack = region->vm_end - vma->vm_end; in task_mem() 89 vsize += vma->vm_end - vma->vm_start; in task_vsize() 109 size += region->vm_end - region->vm_start; in task_statm() 150 vma->vm_end, in nommu_vma_show()
|
/linux-6.12.1/include/trace/events/ |
D | mmap.h | 80 __field(unsigned long, vm_end) 87 __entry->vm_end = vma->vm_end - 1; 93 (unsigned long) __entry->vm_end
|
D | fs_dax.h | 17 __field(unsigned long, vm_end) 30 __entry->vm_end = vmf->vma->vm_end; 47 __entry->vm_end,
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | video.h | 8 unsigned long vm_start, unsigned long vm_end, in pgprot_framebuffer() argument 11 return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot); in pgprot_framebuffer()
|
/linux-6.12.1/scripts/coccinelle/api/ |
D | vma_pages.cocci | 22 * (vma->vm_end - vma->vm_start) >> PAGE_SHIFT 32 - ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) 44 (vma->vm_end@p - vma->vm_start) >> PAGE_SHIFT
|
/linux-6.12.1/arch/x86/um/ |
D | mem_32.c | 18 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init() 49 return (addr >= vma->vm_start) && (addr < vma->vm_end); in in_gate_area()
|
/linux-6.12.1/drivers/media/common/videobuf2/ |
D | videobuf2-memops.c | 96 vma->vm_end); in vb2_common_vm_open() 114 vma->vm_end); in vb2_common_vm_close()
|
/linux-6.12.1/drivers/soc/qcom/ |
D | rmtfs_mem.c | 136 if (vma->vm_end - vma->vm_start > rmtfs_mem->size) { in qcom_rmtfs_mem_mmap() 139 vma->vm_end, vma->vm_start, in qcom_rmtfs_mem_mmap() 140 (vma->vm_end - vma->vm_start), &rmtfs_mem->size); in qcom_rmtfs_mem_mmap() 148 vma->vm_end - vma->vm_start, in qcom_rmtfs_mem_mmap()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | video.h | 12 unsigned long vm_start, unsigned long vm_end,
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 416 ret = ksm_madvise(vma, vma->vm_start, vma->vm_end, in kvmppc_memslot_page_merge() 423 start = vma->vm_end; in kvmppc_memslot_page_merge() 424 } while (end > vma->vm_end); in kvmppc_memslot_page_merge() 628 if (!vma || addr >= vma->vm_end) { in kvmppc_uvmem_drop_pages() 812 if (!vma || vma->vm_start > start || vma->vm_end < end) in kvmppc_uv_migrate_mem_slot() 973 if (!vma || vma->vm_start > start || vma->vm_end < end) in kvmppc_h_svm_page_in() 1073 if (!vma || vma->vm_start > start || vma->vm_end < end) in kvmppc_h_svm_page_out()
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | video.h | 9 unsigned long vm_start, unsigned long vm_end, in pgprot_framebuffer() argument
|
/linux-6.12.1/arch/mips/include/asm/ |
D | video.h | 7 unsigned long vm_start, unsigned long vm_end, in pgprot_framebuffer() argument
|
/linux-6.12.1/arch/x86/video/ |
D | video-common.c | 17 unsigned long vm_start, unsigned long vm_end, in pgprot_framebuffer() argument
|