Searched refs:task_state_index (Results 1 – 3 of 3) sorted by relevance
391 entry->prev_state = task_state_index(prev); in tracing_sched_switch_trace()394 entry->next_state = task_state_index(next); in tracing_sched_switch_trace()419 entry->prev_state = task_state_index(curr); in tracing_sched_wakeup_trace()422 entry->next_state = task_state_index(wakee); in tracing_sched_wakeup_trace()
1688 static inline unsigned int task_state_index(struct task_struct *tsk) in task_state_index() function1704 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()