Lines Matching refs:t
410 struct task_struct *g, *t; in alloc_retstack_tasklist() local
426 for_each_process_thread(g, t) { in alloc_retstack_tasklist()
432 if (t->ret_stack == NULL) { in alloc_retstack_tasklist()
433 atomic_set(&t->trace_overrun, 0); in alloc_retstack_tasklist()
434 t->curr_ret_stack = -1; in alloc_retstack_tasklist()
435 t->curr_ret_depth = -1; in alloc_retstack_tasklist()
438 t->ret_stack = ret_stack_list[start++]; in alloc_retstack_tasklist()
527 graph_init_task(struct task_struct *t, struct ftrace_ret_stack *ret_stack) in graph_init_task() argument
529 atomic_set(&t->trace_overrun, 0); in graph_init_task()
530 t->ftrace_timestamp = 0; in graph_init_task()
533 t->ret_stack = ret_stack; in graph_init_task()
540 void ftrace_graph_init_idle_task(struct task_struct *t, int cpu) in ftrace_graph_init_idle_task() argument
542 t->curr_ret_stack = -1; in ftrace_graph_init_idle_task()
543 t->curr_ret_depth = -1; in ftrace_graph_init_idle_task()
548 if (t->ret_stack) in ftrace_graph_init_idle_task()
549 WARN_ON(t->ret_stack != per_cpu(idle_ret_stack, cpu)); in ftrace_graph_init_idle_task()
564 graph_init_task(t, ret_stack); in ftrace_graph_init_idle_task()
569 void ftrace_graph_init_task(struct task_struct *t) in ftrace_graph_init_task() argument
572 t->ret_stack = NULL; in ftrace_graph_init_task()
573 t->curr_ret_stack = -1; in ftrace_graph_init_task()
574 t->curr_ret_depth = -1; in ftrace_graph_init_task()
584 graph_init_task(t, ret_stack); in ftrace_graph_init_task()
588 void ftrace_graph_exit_task(struct task_struct *t) in ftrace_graph_exit_task() argument
590 struct ftrace_ret_stack *ret_stack = t->ret_stack; in ftrace_graph_exit_task()
592 t->ret_stack = NULL; in ftrace_graph_exit_task()