/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | mount.rs | 26 self_ref: Weak<MountFS>, field 37 self_ref: Weak<MountFSInode>, field 49 self_ref: Weak::default(), in new() 66 (*ptr).self_ref = weak; in wrap() 76 mount_fs: self.self_ref.upgrade().unwrap(), in mountpoint_root_inode() 77 self_ref: Weak::default(), in mountpoint_root_inode() 99 (*ptr).self_ref = weak; in wrap() 123 return self.self_ref.upgrade().unwrap(); in overlaid_inode() 215 self_ref: Weak::default(), in create() 264 "" | "." => return Ok(self.self_ref.upgrade().unwrap()), in find() [all …]
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 23 self_ref: Weak<LockedNullInode>, field 37 self_ref: Weak::default(), in new() 58 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | zero_dev.rs | 23 self_ref: Weak<LockedZeroInode>, field 37 self_ref: Weak::default(), in new() 58 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | mod.rs | 62 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new() 187 self_ref: Weak<LockedDevFSInode>, field 209 self_ref: Weak::default(), in new_with_parent() 288 parent: guard.self_ref.clone(), in do_create_with_data() 289 self_ref: Weak::default(), in do_create_with_data() 311 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data() 355 return Ok(inode.self_ref.upgrade().ok_or(-(ENOENT as i32))?); in find()
|
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/ |
D | mod.rs | 47 self_ref: Weak<LockedRamFSInode>, field 82 self_ref: Weak::default(), in new() 109 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 254 parent: inode.self_ref.clone(), in create_with_data() 255 self_ref: Weak::default(), in create_with_data() 278 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data() 310 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 386 return Ok(inode.self_ref.upgrade().ok_or(-(ENOENT as i32))?); in find()
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 25 self_ref: Weak<LockedAhciInode>, field 41 self_ref: Weak::default(), in new() 63 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | ahcidisk.rs | 33 self_ref: Weak<LockedAhciDisk>, field 329 self_ref: Weak::default(), in new() 349 result.0.lock().self_ref = weak_this; in new() 431 return self.0.lock().self_ref.upgrade().unwrap(); in device()
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 22 self_ref: Weak<LockedPS2KeyBoardInode>, field 35 self_ref: Weak::default(), in new() 57 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 92 self_ref: Weak<LockedProcFSInode>, field 240 self_ref: Weak::default(), in new() 271 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(-(ENOENT as i32))?); in find()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 94 self_ref: Weak<LockedFATInode>, field 140 self.self_ref.clone(), in find() 175 self_ref: Weak::default(), in new() 201 inode.0.lock().self_ref = Arc::downgrade(&inode); in new() 287 self_ref: Weak::default(), in new() 325 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 1485 guard.self_ref.clone(), in list()
|