Lines Matching refs:buff_size
147 int trace_list_functions(void *buff, int buff_size, unsigned int *needed) in trace_list_functions() argument
154 end = buff ? buff + buff_size : NULL; in trace_list_functions()
191 int trace_list_calls(void *buff, int buff_size, unsigned *needed) in trace_list_calls() argument
198 end = buff ? buff + buff_size : NULL; in trace_list_calls()
280 size_t buff_size) in trace_init() argument
311 if (needed > buff_size) { in trace_init()
313 buff_size, needed); in trace_init()
324 hdr->ftrace_size = (buff_size - needed) / sizeof(*hdr->ftrace); in trace_init()
338 size_t buff_size = CONFIG_TRACE_EARLY_SIZE; in trace_early_init() local
347 if (needed > buff_size) { in trace_early_init()
349 buff_size, needed); in trace_early_init()
359 hdr->ftrace_size = (buff_size - needed) / sizeof(*hdr->ftrace); in trace_early_init()