Lines Matching refs:stack_entries

44 	unsigned long		stack_entries[NUM_STACK_ENTRIES];
278 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries)
285 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]);
316 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip,
329 unsigned long func = stack_entries[skip];
336 *replaced = stack_entries[skip];
337 stack_entries[skip] = ip;
345 return get_stack_skipnr(stack_entries, num_entries);
349 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip,
352 return ip ? replace_stack_entry(stack_entries, num_entries, ip, replaced) :
353 get_stack_skipnr(stack_entries, num_entries);
369 print_stack_trace(unsigned long stack_entries[], int num_entries, unsigned long reordered_to)
372 stack_trace_print(stack_entries, num_entries, 0);
398 unsigned long stack_entries[NUM_STACK_ENTRIES] = { 0 };
399 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1);
400 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to);
401 unsigned long this_frame = stack_entries[skipnr];
409 if (skip_report(KCSAN_VALUE_CHANGE_TRUE, stack_entries[skipnr]))
413 other_skipnr = sanitize_stack_entries(other_info->stack_entries,
416 other_frame = other_info->stack_entries[other_skipnr];
455 print_stack_trace(other_info->stack_entries + other_skipnr,
471 print_stack_trace(stack_entries + skipnr, num_stack_entries - skipnr, reordered_to);
598 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2);