Home
last modified time | relevance | path

Searched refs:preempt_disable (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.5/kernel/src/arch/x86_64/asm/
Dspinlock.c16 preempt_disable(); in __arch_spin_lock()
47 preempt_disable(); in __arch_spin_trylock()
/DragonOS-0.1.5/kernel/src/process/
Dpreempt.h11 #define preempt_disable() \ macro
Dpreempt.rs5 pub fn preempt_disable() { in preempt_disable() function
Dprocess.rs18 use super::preempt::{preempt_disable, preempt_enable};
45 preempt_disable(); in process_try_to_wake_up()
88 preempt_disable(); in process_kick()
/DragonOS-0.1.5/kernel/src/libs/
Dspinlock.rs11 use crate::process::preempt::{preempt_disable, preempt_enable};
89 preempt_disable(); in try_lock()
/DragonOS-0.1.5/kernel/src/smp/
Dsmp.c190 preempt_disable(); // 由于ap处理器的pcb与bsp的不同,因此ap处理器放锁时,需要手动恢复preempt count in smp_ap_start()