Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dvtime.h53 current->flags |= PF_VCPU; in vtime_account_guest_enter()
59 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
98 current->flags |= PF_VCPU; in vtime_account_guest_enter()
106 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
116 current->flags |= PF_VCPU; in vtime_account_guest_enter()
121 current->flags &= ~PF_VCPU; in vtime_account_guest_exit()
H A Dsched.h1715 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
/linux-6.15/kernel/sched/
H A Dcputime.c190 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { in account_system_time()
403 } else if (p->flags & PF_VCPU) { /* System time or guest time */ in irqtime_account_process_tick()
751 tsk->flags |= PF_VCPU; in vtime_guest_enter()
763 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
792 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
/linux-6.15/arch/s390/kernel/
H A Dvtime.c237 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/linux-6.15/arch/powerpc/kernel/
H A Dtime.c250 if (tsk->flags & PF_VCPU) { in vtime_account_kernel()
/linux-6.15/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.c1542 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/linux-6.15/kernel/rcu/
H A Dtree.c587 if (IS_ENABLED(CONFIG_GENERIC_ENTRY) && !(current->flags & PF_VCPU)) in rcu_irq_work_resched()
590 if (IS_ENABLED(CONFIG_KVM_XFER_TO_GUEST_WORK) && (current->flags & PF_VCPU)) in rcu_irq_work_resched()