Searched refs:MapFlags (Results 1 – 3 of 3) sorted by relevance
29 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()
34 syscall::{MapFlags, ProtFlags},241 map_flags: MapFlags, in map_anonymous() argument308 map_flags: MapFlags, in mmap() argument512 let map_flags = MapFlags::MAP_PRIVATE | MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED; in set_brk()662 flags: MapFlags, in find_free_at() argument678 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()
18 syscall::{MapFlags, ProtFlags},101 MapFlags::MAP_ANONYMOUS | MapFlags::MAP_FIXED_NOREPLACE, in set_elf_brk()170 map_flags: &MapFlags, in load_elf_segment() argument553 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()