Home
last modified time | relevance | path

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

/linux-2.6.39/arch/tile/kernel/
Dstack.c39 static int in_kernel_stack(struct KBacktraceIterator *kbt, VirtualAddress sp) in in_kernel_stack() argument
41 ulong kstack_base = (ulong) kbt->task->stack; in in_kernel_stack()
48 static int valid_address(struct KBacktraceIterator *kbt, VirtualAddress address) in valid_address() argument
50 HV_PTE *l1_pgtable = kbt->pgtable; in valid_address()
104 struct KBacktraceIterator *kbt = (struct KBacktraceIterator *)vkbt; in read_memory_func() local
109 if (!in_kernel_stack(kbt, address)) in read_memory_func()
111 } else if (!valid_address(kbt, address)) { in read_memory_func()
123 static struct pt_regs *valid_fault_handler(struct KBacktraceIterator* kbt) in valid_fault_handler() argument
127 VirtualAddress sp = kbt->it.sp; in valid_fault_handler()
130 if (!in_kernel_stack(kbt, sp)) in valid_fault_handler()
[all …]
Dprocess.c607 struct KBacktraceIterator kbt; in get_wchan() local
612 for (KBacktraceIterator_init(&kbt, p, NULL); in get_wchan()
613 !KBacktraceIterator_end(&kbt); in get_wchan()
614 KBacktraceIterator_next(&kbt)) { in get_wchan()
615 if (!in_sched_functions(kbt.it.pc)) in get_wchan()
616 return kbt.it.pc; in get_wchan()
/linux-2.6.39/arch/tile/include/asm/
Dstack.h46 extern void KBacktraceIterator_init(struct KBacktraceIterator *kbt,
50 extern void KBacktraceIterator_init_current(struct KBacktraceIterator *kbt);
53 extern void _KBacktraceIterator_init_current(struct KBacktraceIterator *kbt,
57 extern int KBacktraceIterator_end(struct KBacktraceIterator *kbt);
60 extern void KBacktraceIterator_next(struct KBacktraceIterator *kbt);