Lines Matching refs:stack_entries
44 unsigned long stack_entries[NUM_STACK_ENTRIES]; member
277 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries) in get_stack_skipnr() argument
284 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]); in get_stack_skipnr()
314 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip) in replace_stack_entry() argument
326 unsigned long func = stack_entries[skip]; in replace_stack_entry()
333 stack_entries[skip] = ip; in replace_stack_entry()
341 return get_stack_skipnr(stack_entries, num_entries); in replace_stack_entry()
345 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip) in sanitize_stack_entries() argument
347 return ip ? replace_stack_entry(stack_entries, num_entries, ip) : in sanitize_stack_entries()
348 get_stack_skipnr(stack_entries, num_entries); in sanitize_stack_entries()
381 unsigned long stack_entries[NUM_STACK_ENTRIES] = { 0 }; in print_report() local
382 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1); in print_report()
383 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip); in print_report()
384 unsigned long this_frame = stack_entries[skipnr]; in print_report()
391 if (skip_report(KCSAN_VALUE_CHANGE_TRUE, stack_entries[skipnr])) in print_report()
395 other_skipnr = sanitize_stack_entries(other_info->stack_entries, in print_report()
398 other_frame = other_info->stack_entries[other_skipnr]; in print_report()
437 stack_trace_print(other_info->stack_entries + other_skipnr, in print_report()
454 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, in print_report()
584 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()