Searched refs:PF_VCPU (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/include/linux/
H A Dcontext_tracking.h83 current->flags |= PF_VCPU; guest_enter()
97 current->flags &= ~PF_VCPU; guest_exit()
109 current->flags |= PF_VCPU; guest_enter()
116 current->flags &= ~PF_VCPU; guest_exit()
H A Dsched.h1968 #define PF_VCPU 0x00000010 /* I'm a virtual CPU */ macro
/linux-4.1.27/kernel/sched/
H A Dcputime.c216 if ((p->flags & PF_VCPU) && (irq_count() - hardirq_offset == 0)) { account_system_time()
367 } else if (p->flags & PF_VCPU) { /* System time or guest time */ irqtime_account_process_tick()
722 current->flags |= PF_VCPU; vtime_guest_enter()
731 current->flags &= ~PF_VCPU; vtime_guest_exit()
774 if (t->flags & PF_VCPU) task_gtime()
818 if (t->vtime_snap_whence == VTIME_USER || t->flags & PF_VCPU) { fetch_task_cputime()
/linux-4.1.27/arch/s390/mm/
H A Dfault.c116 if (current->flags & PF_VCPU) user_space_fault()
206 else if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { dump_fault_info()
415 gmap = (current->flags & PF_VCPU) ? do_exception()
/linux-4.1.27/arch/mips/kvm/
H A Dtlb.c710 if (current->flags & PF_VCPU) { kvm_arch_vcpu_load()
723 if (current->flags & PF_VCPU) { kvm_arch_vcpu_load()
H A Dmips.c1587 if (!(current->flags & PF_VCPU)) kvm_mips_csr_die_notify()
/linux-4.1.27/arch/s390/kvm/
H A Dkvm-s390.c1999 * As PF_VCPU will be used in fault handler, between __vcpu_run()

Completed in 271 milliseconds