Home
last modified time | relevance | path

Searched refs:vm_end (Results 1 – 14 of 14) sorted by relevance

/fs/proc/
Dtask_nommu.c37 size += region->vm_end - region->vm_start; in task_mem()
39 size = vma->vm_end - vma->vm_start; in task_mem()
48 slack = region->vm_end - vma->vm_end; in task_mem()
92 vsize += vma->vm_end - vma->vm_start; in task_vsize()
114 size += region->vm_end - region->vm_start; in task_statm()
139 vma->vm_end >= mm->start_stack; in is_stack()
168 vma->vm_end, in nommu_vma_show()
Dtask_mmu.c196 m->version = m_next_vma(m->private, vma) ? vma->vm_end : -1UL; in m_cache_vma()
326 vma->vm_end >= vma->vm_mm->start_stack; in is_stack()
369 end = vma->vm_end; in show_map_vma()
396 vma->vm_end >= mm->start_brk) { in show_map_vma()
896 SEQ_PUT_DEC("Size: ", vma->vm_end - vma->vm_start); in show_smap()
944 last_vma_end = vma->vm_end; in show_smaps_rollup()
1374 for (; addr < min(end, vma->vm_end); addr += PAGE_SIZE) { in pagemap_pte_hole()
1911 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { in show_numa_map()
Dnommu.c53 region->vm_end, in nommu_region_show()
Dbase.c1971 unsigned long vm_start, vm_end; in map_files_d_revalidate() local
1990 if (!dname_to_vma_addr(dentry, &vm_start, &vm_end)) { in map_files_d_revalidate()
1994 vm_end); in map_files_d_revalidate()
2022 unsigned long vm_start, vm_end; in map_files_get_link() local
2038 rc = dname_to_vma_addr(dentry, &vm_start, &vm_end); in map_files_get_link()
2047 vma = find_exact_vma(mm, vm_start, vm_end); in map_files_get_link()
2119 unsigned long vm_start, vm_end; in proc_map_files_lookup() local
2135 if (dname_to_vma_addr(dentry, &vm_start, &vm_end)) in proc_map_files_lookup()
2147 vma = find_exact_vma(mm, vm_start, vm_end); in proc_map_files_lookup()
2234 p->end = vma->vm_end; in proc_map_files_readdir()
Dvmcore.c557 size_t size = vma->vm_end - vma->vm_start; in mmap_vmcore()
/fs/
Dexec.c266 vma->vm_end = STACK_TOP_MAX; in __bprm_mm_init()
267 vma->vm_start = vma->vm_end - PAGE_SIZE; in __bprm_mm_init()
278 bprm->p = vma->vm_end - sizeof(void *); in __bprm_mm_init()
639 unsigned long old_end = vma->vm_end; in shift_arg_pages()
725 if (vma->vm_end - vma->vm_start > stack_base) in setup_arg_pages()
732 bprm->p = vma->vm_end - stack_shift; in setup_arg_pages()
738 unlikely(vma->vm_end - vma->vm_start >= stack_top - mmap_min_addr)) in setup_arg_pages()
741 stack_shift = vma->vm_end - stack_top; in setup_arg_pages()
768 ret = mprotect_fixup(vma, &prev, vma->vm_start, vma->vm_end, in setup_arg_pages()
785 stack_size = vma->vm_end - vma->vm_start; in setup_arg_pages()
[all …]
Duserfaultfd.c911 prev = vma_merge(mm, prev, vma->vm_start, vma->vm_end, in userfaultfd_release()
1402 if (is_vm_hugetlb_page(cur) && end <= cur->vm_end && in userfaultfd_register()
1455 vma_end = min(end, vma->vm_end); in userfaultfd_register()
1472 if (vma->vm_end > end) { in userfaultfd_register()
1488 start = vma->vm_end; in userfaultfd_register()
1605 vma_end = min(end, vma->vm_end); in userfaultfd_unregister()
1635 if (vma->vm_end > end) { in userfaultfd_unregister()
1651 start = vma->vm_end; in userfaultfd_unregister()
Dbinfmt_elf_fdpic.c1506 for (addr = vma->vm_start; addr < vma->vm_end; in elf_fdpic_dump_segments()
1523 vma->vm_end - vma->vm_start)) in elf_fdpic_dump_segments()
1537 size += vma->vm_end - vma->vm_start; in elf_core_vma_data_size()
1731 sz = vma->vm_end - vma->vm_start; in elf_fdpic_core_dump()
Dbinfmt_elf.c1391 return vma->vm_end - vma->vm_start; in vma_dump_size()
1633 *start_end_ofs++ = vma->vm_end; in fill_files_note()
2311 phdr.p_memsz = vma->vm_end - vma->vm_start; in elf_core_dump()
Ddax.c772 VM_BUG_ON_VMA(address < vma->vm_start || address >= vma->vm_end, vma); in pgoff_address()
1513 if ((pmd_addr + PMD_SIZE) > vma->vm_end) in dax_iomap_pmd_fault()
Dio_uring.c3661 unsigned long sz = vma->vm_end - vma->vm_start; in io_uring_mmap()
/fs/hugetlbfs/
Dinode.c174 vma_len = (loff_t)(vma->vm_end - vma->vm_start); in hugetlbfs_file_mmap()
437 v_end = vma->vm_end; in hugetlb_vmdelete_list()
441 if (v_end > vma->vm_end) in hugetlb_vmdelete_list()
442 v_end = vma->vm_end; in hugetlb_vmdelete_list()
/fs/coda/
Dfile.c142 count = vma->vm_end - vma->vm_start; in coda_file_mmap()
/fs/9p/
Dvfs_file.c615 (vma->vm_end - vma->vm_start - 1), in v9fs_mmap_vm_close()