Lines Matching refs:stack_entries
44 unsigned long stack_entries[NUM_STACK_ENTRIES];
277 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries)
284 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]);
315 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip,
328 unsigned long func = stack_entries[skip];
335 *replaced = stack_entries[skip];
336 stack_entries[skip] = ip;
344 return get_stack_skipnr(stack_entries, num_entries);
348 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip,
351 return ip ? replace_stack_entry(stack_entries, num_entries, ip, replaced) :
352 get_stack_skipnr(stack_entries, num_entries);
368 print_stack_trace(unsigned long stack_entries[], int num_entries, unsigned long reordered_to)
370 stack_trace_print(stack_entries, num_entries, 0);
394 unsigned long stack_entries[NUM_STACK_ENTRIES] = { 0 };
395 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1);
396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to);
397 unsigned long this_frame = stack_entries[skipnr];
405 if (skip_report(KCSAN_VALUE_CHANGE_TRUE, stack_entries[skipnr]))
409 other_skipnr = sanitize_stack_entries(other_info->stack_entries,
412 other_frame = other_info->stack_entries[other_skipnr];
451 print_stack_trace(other_info->stack_entries + other_skipnr,
467 print_stack_trace(stack_entries + skipnr, num_stack_entries - skipnr, reordered_to);
594 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2);