Searched refs:vm_end (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.2/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 | mmio.c | 104 retval = __mmio_buddy_give_back(vma->vm_start, 31 - __clz(vma->vm_end - vma->vm_start)); in mmio_release() 105 i += vma->vm_end - vma->vm_start; in mmio_release()
|
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
|
/DragonOS-0.1.2/kernel/src/process/ |
D | fork.c | 247 if (vma->vm_end > USER_MAX_LINEAR_ADDR || vma->vm_flags & VM_DONTCOPY) in process_copy_mm() 253 int64_t vma_size = vma->vm_end - vma->vm_start; in process_copy_mm()
|
D | process.c | 765 uint64_t size = (cur_vma->vm_end - cur_vma->vm_start); in process_exit_mm()
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 147 hiwater_vm = pcb_t->mm->vmas->vm_end - pcb_t->mm->vmas->vm_start; in procfs_open()
|