Lines Matching refs:bt
44 static __inline__ int next_frame(ia64_backtrace_t *bt)
51 if (in_ivt_code(bt->frame.ip))
62 if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc)
63 bt->frame.pfs_loc = &bt->regs->ar_pfs;
64 bt->prev_pfs_loc = NULL;
66 return unw_unwind(&bt->frame) == 0;
72 ia64_backtrace_t *bt = vdata;
81 unw_init_frame_info(&bt->frame, current, sw);
85 unw_get_sp(&bt->frame, &sp);
86 if (sp >= (u_long)bt->regs)
88 if (!next_frame(bt))
93 while (bt->depth-- && next_frame(bt)) {
94 unw_get_ip(&bt->frame, &pc);
96 if (unw_is_intr_frame(&bt->frame)) {
114 ia64_backtrace_t bt;
125 bt.depth = depth;
126 bt.regs = regs;
127 bt.prev_pfs_loc = NULL;
129 unw_init_running(do_ia64_backtrace, &bt);