Lines Matching refs:nr_entries
359 unsigned int nr_entries, in __stack_depot_save() argument
377 nr_entries = filter_irq_stacks(entries, nr_entries); in __stack_depot_save()
379 if (unlikely(nr_entries == 0) || stack_depot_disabled) in __stack_depot_save()
382 hash = hash_stack(entries, nr_entries); in __stack_depot_save()
390 found = find_stack(smp_load_acquire(bucket), entries, nr_entries, hash); in __stack_depot_save()
417 found = find_stack(*bucket, entries, nr_entries, hash); in __stack_depot_save()
420 depot_alloc_stack(entries, nr_entries, hash, &prealloc); in __stack_depot_save()
453 unsigned int nr_entries, in stack_depot_save() argument
456 return __stack_depot_save(entries, nr_entries, alloc_flags, true); in stack_depot_save()
501 unsigned int nr_entries; in stack_depot_print() local
503 nr_entries = stack_depot_fetch(stack, &entries); in stack_depot_print()
504 if (nr_entries > 0) in stack_depot_print()
505 stack_trace_print(entries, nr_entries, 0); in stack_depot_print()
513 unsigned int nr_entries; in stack_depot_snprint() local
515 nr_entries = stack_depot_fetch(handle, &entries); in stack_depot_snprint()
516 return nr_entries ? stack_trace_snprint(buf, size, entries, nr_entries, in stack_depot_snprint()