Lines Matching refs:flags
166 let old_flags = vma_guard.flags(); in try_clone()
270 move |page, count, flags, mapper, flusher| { in map_anonymous()
271 Ok(VMA::zeroed(page, count, flags, mapper, flusher)?) in map_anonymous()
454 .flags() in mprotect()
662 flags: MapFlags, in find_free_at()
678 if flags.contains(MapFlags::MAP_FIXED_NOREPLACE) { in find_free_at()
683 if flags.contains(MapFlags::MAP_FIXED) { in find_free_at()
824 flags: PageFlags<MMArch>, in remap()
835 .remap(page.virt_address(), flags) in remap()
840 guard.flags = flags; in remap()
938 flags: PageFlags<MMArch>, field
949 self.flags.hash(state); in hash()
968 flags: self.flags, in clone()
976 pub fn flags(&self) -> PageFlags<MMArch> { in flags() method
977 return self.flags; in flags()
989 flags: PageFlags<MMArch>, in remap()
1000 .remap(page.virt_address(), flags) in remap()
1007 self.flags = flags; in remap()
1017 return (self.flags.has_write() || !prot_flags.contains(ProtFlags::PROT_WRITE)) in can_have_flags()
1018 && (self.flags.has_execute() || !prot_flags.contains(ProtFlags::PROT_EXEC)); in can_have_flags()
1035 flags: PageFlags<MMArch>, in physmap()
1046 mapper.map_phys(cur_dest.virt_address(), cur_phy.phys_address(), flags) in physmap()
1064 flags, in physmap()
1084 flags: PageFlags<MMArch>, in zeroed()
1098 let r = unsafe { mapper.map(cur_dest.virt_address(), flags) } in zeroed()
1112 flags, in zeroed()