Home
last modified time | relevance | path

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

/arch/tile/kernel/
Dstack.c44 static int in_kernel_stack(struct KBacktraceIterator *kbt, unsigned long sp) in in_kernel_stack() argument
46 ulong kstack_base = (ulong) kbt->task->stack; in in_kernel_stack()
57 struct KBacktraceIterator *kbt = (struct KBacktraceIterator *)vkbt; in read_memory_func() local
65 if (!in_kernel_stack(kbt, address)) in read_memory_func()
67 } else if (!kbt->is_current) { in read_memory_func()
79 static struct pt_regs *valid_fault_handler(struct KBacktraceIterator* kbt) in valid_fault_handler() argument
82 unsigned long sp = kbt->it.sp; in valid_fault_handler()
87 if (!in_kernel_stack(kbt, sp)) in valid_fault_handler()
89 if (!in_kernel_stack(kbt, sp + C_ABI_SAVE_AREA_SIZE + PTREGS_SIZE-1)) in valid_fault_handler()
92 if (kbt->verbose) { /* else we aren't going to use it */ in valid_fault_handler()
[all …]
Dprocess.c521 struct KBacktraceIterator kbt; in get_wchan() local
526 for (KBacktraceIterator_init(&kbt, p, NULL); in get_wchan()
527 !KBacktraceIterator_end(&kbt); in get_wchan()
528 KBacktraceIterator_next(&kbt)) { in get_wchan()
529 if (!in_sched_functions(kbt.it.pc)) in get_wchan()
530 return kbt.it.pc; in get_wchan()
588 struct KBacktraceIterator kbt; in show_regs() local
593 KBacktraceIterator_init(&kbt, NULL, regs); in show_regs()
594 tile_show_stack(&kbt); in show_regs()
Dperf_event.c947 struct KBacktraceIterator kbt; in perf_callchain() local
962 KBacktraceIterator_init(&kbt, NULL, regs); in perf_callchain()
963 kbt.profile = 1; in perf_callchain()
976 if (KBacktraceIterator_end(&kbt)) in perf_callchain()
978 KBacktraceIterator_next(&kbt); in perf_callchain()
986 if (KBacktraceIterator_end(&kbt)) in perf_callchain()
988 pc = kbt.it.pc; in perf_callchain()
991 KBacktraceIterator_next(&kbt); in perf_callchain()
/arch/tile/include/asm/
Dstack.h45 extern void KBacktraceIterator_init(struct KBacktraceIterator *kbt,
49 extern void KBacktraceIterator_init_current(struct KBacktraceIterator *kbt);
52 extern void _KBacktraceIterator_init_current(struct KBacktraceIterator *kbt,
56 extern int KBacktraceIterator_end(struct KBacktraceIterator *kbt);
59 extern void KBacktraceIterator_next(struct KBacktraceIterator *kbt);