Lines Matching refs:buff
192 int trace_list_functions(void *buff, size_t buff_size, size_t *needed) in trace_list_functions() argument
195 void *end, *ptr = buff; in trace_list_functions()
199 end = buff ? buff + buff_size : NULL; in trace_list_functions()
230 *needed = ptr - buff; in trace_list_functions()
249 int trace_list_calls(void *buff, size_t buff_size, size_t *needed) in trace_list_calls() argument
252 void *end, *ptr = buff; in trace_list_calls()
256 end = buff ? buff + buff_size : NULL; in trace_list_calls()
290 *needed = ptr - buff; in trace_list_calls()
361 int notrace trace_init(void *buff, size_t buff_size) in trace_init() argument
388 (ulong)map_to_sysmem(buff)); in trace_init()
396 memcpy(buff, hdr, used); in trace_init()
402 hdr = (struct trace_hdr *)buff; in trace_init()
418 hdr->ftrace = (struct trace_call *)(buff + needed); in trace_init()