Lines Matching refs:self_ref
46 self_ref: Weak<MountFS>, field
58 self_ref: Weak<MountFSInode>, field
66 return Arc::new_cyclic(|self_ref| MountFS { in new()
70 self_ref: self_ref.clone(), in new()
88 (*ptr).self_ref = weak; in wrap()
96 return Arc::new_cyclic(|self_ref| MountFSInode { in mountpoint_root_inode()
98 mount_fs: self.self_ref.upgrade().unwrap(), in mountpoint_root_inode()
99 self_ref: self_ref.clone(), in mountpoint_root_inode()
107 pub fn self_ref(&self) -> Arc<Self> { in self_ref() method
108 self.self_ref.upgrade().unwrap() in self_ref()
138 (*ptr).self_ref = weak; in wrap()
163 return self.self_ref.upgrade().unwrap(); in overlaid_inode()
171 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in do_find()
174 self_ref: self_ref.clone(), in do_find()
185 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in do_parent()
188 self_ref: self_ref.clone(), in do_parent()
192 return Ok(self.self_ref.upgrade().unwrap()); in do_parent()
198 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in do_parent()
201 self_ref: self_ref.clone(), in do_parent()
221 let mut current = self.self_ref.upgrade().unwrap(); in do_absolute_path()
268 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in create_with_data()
271 self_ref: self_ref.clone(), in create_with_data()
332 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in create()
335 self_ref: self_ref.clone(), in create()
384 .self_ref in find()
450 let new_mount_fs = MountFS::new(to_mount_fs, Some(self.self_ref.upgrade().unwrap())); in mount()
501 return Ok(Arc::new_cyclic(|self_ref| MountFSInode { in mknod()
504 self_ref: self_ref.clone(), in mknod()