Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dcontext_tracking.h112 current->flags |= PF_VCPU; in guest_enter_irqoff()
143 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
165 current->flags |= PF_VCPU; in guest_enter_irqoff()
175 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
Dsched.h1671 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
/kernel/linux/linux-5.10/kernel/sched/
Dcputime.c203 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { in account_system_time()
401 } else if (p->flags & PF_VCPU) { /* System time or guest time */ in irqtime_account_process_tick()
758 tsk->flags |= PF_VCPU; in vtime_guest_enter()
770 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
799 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dtime.c141 if ((tsk->flags & PF_VCPU) && !irq_count()) in vtime_account_kernel()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dvtime.c238 if ((tsk->flags & PF_VCPU) && (irq_count() == 0)) in vtime_account_irq_enter()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dtrap_emul.c1049 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_load()
1063 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_put()
Dvz.c2582 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()
2705 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
Dmips.c1605 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c345 if ((tsk->flags & PF_VCPU) && !irq_count()) { in vtime_account_kernel()