/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mount.rs | 23 self_ref: Weak<MountFS>, field 34 self_ref: Weak<MountFSInode>, field 46 self_ref: Weak::default(), in new() 63 (*ptr).self_ref = weak; in wrap() 73 mount_fs: self.self_ref.upgrade().unwrap(), in mountpoint_root_inode() 74 self_ref: Weak::default(), in mountpoint_root_inode() 96 (*ptr).self_ref = weak; in wrap() 120 return self.self_ref.upgrade().unwrap(); in overlaid_inode() 210 self_ref: Weak::default(), in create() 259 "" | "." => return Ok(self.self_ref.upgrade().unwrap()), in find() [all …]
|
/DragonOS-0.1.8/kernel/src/time/ |
D | jiffies.rs | 31 self_ref: Weak<ClocksourceJiffies>, field 45 self.0.lock().self_ref.upgrade().unwrap() in clocksource() 77 self_ref: Default::default(), in new() 79 jieffies.0.lock().self_ref = Arc::downgrade(&jieffies); in new()
|
D | timer.rs | 76 self_ref: Weak::default(), in new() 79 result.0.lock().self_ref = Arc::downgrade(&result); in new() 93 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate() 109 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate() 135 self_ref: Weak<Timer>, field
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 105 root_guard.self_ref = Arc::downgrade(&sysfs.root_inode); in new() 249 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 304 parent: guard.self_ref.clone(), in do_create_with_data() 305 self_ref: Weak::default(), in do_create_with_data() 327 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data() 379 .self_ref in link() 405 self_ref: Weak<LockedSysFSInode>, field 427 self_ref: Weak::default(), in new_with_parent()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 20 self_ref: Weak<LockedNullInode>, field 34 self_ref: Weak::default(), in new() 55 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | zero_dev.rs | 20 self_ref: Weak<LockedZeroInode>, field 34 self_ref: Weak::default(), in new() 55 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | mod.rs | 63 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new() 202 self_ref: Weak<LockedDevFSInode>, field 224 self_ref: Weak::default(), in new_with_parent() 307 parent: guard.self_ref.clone(), in do_create_with_data() 308 self_ref: Weak::default(), in do_create_with_data() 330 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data() 377 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 45 self_ref: Weak<LockedRamFSInode>, field 80 self_ref: Weak::default(), in new() 107 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 250 parent: inode.self_ref.clone(), in create_with_data() 251 self_ref: Weak::default(), in create_with_data() 274 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data() 306 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 382 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 23 self_ref: Weak<LockedAhciInode>, field 39 self_ref: Weak::default(), in new() 61 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | ahcidisk.rs | 34 self_ref: Weak<LockedAhciDisk>, field 377 self_ref: Weak::default(), in new() 397 result.0.lock().self_ref = weak_this; in new() 479 return self.0.lock().self_ref.upgrade().unwrap(); in device()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 36 self_ref: Weak<LockedPS2KeyBoardInode>, field 49 self_ref: Weak::default(), in new() 74 result.0.write().self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 92 self_ref: Weak<LockedProcFSInode>, field 242 self_ref: Weak::default(), in new() 273 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 492 parent: inode.self_ref.clone(), in create_with_data() 493 self_ref: Weak::default(), in create_with_data() 520 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data() 552 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 597 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 26 self_ref: Weak<LockedPipeInode>, field 40 self_ref: Weak::default(), in new() 67 guard.self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | ucontext.rs | 806 r.0.lock().self_ref = Arc::downgrade(&r); in new() 904 return Some((None, guard.self_ref.upgrade().unwrap(), None)); in extract() 928 return Some((before, guard.self_ref.upgrade().unwrap(), after)); in extract() 943 self_ref: Weak<LockedVMA>, field 971 self_ref: self.self_ref.clone(), in clone() 1067 self_ref: Weak::default(), in physmap() 1115 self_ref: Weak::default(), in zeroed()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 93 self_ref: Weak<LockedFATInode>, field 139 self.self_ref.clone(), in find() 174 self_ref: Weak::default(), in new() 200 inode.0.lock().self_ref = Arc::downgrade(&inode); in new() 293 self_ref: Weak::default(), in new() 331 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 1531 guard.self_ref.clone(), in list()
|