Home
last modified time | relevance | path

Searched refs:preempt_count (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.5/kernel/src/process/
Dpreempt.h14 ++(current_pcb->preempt_count);\
24 --(current_pcb->preempt_count);\
Dpreempt.rs6 current_pcb().preempt_count += 1; in preempt_disable()
12 current_pcb().preempt_count -= 1; in preempt_enable()
Dproc-types.h84 int32_t preempt_count; // 持有的自旋锁的数量 member
Dprocess.c54 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
723 initial_proc_union.pcb.preempt_count = 0; in process_init()
Dfork.c74 tsk->preempt_count = 0; in do_fork()
/DragonOS-0.1.5/kernel/src/smp/
Dsmp.c139 kdebug("init proc's preempt_count=%ld", current_pcb->preempt_count); in smp_init()
184 current_pcb->preempt_count = 0; in smp_ap_start()
/DragonOS-0.1.5/kernel/src/
Dmain.c123 current_pcb->preempt_count = 0; in system_initialize()
/DragonOS-0.1.5/kernel/src/driver/interrupt/apic/
Dapic.c463 if (current_pcb->preempt_count > 0) in do_IRQ()
465 else if (current_pcb->preempt_count < 0) in do_IRQ()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs162 &mut format!("\npreempt:\t{}", pcb.preempt_count) in open_status()