Home
last modified time | relevance | path

Searched refs:self_ref (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs26 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/
Dnull_dev.rs23 self_ref: Weak<LockedNullInode>, field
37 self_ref: Weak::default(), in new()
58 result.0.lock().self_ref = Arc::downgrade(&result); in new()
Dzero_dev.rs23 self_ref: Weak<LockedZeroInode>, field
37 self_ref: Weak::default(), in new()
58 result.0.lock().self_ref = Arc::downgrade(&result); in new()
Dmod.rs62 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/
Dmod.rs47 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/
Dahci_inode.rs25 self_ref: Weak<LockedAhciInode>, field
41 self_ref: Weak::default(), in new()
63 result.0.lock().self_ref = Arc::downgrade(&result); in new()
Dahcidisk.rs33 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/
Dps2_keyboard.rs22 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/
Dmod.rs92 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/
Dfs.rs94 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()