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
83 unsigned long sp = kbt->it.sp; in valid_fault_handler()
88 if (!in_kernel_stack(kbt, sp)) in valid_fault_handler()
90 if (!in_kernel_stack(kbt, sp + C_ABI_SAVE_AREA_SIZE + PTREGS_SIZE-1)) in valid_fault_handler()
96 if (kbt->verbose) { /* else we aren't going to use it */ in valid_fault_handler()
[all …]
Dprocess.c518 struct KBacktraceIterator kbt; in get_wchan() local
523 for (KBacktraceIterator_init(&kbt, p, NULL); in get_wchan()
524 !KBacktraceIterator_end(&kbt); in get_wchan()
525 KBacktraceIterator_next(&kbt)) { in get_wchan()
526 if (!in_sched_functions(kbt.it.pc)) in get_wchan()
527 return kbt.it.pc; in get_wchan()
585 struct KBacktraceIterator kbt; in show_regs() local
590 KBacktraceIterator_init(&kbt, NULL, regs); in show_regs()
591 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);