Searched refs:preempt_count (Results 1 – 11 of 11) sorted by relevance
14 ++(current_pcb->preempt_count);\24 --(current_pcb->preempt_count);\
6 current_pcb().preempt_count += 1; in preempt_disable()12 current_pcb().preempt_count -= 1; in preempt_enable()
84 int32_t preempt_count; // 持有的自旋锁的数量 member
57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …352 initial_proc_union.pcb.preempt_count = 0; in process_init()
76 tsk->preempt_count = 0; in do_fork()
196 let prev_count = current_pcb().preempt_count; in do_softirq()199 if unlikely(prev_count != current_pcb().preempt_count) { in do_softirq()204 current_pcb().preempt_count in do_softirq()206 current_pcb().preempt_count = prev_count; in do_softirq()
147 kdebug("init proc's preempt_count=%ld", current_pcb->preempt_count); in smp_init()195 current_pcb->preempt_count = 0; in smp_ap_start()
130 current_pcb->preempt_count = 0; in system_initialize()
51 - textui: 修复由于textui加锁,更改了preempt_count导致“进程长时间连续输出字符”的情况下,进程调度器不运行的问题。 (#203)299 修复由于textui加锁,更改了preempt_count导致“进程长时间连续输出字符”的情况下,进程调度器不运行的问题。 (#203)
468 if (current_pcb->preempt_count > 0) in do_IRQ()470 else if (current_pcb->preempt_count < 0) in do_IRQ()
162 &mut format!("\npreempt:\t{}", pcb.preempt_count) in open_status()