/DragonOS/kernel/src/libs/ |
H A D | rwlock.rs | 48 irq_guard: Option<IrqFlagsGuard>, field 58 irq_guard: Option<IrqFlagsGuard>, field 67 irq_guard: Option<IrqFlagsGuard>, field 149 irq_guard: None, in inner_try_read() 169 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in read_irqsave() localVariable 172 guard.irq_guard = Some(irq_guard); in read_irqsave() 182 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in try_read_irqsave() localVariable 184 guard.irq_guard = Some(irq_guard); in try_read_irqsave() 225 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in try_write_irqsave() localVariable 227 g.irq_guard = Some(irq_guard); in try_write_irqsave() [all …]
|
H A D | wait_queue.rs | 83 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sleep_with_func() localVariable 87 drop(irq_guard); in sleep_with_func() 136 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sleep_uninterruptible() localVariable 140 drop(irq_guard); in sleep_uninterruptible() 151 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sleep_unlock_spinlock() localVariable 155 drop(irq_guard); in sleep_unlock_spinlock() 167 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sleep_unlock_mutex() localVariable 171 drop(irq_guard); in sleep_unlock_mutex() 183 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sleep_uninterruptible_unlock_spinlock() localVariable 187 drop(irq_guard); in sleep_uninterruptible_unlock_spinlock() [all …]
|
H A D | spinlock.rs | 129 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in try_lock_irqsave() localVariable 135 irq_flag: Some(irq_guard), in try_lock_irqsave() 140 drop(irq_guard); in try_lock_irqsave()
|
H A D | mutex.rs | 107 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in __sleep() localVariable 109 drop(irq_guard); in __sleep()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | sched.rs | 24 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in initial_setup_sched_local() localVariable 41 drop(irq_guard); in initial_setup_sched_local()
|
/DragonOS/kernel/src/sched/ |
H A D | syscall.rs | 16 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in do_sched_yield() localVariable 29 drop(irq_guard); in do_sched_yield()
|
/DragonOS/kernel/src/time/ |
H A D | sleep.rs | 48 let irq_guard: crate::exception::IrqFlagsGuard = in nanosleep() localVariable 55 drop(irq_guard); in nanosleep()
|
H A D | timer.rs | 305 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in schedule_timeout() localVariable 307 drop(irq_guard); in schedule_timeout() 315 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in schedule_timeout() localVariable 325 drop(irq_guard); in schedule_timeout()
|
H A D | timekeeping.rs | 361 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in timekeeping_init() localVariable 381 drop(irq_guard); in timekeeping_init() 392 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in update_wall_time() localVariable 447 drop(irq_guard); in update_wall_time()
|
H A D | clocksource.rs | 955 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in clocksource_watchdog_kthread() localVariable 957 drop(irq_guard); in clocksource_watchdog_kthread()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | syscall.rs | 24 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in do_execve() localVariable 61 drop(irq_guard); in do_execve()
|
/DragonOS/kernel/src/process/ |
H A D | kthread.rs | 276 let irq_guard: crate::exception::IrqFlagsGuard = in init_stage1() localVariable 298 drop(irq_guard); in init_stage1() 480 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in kthread_daemon() localVariable 482 drop(irq_guard); in kthread_daemon() 505 let irq_guard = CurrentIrqArch::save_and_disable_irq(); in kernel_thread_bootstrap_stage2() localVariable 507 drop(irq_guard); in kernel_thread_bootstrap_stage2()
|
H A D | timer.rs | 136 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in run() localVariable 141 drop(irq_guard); in run()
|
H A D | exit.rs | 155 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in do_wait() localVariable 168 drop(irq_guard); in do_wait()
|
H A D | mod.rs | 1054 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in drop() localVariable 1065 drop(irq_guard); in drop()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | syscall.rs | 27 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in do_execve() localVariable 64 drop(irq_guard); in do_execve()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | tsc.rs | 131 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in calibrate_cpu_by_pit_hpet_ptimer() localVariable 136 drop(irq_guard); in calibrate_cpu_by_pit_hpet_ptimer()
|
H A D | hpet.rs | 119 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in hpet_enable() localVariable 168 drop(irq_guard); in hpet_enable()
|
H A D | rtc.rs | 248 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in read_time() localVariable 291 drop(irq_guard); in read_time()
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 244 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in ps2_keyboard_init() localVariable 276 drop(irq_guard); in ps2_keyboard_init()
|
/DragonOS/kernel/src/libs/futex/ |
H A D | futex.rs | 289 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in futex_wait() localVariable 296 drop(irq_guard); in futex_wait()
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 162 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in try_clone() localVariable 204 drop(irq_guard); in try_clone()
|