Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dcontext_tracking.h109 current->flags |= PF_VCPU; in guest_enter_irqoff()
133 current->flags &= ~PF_VCPU; in guest_exit_irqoff()
145 current->flags |= PF_VCPU; in guest_enter_irqoff()
153 current->flags &= ~PF_VCPU; in guest_exit_irqoff()
Dsched.h1446 #define PF_VCPU 0x00000010 /* I'm a virtual CPU */ macro
/Linux-v5.4/kernel/sched/
Dcputime.c188 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { in account_system_time()
386 } else if (p->flags & PF_VCPU) { /* System time or guest time */ in irqtime_account_process_tick()
743 if (tsk->flags & PF_VCPU) in vtime_account_system()
786 tsk->flags |= PF_VCPU; in vtime_guest_enter()
797 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
849 if (vtime->state == VTIME_SYS && t->flags & PF_VCPU) in task_gtime()
890 if (vtime->state == VTIME_USER || t->flags & PF_VCPU) in task_cputime()
/Linux-v5.4/arch/ia64/kernel/
Dtime.c140 if ((tsk->flags & PF_VCPU) && !irq_count()) in vtime_account_system()
/Linux-v5.4/arch/s390/kernel/
Dvtime.c237 if ((tsk->flags & PF_VCPU) && (irq_count() == 0)) in vtime_account_irq_enter()
/Linux-v5.4/arch/mips/kvm/
Dtrap_emul.c1057 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_load()
1071 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_put()
Dvz.c2487 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()
2610 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
Dmips.c1683 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/Linux-v5.4/arch/powerpc/kernel/
Dtime.c351 if ((tsk->flags & PF_VCPU) && !irq_count()) { in vtime_account_system()