Lines Matching refs:buff
146 int trace_list_functions(void *buff, int buff_size, unsigned int *needed) in trace_list_functions() argument
149 void *end, *ptr = buff; in trace_list_functions()
153 end = buff ? buff + buff_size : NULL; in trace_list_functions()
184 *needed = ptr - buff; in trace_list_functions()
190 int trace_list_calls(void *buff, int buff_size, unsigned *needed) in trace_list_calls() argument
193 void *end, *ptr = buff; in trace_list_calls()
197 end = buff ? buff + buff_size : NULL; in trace_list_calls()
228 *needed = ptr - buff; in trace_list_calls()
278 int __attribute__((no_instrument_function)) trace_init(void *buff, in trace_init() argument
301 (ulong)map_to_sysmem(buff)); in trace_init()
302 memcpy(buff, hdr, used); in trace_init()
308 hdr = (struct trace_hdr *)buff; in trace_init()
322 hdr->ftrace = (struct trace_call *)(buff + needed); in trace_init()