Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dvtime.h58 current->flags |= PF_VCPU; in vtime_account_guest_enter()
64 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
103 current->flags |= PF_VCPU; in vtime_account_guest_enter()
111 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
121 current->flags |= PF_VCPU; in vtime_account_guest_enter()
126 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
H A Dsched.h1733 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
/openbmc/linux/kernel/sched/
H A Dcputime.c192 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { in account_system_time()
405 } else if (p->flags & PF_VCPU) { /* System time or guest time */ in irqtime_account_process_tick()
766 tsk->flags |= PF_VCPU; in vtime_guest_enter()
778 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
807 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
/openbmc/linux/arch/ia64/kernel/
H A Dtime.c143 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/openbmc/linux/arch/s390/kernel/
H A Dvtime.c239 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/openbmc/linux/arch/powerpc/kernel/
H A Dtime.c250 if (tsk->flags & PF_VCPU) { in vtime_account_kernel()
/openbmc/linux/arch/mips/kvm/
H A Dvz.c2586 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()
2709 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
H A Dmips.c1545 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/openbmc/linux/kernel/rcu/
H A Dtree.c551 if (IS_ENABLED(CONFIG_GENERIC_ENTRY) && !(current->flags & PF_VCPU)) in rcu_irq_work_resched()
554 if (IS_ENABLED(CONFIG_KVM_XFER_TO_GUEST_WORK) && (current->flags & PF_VCPU)) in rcu_irq_work_resched()