Searched refs:stack_entries (Results 1 – 7 of 7) sorted by relevance
/linux/mm/kfence/ |
A D | report.c | 49 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries, in get_stack_skipnr() argument 74 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skipnr]); in get_stack_skipnr() 114 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack() 118 seq_con_printf(seq, " %pS\n", (void *)track->stack_entries[i]); in kfence_print_stack() 183 unsigned long stack_entries[KFENCE_STACK_DEPTH] = { 0 }; in kfence_report_error() local 191 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 1); in kfence_report_error() 192 skipnr = get_stack_skipnr(stack_entries, num_stack_entries, &type); in kfence_report_error() 219 (void *)stack_entries[skipnr]); in kfence_report_error() 228 (void *)stack_entries[skipnr]); in kfence_report_error() 240 (void *)stack_entries[skipnr]); in kfence_report_error() [all …]
|
A D | core.c | 176 static u32 get_alloc_stack_hash(unsigned long *stack_entries, size_t num_entries) in get_alloc_stack_hash() argument 179 num_entries = filter_irq_stacks(stack_entries, num_entries); in get_alloc_stack_hash() 180 return jhash(stack_entries, num_entries * sizeof(stack_entries[0]), stack_hash_seed); in get_alloc_stack_hash() 273 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument 280 if (stack_entries) { in metadata_update_state() 281 memcpy(track->stack_entries, stack_entries, in metadata_update_state() 282 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state() 358 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument 849 unsigned long stack_entries[KFENCE_STACK_DEPTH]; in __kfence_alloc() local 892 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc() [all …]
|
A D | kfence.h | 42 unsigned long stack_entries[KFENCE_STACK_DEPTH]; member
|
/linux/kernel/kcsan/ |
A D | report.c | 44 unsigned long stack_entries[NUM_STACK_ENTRIES]; member 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() 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 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() 398 other_frame = other_info->stack_entries[other_skipnr]; in print_report() [all …]
|
/linux/kernel/dma/ |
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() 646 entry->stack_len = stack_trace_save(entry->stack_entries, in dma_entry_alloc() 647 ARRAY_SIZE(entry->stack_entries), in dma_entry_alloc()
|
/linux/drivers/md/ |
A D | dm-bufio.c | 160 unsigned long stack_entries[MAX_STACK]; member 244 b->stack_len = stack_trace_save(b->stack_entries, MAX_STACK, 2); in buffer_record_stack() 1596 stack_trace_print(b->stack_entries, b->stack_len, 1); in drop_buffers()
|
/linux/drivers/gpu/drm/ |
A D | drm_dp_mst_topology.c | 1584 ulong stack_entries[STACK_DEPTH]; in __topology_ref_save() local 1588 n = stack_trace_save(stack_entries, ARRAY_SIZE(stack_entries), 1); in __topology_ref_save() 1589 backtrace = stack_depot_save(stack_entries, n, GFP_KERNEL); in __topology_ref_save()
|
Completed in 27 milliseconds