Searched refs:stack_entries (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/kcsan/ |
H A D | report.c | 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() 315 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip, in replace_stack_entry() argument 328 unsigned long func = stack_entries[skip]; in replace_stack_entry() 335 *replaced = stack_entries[skip]; in replace_stack_entry() 336 stack_entries[skip] = ip; in replace_stack_entry() 344 return get_stack_skipnr(stack_entries, num_entries); in replace_stack_entry() 348 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip, in sanitize_stack_entries() argument 351 return ip ? replace_stack_entry(stack_entries, num_entries, ip, replaced) : in sanitize_stack_entries() [all …]
|
/linux/mm/kfence/ |
H A D | report.c | 50 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries, in get_stack_skipnr() 75 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skipnr]); in get_stack_skipnr() 125 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack() 129 seq_con_printf(seq, " %pS\n", (void *)track->stack_entries[i]); in kfence_print_stack() 194 unsigned long stack_entries[KFENCE_STACK_DEPTH] = { 0 }; in kfence_report_error() 200 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0); in kfence_report_error() 202 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 1); in kfence_report_error() 203 skipnr = get_stack_skipnr(stack_entries, num_stack_entries, &type); in kfence_report_error() 230 (void *)stack_entries[skipnr]); in kfence_report_error() 239 (void *)stack_entries[skipn in kfence_report_error() 49 get_stack_skipnr(const unsigned long stack_entries[],int num_entries,const enum kfence_error_type * type) get_stack_skipnr() argument 193 unsigned long stack_entries[KFENCE_STACK_DEPTH] = { 0 }; kfence_report_error() local [all...] |
H A D | kfence.h | 51 unsigned long stack_entries[KFENCE_STACK_DEPTH]; member
|
/linux/mm/kmsan/ |
H A D | report.c | 35 static int get_stack_skipnr(const unsigned long stack_entries[], in get_stack_skipnr() argument 43 (void *)stack_entries[skip]); in get_stack_skipnr() 154 unsigned long stack_entries[KMSAN_STACK_DEPTH]; in kmsan_report() local 187 stack_trace_save(stack_entries, KMSAN_STACK_DEPTH, 1); in kmsan_report() 188 skipnr = get_stack_skipnr(stack_entries, num_stack_entries); in kmsan_report() 191 (void *)stack_entries[skipnr]); in kmsan_report() 192 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, in kmsan_report()
|
/linux/kernel/dma/ |
H A D | debug.c | 80 unsigned long stack_entries[DMA_DEBUG_STACKTRACE_ENTRIES]; member 171 stack_trace_print(entry->stack_entries, entry->stack_len, 0); in dump_entry_trace() 682 entry->stack_len = stack_trace_save(entry->stack_entries, in dma_entry_alloc() 683 ARRAY_SIZE(entry->stack_entries), in dma_entry_alloc()
|