Searched refs:vm_end (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.7/kernel/src/mm/ |
D | vma.c | 104 if (vma->vm_end > addr) in vma_find() 128 if (prev && prev->vm_start <= vma->vm_start && prev->vm_end >= vma->vm_end) in vma_insert() 134 …a->vm_start >= prev->vm_start && vma->vm_start <= prev->vm_end) || (prev->vm_start <= vma->vm_end … in vma_insert() 137 …OUND(vma->vm_start, prev->vm_start)) && (!CROSS_2M_BOUND(vma->vm_end, prev->vm_end))&& vma->vm_end) in vma_insert() 140 … kdebug("before combining vma:vm_start = %#018lx, vm_end = %#018lx\n", vma->vm_start, vma->vm_end); in vma_insert() 143 prev->vm_end = (vma->vm_end > prev->vm_end) ? vma->vm_end : prev->vm_end; in vma_insert() 146 …v:vm_start = %018lx, vm_end = %018lx\n", vma->vm_start, vma->vm_end, prev->vm_start, prev->vm_end); in vma_insert()
|
D | mmap.c | 333 vma->vm_end = vaddr + length; in mm_create_vma() 392 BUG_ON(vma->vm_start + offset + length > vma->vm_end); in mm_map_vma() 494 uint64_t m_len = vma->vm_end - vma->vm_start - offset; in mm_map() 528 mm_unmap_proc_table((uint64_t)mm->pgd, true, vma->vm_start, vma->vm_end - vma->vm_start); in mm_unmap_vma() 570 unmapped += vma->vm_end - vma->vm_start; in mm_unmap()
|
D | mm-types.h | 124 uint64_t vm_end; // 区域的结束地址 member
|
D | mmio_buddy.rs | 589 31 - ((*vma).vm_end - (*vma).vm_start).leading_zeros() in release_mmio() 592 loop_i += unsafe { (*vma).vm_end - (*vma).vm_start }; in release_mmio()
|
/DragonOS-0.1.7/kernel/src/process/ |
D | fork.c | 222 if (vma->vm_end > USER_MAX_LINEAR_ADDR || vma->vm_flags & VM_DONTCOPY) in process_copy_mm() 228 int64_t vma_size = vma->vm_end - vma->vm_start; in process_copy_mm()
|
D | process.c | 847 uint64_t size = (cur_vma->vm_end - cur_vma->vm_start); in process_exit_mm()
|
/DragonOS-0.1.7/kernel/src/filesystem/procfs/ |
D | mod.rs | 173 unsafe { *(*pcb.mm).vmas }.vm_end - unsafe { *(*pcb.mm).vmas }.vm_start; in open_status()
|