Searched refs:num_stack_entries (Results 1 – 4 of 4) sorted by relevance
/linux/mm/kfence/ |
A D | report.c | 112 if (track->num_stack_entries) { in kfence_print_stack() 114 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack() 117 for (; i < track->num_stack_entries; i++) in kfence_print_stack() 185 int num_stack_entries; in kfence_report_error() local 189 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0); in kfence_report_error() 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() 252 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, 0); in kfence_report_error()
|
A D | core.c | 273 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument 282 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state() 288 num_stack_entries = stack_trace_save(track->stack_entries, KFENCE_STACK_DEPTH, 1); in metadata_update_state() 290 track->num_stack_entries = num_stack_entries; in metadata_update_state() 358 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument 418 metadata_update_state(meta, KFENCE_OBJECT_ALLOCATED, stack_entries, num_stack_entries); in kfence_guarded_alloc() 850 size_t num_stack_entries; in __kfence_alloc() local 892 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc() 903 alloc_stack_hash = get_alloc_stack_hash(stack_entries, num_stack_entries); in __kfence_alloc() 909 return kfence_guarded_alloc(s, size, flags, stack_entries, num_stack_entries, in __kfence_alloc()
|
A D | kfence.h | 41 int num_stack_entries; member
|
/linux/kernel/kcsan/ |
A D | report.c | 45 int num_stack_entries; member 382 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1); in print_report() local 383 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip); in print_report() 396 other_info->num_stack_entries, in print_report() 438 other_info->num_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()
|
Completed in 8 milliseconds