Home
last modified time | relevance | path

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

/linux/include/linux/
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()
A Dsched.h1661 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
/linux/kernel/sched/
A Dcputime.c189 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { in account_system_time()
387 } else if (p->flags & PF_VCPU) { /* System time or guest time */ in irqtime_account_process_tick()
742 tsk->flags |= PF_VCPU; in vtime_guest_enter()
754 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
783 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
/linux/arch/ia64/kernel/
A Dtime.c142 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/linux/arch/s390/kernel/
A Dvtime.c240 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/linux/arch/powerpc/kernel/
A Dtime.c341 if (tsk->flags & PF_VCPU) { in vtime_account_kernel()
/linux/arch/mips/kvm/
A Dvz.c2580 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()
2703 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
A Dmips.c1558 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/linux/kernel/rcu/
A Dtree.c687 if (IS_ENABLED(CONFIG_GENERIC_ENTRY) && !(current->flags & PF_VCPU)) in rcu_irq_work_resched()
690 if (IS_ENABLED(CONFIG_KVM_XFER_TO_GUEST_WORK) && (current->flags & PF_VCPU)) in rcu_irq_work_resched()

Completed in 31 milliseconds