Searched refs:task_state_index (Results 1 – 3 of 3) sorted by relevance
392 entry->prev_state = task_state_index(prev); in tracing_sched_switch_trace()395 entry->next_state = task_state_index(next); in tracing_sched_switch_trace()418 entry->prev_state = task_state_index(curr); in tracing_sched_wakeup_trace()421 entry->next_state = task_state_index(wakee); in tracing_sched_wakeup_trace()
1647 static inline unsigned int task_state_index(struct task_struct *tsk) in task_state_index() function1663 return task_index_to_char(task_state_index(tsk)); in task_state_to_char()
145 return task_state_array[task_state_index(tsk)]; in get_task_state()