Lines Matching refs:arg
46 struct trace_arg *arg = a; in backtrace_helper() local
51 if (arg->cnt != -1) in backtrace_helper()
53 ip = UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetIP) (ctx); in backtrace_helper()
54 arg->array[arg->cnt] = (void *) ip; in backtrace_helper()
58 = UNWIND_LINK_PTR (arg->unwind_link, _Unwind_GetCFA) (ctx); in backtrace_helper()
60 if (arg->cnt > 0 && arg->array[arg->cnt - 1] == arg->array[arg->cnt] in backtrace_helper()
61 && cfa == arg->cfa) in backtrace_helper()
63 arg->cfa = cfa; in backtrace_helper()
65 if (++arg->cnt == arg->size) in backtrace_helper()
74 struct trace_arg arg = in __backtrace() local
85 if (arg.unwind_link == NULL) in __backtrace()
110 UNWIND_LINK_PTR (arg.unwind_link, _Unwind_Backtrace) in __backtrace()
111 (backtrace_helper, &arg); in __backtrace()
115 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace()
116 --arg.cnt; in __backtrace()
117 count = arg.cnt != -1 ? arg.cnt : 0; in __backtrace()