Searched refs:map_flags (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/mm/ |
D | syscall.rs | 122 map_flags: usize, in mmap() 126 let map_flags = MapFlags::from_bits_truncate(map_flags as u64); in mmap() localVariable 130 && map_flags.contains(MapFlags::MAP_FIXED) in mmap() 139 if !map_flags.contains(MapFlags::MAP_ANONYMOUS) { in mmap() 145 if map_flags.contains(MapFlags::MAP_HUGETLB) { in mmap() 154 map_flags, in mmap()
|
D | ucontext.rs | 241 map_flags: MapFlags, in map_anonymous() 269 map_flags, in map_anonymous() 308 map_flags: MapFlags, in mmap() 320 .find_free_at(self.mmap_min, vaddr, page_count.bytes(), map_flags)? in mmap() 512 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED; in set_brk() localVariable 513 self.map_anonymous(old_brk, len, prot_flags, map_flags, true)? in set_brk() 1195 let map_flags = in new() localVariable 1206 map_flags, in new() 1248 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS; in initial_extend() localVariable 1257 map_flags, in initial_extend() [all …]
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | elf.rs | 170 map_flags: &MapFlags, in load_elf_segment() 224 .map_anonymous(addr_to_map, total_size, tmp_prot, *map_flags, false) in load_elf_segment() 256 .map_anonymous(addr_to_map, map_size, tmp_prot, *map_flags, false)? in load_elf_segment()
|