Lines Matching +full:out +full:- +full:functions

1 // SPDX-License-Identifier: GPL-2.0
43 " ----- ---- --------\n", in print_max_stack()
50 size = stack_trace_index[i] - stack_trace_index[i+1]; in print_max_stack()
82 * The save_stack_trace() is called returning all the functions it finds in the
89 * Now to figure out how much each of these functions' local variable size is,
95 * ------------------ + -------------------
104 * size = i == nr_entries - 1 ? stack_trace_index[i] :
105 * stack_trace_index[i] - stack_trace_index[i+1]
112 * ----- ---- --------
117 * Now for architectures that might save the return address after the functions
118 * local variables (saving the link register before calling nested functions),
129 * Although the functions returned by save_stack_trace() may be the same, the
134 * ------------------ + -------------------
141 * kernel_func_bar stack frame size is 29 - 19 not 30 - 29!
148 * ------------------ + -------------------
162 this_size = ((unsigned long)stack) & (THREAD_SIZE-1); in check_stack()
163 this_size = THREAD_SIZE - this_size; in check_stack()
165 this_size -= frame_size; in check_stack()
183 this_size -= tracer_frame; in check_stack()
187 goto out; in check_stack()
192 ARRAY_SIZE(stack_dump_trace) - 1, in check_stack()
214 (((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE); in check_stack()
232 * this is not a stack-out-of-bounds error. in check_stack()
237 (top - p) * sizeof(unsigned long); in check_stack()
245 * out what that is, then figure it out in check_stack()
249 tracer_frame = (p - stack) * in check_stack()
251 stack_trace_max_size -= tracer_frame; in check_stack()
263 * nested functions. This means the saved return address in check_stack()
269 sizeof(stack_trace_index[0]) * (x - 1)); in check_stack()
270 x--; in check_stack()
281 out: in check_stack()
302 goto out; in stack_trace_call()
306 goto out; in stack_trace_call()
312 out: in stack_trace_call()
327 unsigned long *ptr = filp->private_data; in stack_max_size_read()
341 long *ptr = filp->private_data; in stack_max_size_write()
378 long n = *pos - 1; in __next()
383 m->private = (void *)n; in __next()
384 return &m->private; in __next()
443 " ----- ---- --------\n", in t_show()
460 size = stack_trace_index[i] - stack_trace_index[i+1]; in t_show()
499 struct ftrace_ops *ops = inode->i_private; in stack_trace_filter_open()
529 goto out; in stack_trace_sysctl()
535 out: in stack_trace_sysctl()