Home
last modified time | relevance | path

Searched refs:num_stack_entries (Results 1 – 4 of 4) sorted by relevance

/mm/kfence/
A Dreport.c123 if (track->num_stack_entries) { in kfence_print_stack()
125 int i = get_stack_skipnr(track->stack_entries, track->num_stack_entries, NULL); in kfence_print_stack()
128 for (; i < track->num_stack_entries; i++) in kfence_print_stack()
196 int num_stack_entries; in kfence_report_error() local
200 num_stack_entries = stack_trace_save_regs(regs, stack_entries, KFENCE_STACK_DEPTH, 0); in kfence_report_error()
202 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 1); in kfence_report_error()
203 skipnr = get_stack_skipnr(stack_entries, num_stack_entries, &type); 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()
293 for (j = 0; i < track->num_stack_entries && j < KS_ADDRS_COUNT; ++i, ++j) in kfence_to_kp_stack()
A Dcore.c290 unsigned long *stack_entries, size_t num_stack_entries) in metadata_update_state() argument
303 num_stack_entries * sizeof(stack_entries[0])); in metadata_update_state()
309 num_stack_entries = stack_trace_save(track->stack_entries, KFENCE_STACK_DEPTH, 1); in metadata_update_state()
311 track->num_stack_entries = num_stack_entries; in metadata_update_state()
415 unsigned long *stack_entries, size_t num_stack_entries, in kfence_guarded_alloc() argument
478 metadata_update_state(meta, KFENCE_OBJECT_ALLOCATED, stack_entries, num_stack_entries); in kfence_guarded_alloc()
1069 size_t num_stack_entries; in __kfence_alloc() local
1121 num_stack_entries = stack_trace_save(stack_entries, KFENCE_STACK_DEPTH, 0); in __kfence_alloc()
1132 alloc_stack_hash = get_alloc_stack_hash(stack_entries, num_stack_entries); in __kfence_alloc()
1138 return kfence_guarded_alloc(s, size, flags, stack_entries, num_stack_entries, in __kfence_alloc()
A Dkfence.h50 int num_stack_entries; member
/mm/kmsan/
A Dreport.c155 int num_stack_entries, skipnr; in kmsan_report() local
186 num_stack_entries = in kmsan_report()
188 skipnr = get_stack_skipnr(stack_entries, num_stack_entries); in kmsan_report()
192 stack_trace_print(stack_entries + skipnr, num_stack_entries - skipnr, in kmsan_report()

Completed in 12 milliseconds