Home
last modified time | relevance | path

Searched refs:irq_guard (Results 1 – 22 of 22) sorted by relevance

/DragonOS/kernel/src/libs/
H A Drwlock.rs48 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 Dwait_queue.rs83 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 Dspinlock.rs129 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 Dmutex.rs107 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 Dsched.rs24 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 Dsyscall.rs16 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 Dsleep.rs48 let irq_guard: crate::exception::IrqFlagsGuard = in nanosleep() localVariable
55 drop(irq_guard); in nanosleep()
H A Dtimer.rs305 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 Dtimekeeping.rs361 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 Dclocksource.rs955 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 Dsyscall.rs24 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 Dkthread.rs276 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 Dtimer.rs136 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in run() localVariable
141 drop(irq_guard); in run()
H A Dexit.rs155 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in do_wait() localVariable
168 drop(irq_guard); in do_wait()
H A Dmod.rs1054 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 Dsyscall.rs27 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 Dtsc.rs131 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 Dhpet.rs119 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in hpet_enable() localVariable
168 drop(irq_guard); in hpet_enable()
H A Drtc.rs248 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 Dps2_keyboard.rs244 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 Dfutex.rs289 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 Ducontext.rs162 let irq_guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in try_clone() localVariable
204 drop(irq_guard); in try_clone()