• Home
  • Raw
  • Download

Lines Matching refs:index

63 	int index;  in ftrace_push_return_trace()  local
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()
127 int index; in ftrace_pop_return_trace() local
129 index = current->curr_ret_stack; in ftrace_pop_return_trace()
131 if (unlikely(index < 0 || index >= FTRACE_RETFUNC_DEPTH)) { in ftrace_pop_return_trace()
154 if (unlikely(current->ret_stack[index].fp != frame_pointer)) { in ftrace_pop_return_trace()
158 current->ret_stack[index].fp, in ftrace_pop_return_trace()
160 (void *)current->ret_stack[index].func, in ftrace_pop_return_trace()
161 current->ret_stack[index].ret); in ftrace_pop_return_trace()
167 *ret = current->ret_stack[index].ret; in ftrace_pop_return_trace()
168 trace->func = current->ret_stack[index].func; in ftrace_pop_return_trace()
169 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
276 int index = task->curr_ret_stack; in ftrace_graph_ret_addr() local
282 if (index < 0) in ftrace_graph_ret_addr()
285 for (i = 0; i <= index; i++) in ftrace_graph_ret_addr()
392 int index; in ftrace_graph_probe_sched_switch() local
415 for (index = next->curr_ret_stack; index >= 0; index--) in ftrace_graph_probe_sched_switch()
416 next->ret_stack[index].calltime += timestamp; in ftrace_graph_probe_sched_switch()