Searched refs:vtime_snap_whence (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/kernel/sched/
H A Dcputime.c662 WARN_ON_ONCE(tsk->vtime_snap_whence == VTIME_SLEEPING); get_vtime_delta()
688 tsk->vtime_snap_whence = VTIME_USER; vtime_gen_account_irq_exit()
698 tsk->vtime_snap_whence = VTIME_SYS; vtime_account_user()
707 tsk->vtime_snap_whence = VTIME_USER; vtime_user_enter()
746 prev->vtime_snap_whence = VTIME_SLEEPING; arch_vtime_task_switch()
750 current->vtime_snap_whence = VTIME_SYS; arch_vtime_task_switch()
760 t->vtime_snap_whence = VTIME_SYS; vtime_init_idle()
808 if (t->vtime_snap_whence == VTIME_SLEEPING || fetch_task_cputime()
818 if (t->vtime_snap_whence == VTIME_USER || t->flags & PF_VCPU) { fetch_task_cputime()
821 if (t->vtime_snap_whence == VTIME_SYS) fetch_task_cputime()
/linux-4.1.27/include/linux/
H A Dinit_task.h154 .vtime_snap_whence = VTIME_SYS,
H A Dsched.h1444 } vtime_snap_whence; member in struct:task_struct
/linux-4.1.27/kernel/
H A Dfork.c1350 p->vtime_snap_whence = VTIME_SLEEPING; copy_process()

Completed in 242 milliseconds