Home
last modified time | relevance | path

Searched refs:nr_entries (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dstacktrace.c23 void stack_trace_print(const unsigned long *entries, unsigned int nr_entries, in stack_trace_print() argument
31 for (i = 0; i < nr_entries; i++) in stack_trace_print()
47 unsigned int nr_entries, int spaces) in stack_trace_snprint() argument
54 for (i = 0; i < nr_entries && size; i++) { in stack_trace_snprint()
282 return trace.nr_entries; in stack_trace_save()
307 return trace.nr_entries; in stack_trace_save_tsk()
329 return trace.nr_entries; in stack_trace_save_regs()
354 return ret ? ret : trace.nr_entries; in stack_trace_save_tsk_reliable()
374 return trace.nr_entries; in stack_trace_save_user()
Dbacktracetest.c48 unsigned int nr_entries; in backtrace_test_saved() local
53 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); in backtrace_test_saved()
54 stack_trace_print(entries, nr_entries, 0); in backtrace_test_saved()
/kernel/livepatch/
Dtransition.c194 unsigned int nr_entries) in klp_check_stack_func() argument
200 for (i = 0; i < nr_entries; i++) { in klp_check_stack_func()
247 int ret, nr_entries; in klp_check_stack() local
256 nr_entries = ret; in klp_check_stack()
262 ret = klp_check_stack_func(func, entries, nr_entries); in klp_check_stack()
/kernel/locking/
Dlockdep.c462 u32 nr_entries; member
475 return t1->hash == t2->hash && t1->nr_entries == t2->nr_entries && in traces_identical()
477 t1->nr_entries * sizeof(t1->entries[0])) == 0; in traces_identical()
503 trace->nr_entries = stack_trace_save(trace->entries, max_entries, 3); in save_trace()
505 hash = jhash(trace->entries, trace->nr_entries * in save_trace()
513 nr_stack_trace_entries += LOCK_TRACE_SIZE_IN_LONGS + trace->nr_entries; in save_trace()
1543 stack_trace_print(trace->entries, trace->nr_entries, spaces); in print_lock_trace()
/kernel/trace/
Dtrace.c2808 unsigned int size, nr_entries; in __ftrace_trace_stack() local
2849 nr_entries = stack_trace_save_regs(regs, fstack->calls, in __ftrace_trace_stack()
2852 nr_entries = stack_trace_save(fstack->calls, size, skip); in __ftrace_trace_stack()
2855 size = nr_entries * sizeof(unsigned long); in __ftrace_trace_stack()
2863 entry->size = nr_entries; in __ftrace_trace_stack()