Home
last modified time | relevance | path

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

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