Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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.h81 int32_t preempt_count; // 持有的自旋锁的数量 member
Dprocess.c57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
638 initial_proc_union.pcb.preempt_count = 0; in process_init()
Dfork.c73 tsk->preempt_count = 0; in do_fork()
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c133 kdebug("init proc's preempt_count=%ld", current_pcb->preempt_count); in smp_init()
178 current_pcb->preempt_count = 0; in smp_ap_start()
/DragonOS-0.1.2/kernel/src/
Dmain.c129 current_pcb->preempt_count = 0; in system_initialize()
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.c455 if (current_pcb->preempt_count > 0) in do_IRQ()
457 else if (current_pcb->preempt_count < 0) in do_IRQ()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c140 data_puts(fdata, ltoa(pcb_t->preempt_count)); in procfs_open()