Lines Matching refs:r

377         for r in regions {  in munmap()
378 let r = r.lock().region; in munmap() localVariable
379 let r = self.mappings.remove_vma(&r).unwrap(); in munmap() localVariable
380 let intersection = r.lock().region().intersect(&to_unmap).unwrap(); in munmap()
381 let (before, r, after) = r.extract(intersection).unwrap(); in munmap()
395 r.unmap(&mut self.user_mapper.utable, &mut flusher); in munmap()
430 for r in regions { in mprotect()
432 let r = r.lock().region().clone(); in mprotect() localVariable
433 let r = self.mappings.remove_vma(&r).unwrap(); in mprotect() localVariable
435 let intersection = r.lock().region().intersect(&region).unwrap(); in mprotect()
436 let (before, r, after) = r.extract(intersection).expect("Failed to extract VMA"); in mprotect()
445 let mut r_guard = r.lock(); in mprotect()
449 self.mappings.insert_vma(r.clone()); in mprotect()
460 self.mappings.insert_vma(r); in mprotect()
619 let r = self in conflicts() localVariable
624 return r; in conflicts()
805 let r = Arc::new(Self(SpinLock::new(vma))); in new() localVariable
806 r.0.lock().self_ref = Arc::downgrade(&r); in new()
807 return r; in new()
833 let r = unsafe { in remap() localVariable
838 flusher.consume(r); in remap()
998 let r = unsafe { in remap() localVariable
1004 flusher.consume(r); in remap()
1045 let r = unsafe { in physmap() localVariable
1055 flusher.consume(r); in physmap()
1062 let r: Arc<LockedVMA> = LockedVMA::new(VMA { in physmap() localVariable
1069 return Ok(r); in physmap()
1098 let r = unsafe { mapper.map(cur_dest.virt_address(), flags) } in zeroed() localVariable
1104 flusher.consume(r); in zeroed()
1107 let r = LockedVMA::new(VMA { in zeroed() localVariable
1132 return Ok(r); in zeroed()