Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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()
Dsched.h1726 #define PF_VCPU 0x00000001 /* I'm a virtual CPU */ macro
/linux-6.6.21/kernel/sched/
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()
760 tsk->flags |= PF_VCPU; in vtime_guest_enter()
772 tsk->flags &= ~PF_VCPU; in vtime_guest_exit()
801 else if (current->flags & PF_VCPU) in vtime_task_switch_generic()
/linux-6.6.21/arch/ia64/kernel/
Dtime.c143 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/linux-6.6.21/arch/s390/kernel/
Dvtime.c239 if (tsk->flags & PF_VCPU) in vtime_account_kernel()
/linux-6.6.21/arch/powerpc/kernel/
Dtime.c250 if (tsk->flags & PF_VCPU) { in vtime_account_kernel()
/linux-6.6.21/arch/mips/kvm/
Dvz.c2586 if (current->flags & PF_VCPU) { in kvm_vz_vcpu_load()
2709 if (current->flags & PF_VCPU) in kvm_vz_vcpu_put()
Dmips.c1545 if (!(current->flags & PF_VCPU)) in kvm_mips_csr_die_notify()
/linux-6.6.21/kernel/rcu/
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()