Lines Matching refs:tsk
985 struct task_struct *tsk = NULL;
996 tsk = task_of(se);
1012 if (tsk) {
1013 account_scheduler_latency(tsk, delta >> 10, 1);
1014 trace_sched_stat_sleep(tsk, delta);
1030 if (tsk) {
1031 if (tsk->in_iowait) {
1034 trace_sched_stat_iowait(tsk, delta);
1037 trace_sched_stat_blocked(tsk, delta);
1045 profile_hits(SLEEP_PROFILING, (void *)get_wchan(tsk), delta >> FAIR_TWENTY);
1047 account_scheduler_latency(tsk, delta >> 10, 0);
1089 struct task_struct *tsk = task_of(se);
1091 if (tsk->state & TASK_INTERRUPTIBLE) {
1094 if (tsk->state & TASK_UNINTERRUPTIBLE) {
2573 struct task_struct *tsk;
2605 tsk = READ_ONCE(cpu_rq(cpu)->curr);
2606 if (!cpupid_match_pid(tsk, cpupid)) {
2610 grp = rcu_dereference(tsk->numa_group);
2636 if (tsk->mm == current->mm) {
6927 struct task_struct *tsk = cpu == dst_cpu ? p : NULL;
6944 cpu_util = schedutil_cpu_util(cpu, util_cfs, cpu_cap, FREQUENCY_UTIL, tsk);