Searched refs:_guard (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/driver/tty/ |
H A D | kthread.rs | 38 let _guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in tty_refresh_thread() localVariable
|
/DragonOS/kernel/src/process/ |
H A D | idle.rs | 65 let (rq, _guard) = rq.self_lock(); in init_idle()
|
H A D | mod.rs | 228 let _guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in wakeup() localVariable 243 let (rq, _guard) = rq.self_lock(); in wakeup() 268 let _guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in wakeup_stop() localVariable 280 let (rq, _guard) = rq.self_lock(); in wakeup_stop() 386 let _guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in exit() localVariable
|
/DragonOS/kernel/src/sched/ |
H A D | pelt.rs | 211 let (rq, _guard) = rq.self_lock(); in cfs_rq_clock_pelt()
|
H A D | mod.rs | 822 let _guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in schedule() localVariable 842 let (rq, _guard) = rq.self_lock(); in __schedule()
|
H A D | fair.rs | 1110 let (rq, _guard) = rq.self_lock(); in account_entity_enqueue() 1125 let (rq, _guard) = rq.self_lock(); in account_entity_dequeue() 1693 let (rq, _guard) = rq.self_lock(); in task_fork()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 245 let _guard = dev.ops_mutex.lock(); in read_time() localVariable
|
/DragonOS/kernel/src/ipc/ |
H A D | signal.rs | 313 fn signal_wake_up(pcb: Arc<ProcessControlBlock>, _guard: SpinLockGuard<SignalStruct>, fatal: bool) { in signal_wake_up()
|