Lines Matching defs:ret_stack
689 current->ret_stack[index - 1].subtime += calltime;
691 if (current->ret_stack[index].subtime < calltime)
692 calltime -= current->ret_stack[index].subtime;
3226 if (t->ret_stack == NULL) {
3232 t->ret_stack = ret_stack_list[start++];
3273 next->ret_stack[index].calltime += timestamp;
3289 /* The cpu_boot init_task->ret_stack will never be freed */
3291 if (!idle_task(cpu)->ret_stack)
3385 /* Make sure we do not use the parent ret_stack */
3386 t->ret_stack = NULL;
3390 struct ftrace_ret_stack *ret_stack;
3392 ret_stack = kmalloc(FTRACE_RETFUNC_DEPTH
3395 if (!ret_stack)
3400 /* make curr_ret_stack visable before we add the ret_stack */
3402 t->ret_stack = ret_stack;
3408 struct ftrace_ret_stack *ret_stack = t->ret_stack;
3410 t->ret_stack = NULL;
3414 kfree(ret_stack);