Home
last modified time | relevance | path

Searched refs:stack_entries (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/kcsan/
H A Dreport.c44 unsigned long stack_entries[NUM_STACK_ENTRIES]; member
278 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries) in get_stack_skipnr()
285 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]); in get_stack_skipnr()
316 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip, in replace_stack_entry()
329 unsigned long func = stack_entries[skip]; in replace_stack_entry()
336 *replaced = stack_entries[skip]; in replace_stack_entry()
337 stack_entries[skip] = ip; in replace_stack_entry()
345 return get_stack_skipnr(stack_entries, num_entries); in replace_stack_entry()
349 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip, in sanitize_stack_entries()
352 return ip ? replace_stack_entry(stack_entries, num_entrie in sanitize_stack_entries()
277 get_stack_skipnr(const unsigned long stack_entries[],int num_entries) get_stack_skipnr() argument
315 replace_stack_entry(unsigned long stack_entries[],int num_entries,unsigned long ip,unsigned long * replaced) replace_stack_entry() argument
348 sanitize_stack_entries(unsigned long stack_entries[],int num_entries,unsigned long ip,unsigned long * replaced) sanitize_stack_entries() argument
368 print_stack_trace(unsigned long stack_entries[],int num_entries,unsigned long reordered_to) print_stack_trace() argument
394 unsigned long stack_entries[NUM_STACK_ENTRIES] = { 0 }; print_report() local
[all...]
/linux/mm/kmsan/
H A Dreport.c35 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/mm/kfence/
H A Dcore.c208 static u32 get_alloc_stack_hash(unsigned long *stack_entries, size_t num_entries) in get_alloc_stack_hash() argument
211 num_entries = filter_irq_stacks(stack_entries, num_entries); in get_alloc_stack_hash()
212 return jhash(stack_entries, num_entries * sizeof(stack_entries[0]), stack_hash_seed); in get_alloc_stack_hash()
292 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument
304 if (stack_entries) { in metadata_update_state()
305 memcpy(track->stack_entries, stack_entries, in metadata_update_state()
306 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state()
312 num_stack_entries = stack_trace_save(track->stack_entries, KFENCE_STACK_DEPTH, 1); in metadata_update_state()
418 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument
481 metadata_update_state(meta, KFENCE_OBJECT_ALLOCATED, stack_entries, num_stack_entries); in kfence_guarded_alloc()
[all …]
H A Dkfence.h53 unsigned long stack_entries[KFENCE_STACK_DEPTH];
51 unsigned long stack_entries[KFENCE_STACK_DEPTH]; global() member
/linux/kernel/dma/
H A Ddebug.c67 * @stack_len: number of backtrace entries in @stack_entries
68 * @stack_entries: stack of backtrace history
84 unsigned long stack_entries[DMA_DEBUG_STACKTRACE_ENTRIES]; member
176 stack_trace_print(entry->stack_entries, entry->stack_len, 0); in dump_entry_trace()
705 entry->stack_len = stack_trace_save(entry->stack_entries, in dma_entry_alloc()
706 ARRAY_SIZE(entry->stack_entries), in dma_entry_alloc()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c1547 ulong stack_entries[STACK_DEPTH]; in __topology_ref_save() local
1551 n = stack_trace_save(stack_entries, ARRAY_SIZE(stack_entries), 1); in __topology_ref_save()
1552 backtrace = stack_depot_save(stack_entries, n, GFP_KERNEL); in __topology_ref_save()