Home
last modified time | relevance | path

Searched refs:consume_entry (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kernel/
H A Dstacktrace.c15 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
21 if (regs && !consume_entry(cookie, regs->ip)) in arch_stack_walk()
27 if (!addr || !consume_entry(cookie, addr)) in arch_stack_walk()
32 int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, in arch_stack_walk_reliable() argument
69 if (!consume_entry(cookie, addr)) in arch_stack_walk_reliable()
106 void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk_user() argument
111 if (!consume_entry(cookie, regs->ip)) in arch_stack_walk_user()
125 if (!consume_entry(cookie, frame.ret_addr)) in arch_stack_walk_user()
/linux/kernel/
H A Dstacktrace.c115 stack_trace_consume_fn consume_entry = stack_trace_consume_entry; in stack_trace_save() local
122 arch_stack_walk(consume_entry, &c, current, NULL); in stack_trace_save()
139 stack_trace_consume_fn consume_entry = stack_trace_consume_entry_nosched; in stack_trace_save_tsk() local
150 arch_stack_walk(consume_entry, &c, tsk, NULL); in stack_trace_save_tsk()
168 stack_trace_consume_fn consume_entry = stack_trace_consume_entry; in stack_trace_save_regs() local
175 arch_stack_walk(consume_entry, &c, current, regs); in stack_trace_save_regs()
195 stack_trace_consume_fn consume_entry = stack_trace_consume_entry; in stack_trace_save_tsk_reliable() local
209 ret = arch_stack_walk_reliable(consume_entry, &c, tsk); in stack_trace_save_tsk_reliable()
225 stack_trace_consume_fn consume_entry = stack_trace_consume_entry; in stack_trace_save_user() local
235 arch_stack_walk_user(consume_entry, &c, task_pt_regs(current)); in stack_trace_save_user()
/linux/arch/riscv/kernel/
H A Dstacktrace.c160 noinline noinstr void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
163 walk_stackframe(task, regs, consume_entry, cookie); in arch_stack_walk()
170 static unsigned long unwind_user_frame(stack_trace_consume_fn consume_entry, in unwind_user_frame() argument
189 if (!ra || !consume_entry(cookie, ra)) in unwind_user_frame()
195 void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk_user() argument
201 if (!consume_entry(cookie, regs->epc)) in arch_stack_walk_user()
204 fp = unwind_user_frame(consume_entry, cookie, fp, regs->ra); in arch_stack_walk_user()
206 fp = unwind_user_frame(consume_entry, cookie, fp, 0); in arch_stack_walk_user()
/linux/arch/loongarch/kernel/
H A Dstacktrace.c14 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
38 if (!addr || !consume_entry(cookie, addr)) in arch_stack_walk()
43 int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, in arch_stack_walk_reliable() argument
72 if (!consume_entry(cookie, addr)) in arch_stack_walk_reliable()
103 void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk_user() argument
117 if (!consume_entry(cookie, frame.ra)) in arch_stack_walk_user()
/linux/arch/parisc/kernel/
H A Dstacktrace.c32 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
35 walk_stackframe(task, regs, consume_entry, cookie); in arch_stack_walk()
38 int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk_reliable() argument
41 walk_stackframe(task, NULL, consume_entry, cookie); in arch_stack_walk_reliable()
/linux/arch/powerpc/kernel/
H A Dstacktrace.c28 void __no_sanitize_address arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
33 if (regs && !consume_entry(cookie, regs->nip)) in arch_stack_walk()
53 if (!consume_entry(cookie, ip)) in arch_stack_walk()
66 int __no_sanitize_address arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, in arch_stack_walk_reliable() argument
147 if (!consume_entry(cookie, ip)) in arch_stack_walk_reliable()
/linux/include/linux/
H A Dstacktrace.h38 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
58 int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, void *cookie,
61 void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie,
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dstacktrace.c71 stack_trace_consume_fn consume_entry, in unwind() argument
77 if (!consume_entry(cookie, state->pc)) in unwind()
/linux/arch/arm64/kvm/
H A Dstacktrace.c127 stack_trace_consume_fn consume_entry, void *cookie) in unwind() argument
132 if (!consume_entry(cookie, state->pc)) in unwind()
/linux/arch/arm/kernel/
H A Dstacktrace.c162 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, in arch_stack_walk() argument
195 walk_stackframe(&frame, consume_entry, cookie); in arch_stack_walk()
/linux/arch/s390/include/asm/
H A Dstacktrace.h23 void arch_stack_walk_user_common(stack_trace_consume_fn consume_entry, void *cookie,