Searched refs:num_stack_entries (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/mm/kfence/ |
D | report.c | 118 if (track->num_stack_entries) { in kfence_print_stack() 120 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack() 123 for (; i < track->num_stack_entries; i++) in kfence_print_stack() 191 int num_stack_entries; in kfence_report_error() local 195 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0); in kfence_report_error() 197 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 1); in kfence_report_error() 198 skipnr = get_stack_skipnr(stack_entries, num_stack_entries, &type); in kfence_report_error() 258 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, 0); in kfence_report_error() 288 i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_to_kp_stack() 289 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() 972 size_t num_stack_entries; in __kfence_alloc() local 1021 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc() 1032 alloc_stack_hash = get_alloc_stack_hash(stack_entries, num_stack_entries); in __kfence_alloc() 1038 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-v6.1/mm/kmsan/ |
D | report.c | 153 int num_stack_entries, skipnr; in kmsan_report() local 184 num_stack_entries = in kmsan_report() 186 skipnr = get_stack_skipnr(stack_entries, num_stack_entries); in kmsan_report() 190 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, in kmsan_report()
|
/Linux-v6.1/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()
|