Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/
Dspinlock.c16 preempt_disable(); in __arch_spin_lock()
47 preempt_disable(); in __arch_spin_trylock()
/DragonOS-0.1.8/kernel/src/process/
Dpreempt.h11 #define preempt_disable() \ macro
Dpreempt.rs5 pub fn preempt_disable() { in preempt_disable() function
Dprocess.rs27 use super::preempt::{preempt_disable, preempt_enable};
54 preempt_disable(); in process_try_to_wake_up()
97 preempt_disable(); in process_kick()
/DragonOS-0.1.8/kernel/src/libs/
Drwlock.rs11 process::preempt::{preempt_disable, preempt_enable},
116 preempt_disable(); in try_read()
180 preempt_disable(); in try_write()
223 preempt_disable(); in try_upgradeable_read()
Dspinlock.rs12 use crate::process::preempt::{preempt_disable, preempt_enable};
90 preempt_disable(); in try_lock()
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c201 preempt_disable(); // 由于ap处理器的pcb与bsp的不同,因此ap处理器放锁时,需要手动恢复preempt count in smp_ap_start()