Searched refs:preempt_enable (Results 1 – 7 of 7) sorted by relevance
21 preempt_enable(); in __arch_spin_unlock()54 preempt_enable(); in __arch_spin_trylock()
21 #define preempt_enable() \ macro
11 pub fn preempt_enable() { in preempt_enable() function
18 use super::preempt::{preempt_disable, preempt_enable};56 preempt_enable(); in process_try_to_wake_up()73 preempt_enable(); in process_try_to_wake_up()94 preempt_enable(); in process_kick()
11 use crate::process::preempt::{preempt_disable, preempt_enable};98 preempt_enable(); in try_lock()106 preempt_enable(); in unlock()
207 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题254 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
86 preempt_enable(); // 由于ap处理器的pcb与bsp的不同,因此ap处理器放锁时,bsp的自旋锁持有计数不会发生改变,需要手动恢复preempt in smp_init()