Lines Matching refs:depth
49 int depth; member
115 ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, in ftrace_push_return_trace() argument
169 *depth = current->curr_ret_stack; in ftrace_push_return_trace()
233 trace->depth = index; in ftrace_pop_return_trace()
323 if ((!(trace->depth || ftrace_graph_addr(trace->func)) || in trace_graph_entry()
324 ftrace_graph_ignore_irqs()) || (trace->depth < 0) || in trace_graph_entry()
325 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
370 .depth = 0, in __trace_graph_function()
374 .depth = 0, in __trace_graph_function()
787 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
790 if (call->depth < FTRACE_RETFUNC_DEPTH) in print_graph_entry_leaf()
791 cpu_data->enter_funcs[call->depth] = 0; in print_graph_entry_leaf()
798 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_leaf()
820 cpu_data->depth = call->depth; in print_graph_entry_nested()
823 if (call->depth < FTRACE_RETFUNC_DEPTH) in print_graph_entry_nested()
824 cpu_data->enter_funcs[call->depth] = call->func; in print_graph_entry_nested()
831 for (i = 0; i < call->depth * TRACE_GRAPH_INDENT; i++) in print_graph_entry_nested()
898 unsigned long addr, int depth) in check_irq_entry() argument
928 *depth_irq = depth; in check_irq_entry()
944 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) in check_irq_return() argument
976 if (*depth_irq >= depth) { in check_irq_return()
997 if (check_irq_entry(iter, flags, call->func, call->depth)) in print_graph_entry()
1035 if (check_irq_return(iter, flags, trace->depth)) in print_graph_return()
1049 cpu_data->depth = trace->depth - 1; in print_graph_return()
1051 if (trace->depth < FTRACE_RETFUNC_DEPTH) { in print_graph_return()
1052 if (cpu_data->enter_funcs[trace->depth] != trace->func) in print_graph_return()
1054 cpu_data->enter_funcs[trace->depth] = 0; in print_graph_return()
1064 for (i = 0; i < trace->depth * TRACE_GRAPH_INDENT; i++) in print_graph_return()
1097 int depth = 0; in print_graph_comment() local
1102 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1110 if (depth > 0) in print_graph_comment()
1111 for (i = 0; i < (depth + 1) * TRACE_GRAPH_INDENT; i++) in print_graph_comment()
1329 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open() local
1334 *depth = 0; in graph_trace_open()