Lines Matching refs:buff
147 int trace_list_functions(void *buff, int buff_size, unsigned int *needed) in trace_list_functions() argument
150 void *end, *ptr = buff; in trace_list_functions()
154 end = buff ? buff + buff_size : NULL; in trace_list_functions()
185 *needed = ptr - buff; in trace_list_functions()
191 int trace_list_calls(void *buff, int buff_size, unsigned *needed) in trace_list_calls() argument
194 void *end, *ptr = buff; in trace_list_calls()
198 end = buff ? buff + buff_size : NULL; in trace_list_calls()
229 *needed = ptr - buff; in trace_list_calls()
279 int __attribute__((no_instrument_function)) trace_init(void *buff, in trace_init() argument
302 (ulong)map_to_sysmem(buff)); in trace_init()
303 memcpy(buff, hdr, used); in trace_init()
309 hdr = (struct trace_hdr *)buff; in trace_init()
323 hdr->ftrace = (struct trace_call *)(buff + needed); in trace_init()