Searched refs:PF_VCPU (Results 1 – 9 of 9) sorted by relevance
112 current->flags |= PF_VCPU; in guest_enter_irqoff()141 current->flags &= ~PF_VCPU; in guest_exit_irqoff()155 current->flags |= PF_VCPU; in guest_enter_irqoff()165 current->flags &= ~PF_VCPU; in guest_exit_irqoff()
1525 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
188 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 tsk->flags |= PF_VCPU; in vtime_guest_enter()755 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()784 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
141 if ((tsk->flags & PF_VCPU) && !irq_count()) in vtime_account_kernel()
237 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()
344 if ((tsk->flags & PF_VCPU) && !irq_count()) { in vtime_account_kernel()