/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | mount.rs | 29 self_ref: Weak<MountFS>, field 40 self_ref: Weak<MountFSInode>, field 52 self_ref: Weak::default(), in new() 69 (*ptr).self_ref = weak; in wrap() 79 mount_fs: self.self_ref.upgrade().unwrap(), in mountpoint_root_inode() 80 self_ref: Weak::default(), in mountpoint_root_inode() 104 (*ptr).self_ref = weak; in wrap() 129 return self.self_ref.upgrade().unwrap(); in overlaid_inode() 155 self_ref: Weak::default(), in create_with_data() 219 self_ref: Weak::default(), in create() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | kset.rs | 28 self_ref: Weak<KSet>, field 33 self.self_ref.as_ptr().hash(state); in hash() 42 self.self_ref.as_ptr() == other.self_ref.as_ptr() in eq() 53 self_ref: Weak::default(), in new() 60 (*p).self_ref = Arc::downgrade(&r); in new() 92 return KObjectManager::add_kobj(self.self_ref.upgrade().unwrap(), join_kset); in register() 99 KObjectManager::remove_kobj(self.self_ref.upgrade().unwrap()); in unregister() 111 kobj.set_kset(self.self_ref.upgrade()); in join() 141 return self.self_ref.upgrade().unwrap(); in as_kobject()
|
/DragonOS-0.1.9/kernel/src/time/ |
D | jiffies.rs | 32 self_ref: Weak<ClocksourceJiffies>, field 46 self.0.lock().self_ref.upgrade().unwrap() in clocksource() 78 self_ref: Default::default(), in new() 80 jieffies.0.lock().self_ref = Arc::downgrade(&jieffies); in new()
|
D | timer.rs | 77 self_ref: Weak::default(), in new() 82 result.inner.lock().self_ref = Arc::downgrade(&result); in new() 100 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate() 116 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate() 144 let this_arc = self.inner().self_ref.upgrade().unwrap(); in cancel() 161 self_ref: Weak<Timer>, field
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
D | mm.rs | 26 self_ref: Weak<Self>, field 58 self_ref: Weak::new(), in new() 65 let self_ref = Arc::downgrade(&r); in new() localVariable 67 (*r_ptr).self_ref = self_ref; in new() 122 let monitor_weak = self.self_ref.clone(); in create_threads()
|
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/ |
D | mod.rs | 49 self_ref: Weak<LockedRamFSInode>, field 86 self_ref: Weak::default(), in new() 114 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 272 parent: inode.self_ref.clone(), in create_with_data() 273 self_ref: Weak::default(), in create_with_data() 297 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data() 329 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 405 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 493 parent: inode.self_ref.clone(), in mknod() 494 self_ref: Weak::default(), in mknod() [all …]
|
/DragonOS-0.1.9/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 22 self_ref: Weak<LockedNullInode>, field 36 self_ref: Weak::default(), in new() 57 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | zero_dev.rs | 22 self_ref: Weak<LockedZeroInode>, field 36 self_ref: Weak::default(), in new() 57 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | mod.rs | 68 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new() 225 self_ref: Weak<LockedDevFSInode>, field 247 self_ref: Weak::default(), in new_with_parent() 336 parent: guard.self_ref.clone(), in do_create_with_data() 337 self_ref: Weak::default(), in do_create_with_data() 359 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data() 406 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/ |
D | i8042_driver.rs | 42 self_ref: Weak::new(), in new() 47 r.inner.lock().self_ref = Arc::downgrade(&r); in new() 62 self_ref: Weak<I8042Driver>, field 74 device.set_driver(Some(self.inner.lock().self_ref.clone())); in probe()
|
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/ |
D | mod.rs | 65 (*ptr).self_ref = Arc::downgrade(&root_inode); in new() 98 self_ref: Weak::new(), in create_root_inode() 116 self_ref: Weak<KernFSInode>, field 148 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in open() 217 return Ok(self.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find() 338 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in read_at() 362 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in write_at() 391 self_ref: Weak::new(), in new() 402 (*ptr).self_ref = Arc::downgrade(&inode); in new() 520 Some(self.self_ref.upgrade().unwrap()), in inner_create()
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 24 self_ref: Weak<LockedAhciInode>, field 40 self_ref: Weak::default(), in new() 62 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | ahcidisk.rs | 46 self_ref: Weak<LockedAhciDisk>, field 374 self_ref: Weak::default(), in new() 394 result.0.lock().self_ref = Arc::downgrade(&result); in new() 556 return self.0.lock().self_ref.upgrade().unwrap(); in device()
|
/DragonOS-0.1.9/kernel/src/virt/kvm/ |
D | kvm_dev.rs | 40 self_ref: Weak<LockedKvmInode>, field 53 self_ref: Weak::default(), in new() 74 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | vcpu_dev.rs | 50 self_ref: Weak<LockedVcpuInode>, field 64 self_ref: Weak::default(), in new() 88 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
D | vm_dev.rs | 48 self_ref: Weak<LockedVmInode>, field 62 self_ref: Weak::default(), in new() 86 result.0.lock().self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | kthread.rs | 129 self_ref: Weak<Self>, field 151 self_ref: Weak::new(), in new() 157 (*tmp).self_ref = Arc::downgrade(&result); in new() 183 let self_ref = self.self_ref.upgrade().unwrap(); in poll_result() localVariable 184 unsafe { Arc::decrement_strong_count(&self_ref) }; in poll_result()
|
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/ |
D | ps_mouse_driver.rs | 91 self_ref: Weak::new(), in new() 96 r.inner.lock().self_ref = Arc::downgrade(&r); in new() 122 self_ref: Weak<Ps2MouseDriver>, field 244 device.set_driver(Some(self.inner.lock_irqsave().self_ref.clone())); in connect()
|
/DragonOS-0.1.9/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 63 self_ref: Weak<LockedPS2KeyBoardInode>, field 74 self_ref: Weak::default(), in new() 95 result.0.write().self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.9/kernel/src/filesystem/procfs/ |
D | mod.rs | 108 self_ref: Weak<LockedProcFSInode>, field 292 self_ref: Weak::default(), in new() 323 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 566 parent: inode.self_ref.clone(), in create_with_data() 567 self_ref: Weak::default(), in create_with_data() 594 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data() 626 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 671 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | mod.rs | 379 self_ref: Weak<Self>, field 388 self_ref: Weak::default(), in new() 393 (*p).self_ref = Arc::downgrade(&r); in new() 420 isa_dev.set_driver(Some(self.self_ref.clone())); in probe()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | ucontext.rs | 895 r.0.lock().self_ref = Arc::downgrade(&r); in new() 993 return Some((None, guard.self_ref.upgrade().unwrap(), None)); in extract() 1017 return Some((before, guard.self_ref.upgrade().unwrap(), after)); in extract() 1034 self_ref: Weak<LockedVMA>, field 1067 self_ref: Weak::default(), in new() 1100 self_ref: self.self_ref.clone(), in clone() 1206 self_ref: Weak::default(), in physmap() 1257 self_ref: Weak::default(), in zeroed()
|
/DragonOS-0.1.9/kernel/src/ipc/ |
D | pipe.rs | 45 self_ref: Weak<LockedPipeInode>, field 106 self_ref: Weak::default(), in new() 136 guard.self_ref = Arc::downgrade(&result); in new()
|
/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | mod.rs | 50 self_ref: Option<Weak<SpinLock<EventPoll>>>, field 63 self_ref: None, in new() 236 epoll.0.lock_irqsave().self_ref = Some(Arc::downgrade(&epoll.0)); in do_create_epoll() 639 file_guard.remove_epoll(epoll.self_ref.as_ref().unwrap())?; in ep_remove()
|
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | fs.rs | 98 self_ref: Weak<LockedFATInode>, field 147 self.self_ref.clone(), in find() 182 self_ref: Weak::default(), in new() 209 inode.0.lock().self_ref = Arc::downgrade(&inode); in new() 302 self_ref: Weak::default(), in new() 341 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new() 1540 guard.self_ref.clone(), in list() 1704 inode.self_ref.clone(), in mknod()
|