Searched refs:preempt_disable (Results 1 – 7 of 7) sorted by relevance
16 preempt_disable(); in __arch_spin_lock()47 preempt_disable(); in __arch_spin_trylock()
11 #define preempt_disable() \ macro
5 pub fn preempt_disable() { in preempt_disable() function
27 use super::preempt::{preempt_disable, preempt_enable};54 preempt_disable(); in process_try_to_wake_up()97 preempt_disable(); in process_kick()
11 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()
12 use crate::process::preempt::{preempt_disable, preempt_enable};90 preempt_disable(); in try_lock()
201 preempt_disable(); // 由于ap处理器的pcb与bsp的不同,因此ap处理器放锁时,需要手动恢复preempt count in smp_ap_start()