Searched refs:kbt (Results 1 – 3 of 3) sorted by relevance
39 static int in_kernel_stack(struct KBacktraceIterator *kbt, VirtualAddress sp) in in_kernel_stack() argument41 ulong kstack_base = (ulong) kbt->task->stack; in in_kernel_stack()48 static int valid_address(struct KBacktraceIterator *kbt, VirtualAddress address) in valid_address() argument50 HV_PTE *l1_pgtable = kbt->pgtable; in valid_address()104 struct KBacktraceIterator *kbt = (struct KBacktraceIterator *)vkbt; in read_memory_func() local109 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() argument127 VirtualAddress sp = kbt->it.sp; in valid_fault_handler()130 if (!in_kernel_stack(kbt, sp)) in valid_fault_handler()[all …]
607 struct KBacktraceIterator kbt; in get_wchan() local612 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()
46 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);