Lines Matching refs:flags
174 let old_flags = vma_guard.flags(); in try_clone()
289 move |page, count, flags, mapper, flusher| { in map_anonymous()
290 Ok(VMA::zeroed(page, count, vm_flags, flags, mapper, flusher)?) in map_anonymous()
542 .flags() in mprotect()
751 flags: MapFlags, in find_free_at()
767 if flags.contains(MapFlags::MAP_FIXED_NOREPLACE) { in find_free_at()
772 if flags.contains(MapFlags::MAP_FIXED) { in find_free_at()
913 flags: PageFlags<MMArch>, in remap()
924 .remap(page.virt_address(), flags) in remap()
929 guard.flags = flags; in remap()
1029 flags: PageFlags<MMArch>, field
1042 self.flags.hash(state); in hash()
1058 flags: PageFlags<MMArch>, in new()
1064 flags, in new()
1097 flags: self.flags, in clone()
1106 pub fn flags(&self) -> PageFlags<MMArch> { in flags() method
1107 return self.flags; in flags()
1119 flags: PageFlags<MMArch>, in remap()
1130 .remap(page.virt_address(), flags) in remap()
1137 self.flags = flags; in remap()
1147 let is_downgrade = (self.flags.has_write() || !prot_flags.contains(ProtFlags::PROT_WRITE)) in can_have_flags()
1148 && (self.flags.has_execute() || !prot_flags.contains(ProtFlags::PROT_EXEC)); in can_have_flags()
1173 flags: PageFlags<MMArch>, in physmap()
1184 mapper.map_phys(cur_dest.virt_address(), cur_phy.phys_address(), flags) in physmap()
1203 flags, in physmap()
1225 flags: PageFlags<MMArch>, in zeroed()
1239 let r = unsafe { mapper.map(cur_dest.virt_address(), flags) } in zeroed()
1254 flags, in zeroed()