/DragonOS/kernel/src/sched/ |
H A D | completion.rs | 15 inner: SpinLock<InnerCompletion>, field 31 let mut inner = self.inner.lock_irqsave(); in do_wait_for_common() localVariable 93 let mut inner = self.inner.lock_irqsave(); in complete() localVariable 103 let mut inner = self.inner.lock_irqsave(); in complete_all() localVariable 114 let mut inner = self.inner.lock_irqsave(); in try_wait_for_completion() localVariable 130 let inner = self.inner.lock_irqsave(); in completion_done() localVariable
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | manager.rs | 37 inner: SpinLock<InnerBlockDevManager>, field 52 fn inner(&self) -> SpinLockGuard<InnerBlockDevManager> { in inner() method 58 let mut inner = self.inner(); in register() localVariable 139 let mut inner = self.inner(); in unregister() localVariable 152 let inner = self.inner(); in lookup_gendisk_by_path() localVariable 165 let inner = self.inner(); in print_gendisks() localVariable 211 inner: SpinLock<InnerBlockDevMeta>, field 228 fn inner(&self) -> SpinLockGuard<InnerBlockDevMeta> { in inner() method
|
/DragonOS/kernel/src/driver/scsi/ |
H A D | mod.rs | 28 inner: SpinLock<InnerScsiManager>, field 48 fn inner(&self) -> SpinLockGuard<InnerScsiManager> { in inner() method 53 let mut inner = self.inner(); in alloc_id() localVariable
|
/DragonOS/kernel/src/mm/ |
H A D | memblock.rs | 26 inner: SpinLock<InnerMemBlockManager>, field 73 let mut inner = self.inner.lock(); in add_range() localVariable 234 let mut inner = self.inner.lock(); in remove_block() localVariable 372 let mut inner = self.inner.lock(); in set_or_clear_flags() localVariable 394 let inner = self.inner.lock(); in is_overlapped() localVariable 400 let inner = self.inner.lock(); in is_overlapped_with_reserved() localVariable 438 let inner = self.inner.lock(); in to_iter() localVariable 448 let inner = self.inner.lock(); in to_iter_available() localVariable 458 let inner = self.inner.lock(); in total_initial_memory_regions() localVariable 464 let inner = self.inner.lock(); in get_initial_memory_region() localVariable [all …]
|
H A D | percpu.rs | 58 inner: Vec<T>, field
|
/DragonOS/kernel/src/libs/ |
H A D | mutex.rs | 34 inner: SpinLock<MutexInner>, field 64 let mut inner: SpinLockGuard<MutexInner> = self.inner.lock(); in lock() localVariable 93 let mut inner = self.inner.lock(); in try_lock() localVariable 117 let mut inner: SpinLockGuard<MutexInner> = self.inner.lock(); in unlock() localVariable
|
H A D | rwlock.rs | 56 inner: &'a RwLock<T>, field 65 inner: &'a RwLock<T>, field 424 let inner = self.inner; in try_upgrade() localVariable 460 let inner: &RwLock<T> = self.inner; in downgrade() localVariable 515 let inner = self.inner; in downgrade() localVariable 537 let inner = self.inner; in downgrade_to_upgradeable() localVariable
|
H A D | lock_free_flags.rs | 12 inner: UnsafeCell<T>, field
|
H A D | once.rs | 9 inner: AtomicOnceState, field
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | hpet.rs | 54 inner: RwLock<InnerHpet>, field 172 fn inner(&self) -> RwLockReadGuard<InnerHpet> { in inner() method 182 let inner = self.inner(); in timer() localVariable 201 let inner = self.inner_mut(); in timer_mut() localVariable 217 let inner = self.inner(); in hpet_regs() localVariable 223 let mut inner = self.inner_mut(); in hpet_regs_mut() localVariable
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 101 inner: SpinLock<InnerVirtIOBlkManager>, field 121 fn inner(&self) -> SpinLockGuard<InnerVirtIOBlkManager> { in inner() method 126 let mut inner = self.inner(); in alloc_id() localVariable 157 inner: SpinLock<InnerVirtIOBlkDevice>, field 201 fn inner(&self) -> SpinLockGuard<InnerVirtIOBlkDevice> { in inner() method 216 let inner = self.inner(); in disk_range() localVariable 233 let mut inner = self.inner(); in read_at_sync() localVariable 494 inner: SpinLock<InnerVirtIOBlkDriver>, field 500 let inner = InnerVirtIOBlkDriver { in new() localVariable 519 fn inner(&self) -> SpinLockGuard<InnerVirtIOBlkDriver> { in inner() method
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | lapic_vector.rs | 43 inner: SpinLock<InnerIrqChip>, field 104 let inner = apicd.inner(); in retrigger() localVariable 126 inner: SpinLock<InnerApicChipData>, field 150 pub fn inner(&self) -> SpinLockGuard<InnerApicChipData> { in inner() method
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | mod.rs | 71 inner: SpinLock<InnerVirtConsole>, field 142 inner: SpinLock<InnerVirtConsoleManager>, field 161 let inner = self.inner.lock(); in get() localVariable 166 let mut inner = self.inner.lock(); in alloc() localVariable 179 let mut inner = self.inner.lock(); in free() localVariable 213 let inner = self.inner.lock(); in lookup_vc_by_tty_name() localVariable
|
/DragonOS/kernel/src/driver/pci/ |
H A D | root.rs | 229 inner: SpinLock<InnerPciRootManager>, field 253 let mut inner = self.inner.lock(); in add_pci_root() localVariable 316 inner: SpinLockGuard<'a, InnerPciRootManager>, field
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 120 inner: RwLock<InnerFrameBufferManager>, field 168 let mut inner = self.inner.write(); in register_fb() localVariable 190 let inner = self.inner.read(); in find_fb_by_id() localVariable 212 inner: SpinLock<InnerFbDevice>, field 256 fn inner(&self) -> SpinLockGuard<InnerFbDevice> { in inner() method
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 71 inner: SpinLock<InnerVirtIONetDevice>, field 129 fn inner(&self) -> SpinLockGuard<InnerVirtIONetDevice> { in inner() method 303 inner: VirtIONet<HalImpl, VirtIOTransport, 2>, field 354 pub inner: Arc<SpinLock<VirtIoNetImpl>>, field 378 inner: SpinLock<InnerVirtIOInterface>, field 426 fn inner(&self) -> SpinLockGuard<InnerVirtIOInterface> { in inner() method 521 let inner = Arc::new(SpinLock::new(VirtIoNetImpl::new(driver_net))); in new() localVariable 795 inner: SpinLock<InnerVirtIODriver>, field 801 let inner = InnerVirtIODriver { in new() localVariable 820 fn inner(&self) -> SpinLockGuard<InnerVirtIODriver> { in inner() method
|
H A D | loopback.rs | 169 pub inner: Arc<SpinLock<Loopback>>, field 175 let inner = Arc::new(SpinLock::new(Loopback::new())); in new() localVariable 256 inner: SpinLock<InnerLoopbackInterface>, field 308 fn inner(&self) -> SpinLockGuard<InnerLoopbackInterface> { in inner() method
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 117 inner: SpinLock<InnerPlicHandler>, field 128 let inner = InnerPlicHandler { in new() localVariable 141 let inner = self.inner(); in set_threshold() localVariable 168 fn inner(&self) -> SpinLockGuard<InnerPlicHandler> { in inner() method 173 let inner = self.inner(); in toggle() localVariable
|
H A D | riscv_intc.rs | 41 inner: SpinLock<InnerIrqChip>, field 104 fn inner(&self) -> SpinLockGuard<InnerIrqChip> { in inner() method
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 44 inner: SpinLock<InnerPipeInode>, field 129 let inner = InnerPipeInode { in new() localVariable 168 pub fn inner(&self) -> &SpinLock<InnerPipeInode> { in inner() method
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 45 pub inner: Arc<SpinLock<E1000EDevice>>, field 88 inner: SpinLock<InnerE1000EInterface>, field 133 let inner: Arc<SpinLock<E1000EDevice>> = Arc::new(SpinLock::new(device)); in new() localVariable 221 pub fn inner(&self) -> SpinLockGuard<InnerE1000EInterface> { in inner() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 42 inner: SpinLock<InnerCmosPlatformDriver>, field 59 fn inner(&self) -> SpinLockGuard<InnerCmosPlatformDriver> { in inner() method
|
/DragonOS/kernel/src/time/ |
H A D | timer.rs | 108 inner: SpinLock<InnerTimer>, field 134 pub fn inner(&self) -> SpinLockGuard<InnerTimer> { in inner() method
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 29 inner: SpinLock<InnerI8042AuxPort>, field 51 fn inner(&self) -> SpinLockGuard<InnerI8042AuxPort> { in inner() method
|
H A D | i8042_device.rs | 27 inner: SpinLock<InnerI8042PlatformDevice>, field 46 fn inner(&self) -> SpinLockGuard<InnerI8042PlatformDevice> { in inner() method
|