Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs179 let map_size = phent.p_filesz as usize + beginning_page_offset; in load_elf_segment() localVariable
180 let map_size = self.elf_page_align_up(VirtAddr::new(map_size)).data(); in load_elf_segment() localVariable
188 if map_size == 0 { in load_elf_segment()
229 let to_unmap = map_addr + map_size; in load_elf_segment()
230 let to_unmap_size = total_size - map_size; in load_elf_segment()
248 PageFrameCount::from_bytes(page_align_up(map_size)).unwrap(), in load_elf_segment()
256 .map_anonymous(addr_to_map, map_size, tmp_prot, *map_flags, false)? in load_elf_segment()
274 PageFrameCount::from_bytes(page_align_up(map_size)).unwrap(), in load_elf_segment()