Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dsyscall.rs29 pub struct MapFlags: u64 {
126 let map_flags = MapFlags::from_bits_truncate(map_flags as u64); in mmap()
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()
Ducontext.rs34 syscall::{MapFlags, ProtFlags},
241 map_flags: MapFlags, in map_anonymous() argument
308 map_flags: MapFlags, in mmap() argument
512 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED; in set_brk()
662 flags: MapFlags, in find_free_at() argument
678 if flags.contains(MapFlags::MAP_FIXED_NOREPLACE) { in find_free_at()
683 if flags.contains(MapFlags::MAP_FIXED) { in find_free_at()
1196 MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED_NOREPLACE; in new()
1248 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS; in initial_extend()
1282 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS; in extend()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs18 syscall::{MapFlags, ProtFlags},
101 MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED_NOREPLACE, in set_elf_brk()
170 map_flags: &MapFlags, in load_elf_segment() argument
553 let mut elf_map_flags = MapFlags::MAP_PRIVATE; in load()
558 elf_map_flags.insert(MapFlags::MAP_FIXED_NOREPLACE); in load()
565 elf_map_flags.insert(MapFlags::MAP_FIXED_NOREPLACE); in load()