Searched refs:nr_entries (Results 1 – 8 of 8) sorted by relevance
/kernel/ |
D | stacktrace.c | 24 void stack_trace_print(const unsigned long *entries, unsigned int nr_entries, in stack_trace_print() argument 32 for (i = 0; i < nr_entries; i++) in stack_trace_print() 48 unsigned int nr_entries, int spaces) in stack_trace_snprint() argument 55 for (i = 0; i < nr_entries && size; i++) { in stack_trace_snprint() 279 return trace.nr_entries; in stack_trace_save() 304 return trace.nr_entries; in stack_trace_save_tsk() 326 return trace.nr_entries; in stack_trace_save_regs() 351 return ret ? ret : trace.nr_entries; in stack_trace_save_tsk_reliable() 371 return trace.nr_entries; in stack_trace_save_user() 392 unsigned int filter_irq_stacks(unsigned long *entries, unsigned int nr_entries) in filter_irq_stacks() argument [all …]
|
D | backtracetest.c | 48 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/printk/ |
D | index.c | 23 unsigned int nr_entries; in pi_get_entry() local 28 nr_entries = mod->printk_index_size; in pi_get_entry() 34 nr_entries = __stop_printk_index - __start_printk_index; in pi_get_entry() 37 if (pos >= nr_entries) in pi_get_entry()
|
/kernel/livepatch/ |
D | transition.c | 193 unsigned int nr_entries) in klp_check_stack_func() argument 199 for (i = 0; i < nr_entries; i++) { in klp_check_stack_func() 246 int ret, nr_entries; in klp_check_stack() local 251 nr_entries = ret; in klp_check_stack() 257 ret = klp_check_stack_func(func, entries, nr_entries); in klp_check_stack()
|
/kernel/dma/ |
D | debug.c | 610 static void __dma_entry_alloc_check_leak(u32 nr_entries) in __dma_entry_alloc_check_leak() argument 612 u32 tmp = nr_entries % nr_prealloc_entries; in __dma_entry_alloc_check_leak() 617 nr_entries, in __dma_entry_alloc_check_leak() 618 (nr_entries / nr_prealloc_entries)); in __dma_entry_alloc_check_leak() 632 u32 nr_entries; in dma_entry_alloc() local 643 nr_entries = nr_total_entries; in dma_entry_alloc() 651 __dma_entry_alloc_check_leak(nr_entries); in dma_entry_alloc()
|
/kernel/trace/ |
D | trace_osnoise.c | 594 int nr_entries; member 608 unsigned int size, nr_entries; in timerlat_save_stack() local 615 nr_entries = stack_trace_save(fstack->calls, size, skip); in timerlat_save_stack() 617 fstack->stack_size = nr_entries * sizeof(unsigned long); in timerlat_save_stack() 618 fstack->nr_entries = nr_entries; in timerlat_save_stack() 639 entry->size = fstack->nr_entries; in __timerlat_dump_stack()
|
D | trace.c | 3042 unsigned int size, nr_entries; in __ftrace_trace_stack() local 3077 nr_entries = stack_trace_save_regs(regs, fstack->calls, in __ftrace_trace_stack() 3080 nr_entries = stack_trace_save(fstack->calls, size, skip); in __ftrace_trace_stack() 3083 size = nr_entries * sizeof(unsigned long); in __ftrace_trace_stack() 3092 entry->size = nr_entries; in __ftrace_trace_stack()
|
/kernel/locking/ |
D | lockdep.c | 541 u32 nr_entries; member 554 return t1->hash == t2->hash && t1->nr_entries == t2->nr_entries && in traces_identical() 556 t1->nr_entries * sizeof(t1->entries[0])) == 0; in traces_identical() 582 trace->nr_entries = stack_trace_save(trace->entries, max_entries, 3); in save_trace() 584 hash = jhash(trace->entries, trace->nr_entries * in save_trace() 592 nr_stack_trace_entries += LOCK_TRACE_SIZE_IN_LONGS + trace->nr_entries; in save_trace() 1850 stack_trace_print(trace->entries, trace->nr_entries, spaces); in print_lock_trace()
|