Searched refs:stack_entries (Results 1 – 4 of 4) sorted by relevance
| /mm/kfence/ |
| A D | report.c | 50 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries, in get_stack_skipnr() argument 75 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skipnr]); in get_stack_skipnr() 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() local 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[skipnr]); in kfence_report_error() 251 (void *)stack_entries[skipnr]); in kfence_report_error() 263 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, 0); in kfence_report_error() 292 i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_to_kp_stack() [all …]
|
| A D | core.c | 207 static u32 get_alloc_stack_hash(unsigned long *stack_entries, size_t num_entries) in get_alloc_stack_hash() argument 210 num_entries = filter_irq_stacks(stack_entries, num_entries); in get_alloc_stack_hash() 211 return jhash(stack_entries, num_entries * sizeof(stack_entries[0]), stack_hash_seed); in get_alloc_stack_hash() 290 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument 301 if (stack_entries) { in metadata_update_state() 302 memcpy(track->stack_entries, stack_entries, in metadata_update_state() 303 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state() 415 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument 1068 unsigned long stack_entries[KFENCE_STACK_DEPTH]; in __kfence_alloc() local 1121 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc() [all …]
|
| A D | kfence.h | 51 unsigned long stack_entries[KFENCE_STACK_DEPTH]; member
|
| /mm/kmsan/ |
| 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()
|
Completed in 12 milliseconds