Home
last modified time | relevance | path

Searched refs:end_addr (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/io/
Ddevice.rs209 pub fn new(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new()
212 end: end_addr, in new()
217 pub fn new_multiblock(start_addr: usize, end_addr: usize, blk_size_log2: u8) -> BlockIter { in new_multiblock()
220 end: end_addr, in new_multiblock()
/DragonOS-0.1.7/kernel/src/mm/
Dmm.c635 uint64_t end_addr = PAGE_2M_ALIGN(old_brk_end_addr + offset); in mm_do_brk() local
638 for (uint64_t i = old_brk_end_addr; i < end_addr; i += PAGE_2M_SIZE) in mm_do_brk()
645 current_pcb->mm->brk_end = end_addr; in mm_do_brk()
651 for (uint64_t i = end_addr; i < old_brk_end_addr; i += PAGE_2M_SIZE) in mm_do_brk()
660 return end_addr; in mm_do_brk()
666 …mm_unmap_proc_table((uint64_t)phys_2_virt((uint64_t)current_pcb->mm->pgd), false, end_addr, PAGE_2… in mm_do_brk()
669 return end_addr; in mm_do_brk()