Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/mm/
Dvma.c104 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()
Dmmap.c333 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()
Dmm-types.h124 uint64_t vm_end; // 区域的结束地址 member
Dmmio_buddy.rs588 31 - ((*vma).vm_end - (*vma).vm_start).leading_zeros() in release_mmio()
591 loop_i += unsafe { (*vma).vm_end - (*vma).vm_start }; in release_mmio()
/DragonOS-0.1.5/kernel/src/process/
Dfork.c222 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()
Dprocess.c830 uint64_t size = (cur_vma->vm_end - cur_vma->vm_start); in process_exit_mm()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs174 unsafe { *(*pcb.mm).vmas }.vm_end - unsafe { *(*pcb.mm).vmas }.vm_start; in open_status()