Searched refs:num_stack_entries (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/mm/kfence/ |
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() 282 i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_to_kp_stack() 283 for (j = 0; i < track->num_stack_entries && j < KS_ADDRS_COUNT; ++i, ++j) in kfence_to_kp_stack()
|
D | core.c | 271 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument 280 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state() 286 num_stack_entries = stack_trace_save(track->stack_entries, KFENCE_STACK_DEPTH, 1); in metadata_update_state() 288 track->num_stack_entries = num_stack_entries; in metadata_update_state() 356 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument 419 metadata_update_state(meta, KFENCE_OBJECT_ALLOCATED, stack_entries, num_stack_entries); in kfence_guarded_alloc() 983 size_t num_stack_entries; in __kfence_alloc() local 1025 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc() 1036 alloc_stack_hash = get_alloc_stack_hash(stack_entries, num_stack_entries); in __kfence_alloc() 1042 return kfence_guarded_alloc(s, size, flags, stack_entries, num_stack_entries, in __kfence_alloc()
|
D | kfence.h | 41 int num_stack_entries; member
|
/linux-5.19.10/kernel/kcsan/ |
D | report.c | 45 int num_stack_entries; member 395 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1); in print_report() local 396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); in print_report() 410 other_info->num_stack_entries, in print_report() 452 other_info->num_stack_entries - other_skipnr, in print_report() 467 print_stack_trace(stack_entries + skipnr, num_stack_entries - skipnr, reordered_to); in print_report() 595 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()
|