Searched refs:PF_VCPU (Results 1 – 9 of 9) sorted by relevance
112 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()
1671 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
203 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()
141 if ((tsk->flags & PF_VCPU) && !irq_count()) in vtime_account_kernel()
238 if ((tsk->flags & PF_VCPU) && (irq_count() == 0)) in vtime_account_irq_enter()
1049 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_load()1063 if (current->flags & PF_VCPU) { in kvm_trap_emul_vcpu_put()
2582 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()2705 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
1605 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
345 if ((tsk->flags & PF_VCPU) && !irq_count()) { in vtime_account_kernel()