Lines Matching refs:stack_entries
48 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries,
73 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skipnr]);
119 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL);
123 seq_con_printf(seq, " %pS\n", (void *)track->stack_entries[i]);
188 unsigned long stack_entries[KFENCE_STACK_DEPTH] = { 0 };
194 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0);
196 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 1);
197 skipnr = get_stack_skipnr(stack_entries, num_stack_entries, &type);
224 (void *)stack_entries[skipnr]);
233 (void *)stack_entries[skipnr]);
238 pr_err("BUG: KFENCE: memory corruption in %pS\n\n", (void *)stack_entries[skipnr]);
245 (void *)stack_entries[skipnr]);
250 pr_err("BUG: KFENCE: invalid free in %pS\n\n", (void *)stack_entries[skipnr]);
257 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, 0);
286 i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL);
288 kp_stack[j] = (void *)track->stack_entries[i];