Lines Matching refs:current
68 if (!current->ret_stack) in ftrace_push_return_trace()
78 if (current->curr_ret_stack == FTRACE_RETFUNC_DEPTH - 1) { in ftrace_push_return_trace()
79 atomic_inc(¤t->trace_overrun); in ftrace_push_return_trace()
85 index = ++current->curr_ret_stack; in ftrace_push_return_trace()
87 current->ret_stack[index].ret = ret; in ftrace_push_return_trace()
88 current->ret_stack[index].func = func; in ftrace_push_return_trace()
89 current->ret_stack[index].calltime = calltime; in ftrace_push_return_trace()
91 current->ret_stack[index].fp = frame_pointer; in ftrace_push_return_trace()
94 current->ret_stack[index].retp = retp; in ftrace_push_return_trace()
130 trace.depth = ++current->curr_ret_depth; in function_graph_enter()
141 current->curr_ret_stack--; in function_graph_enter()
143 current->curr_ret_depth--; in function_graph_enter()
154 index = current->curr_ret_stack; in ftrace_pop_return_trace()
179 if (unlikely(current->ret_stack[index].fp != frame_pointer)) { in ftrace_pop_return_trace()
183 current->ret_stack[index].fp, in ftrace_pop_return_trace()
185 (void *)current->ret_stack[index].func, in ftrace_pop_return_trace()
186 current->ret_stack[index].ret); in ftrace_pop_return_trace()
192 *ret = current->ret_stack[index].ret; in ftrace_pop_return_trace()
193 trace->func = current->ret_stack[index].func; in ftrace_pop_return_trace()
194 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
195 trace->overrun = atomic_read(¤t->trace_overrun); in ftrace_pop_return_trace()
196 trace->depth = current->curr_ret_depth--; in ftrace_pop_return_trace()
248 current->curr_ret_stack--; in ftrace_return_to_handler()