Lines Matching defs:bt
45 static __inline__ int next_frame(ia64_backtrace_t *bt)
52 if (in_ivt_code(bt->frame.ip))
63 if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc)
64 bt->frame.pfs_loc = &bt->regs->ar_pfs;
65 bt->prev_pfs_loc = NULL;
67 return unw_unwind(&bt->frame) == 0;
73 ia64_backtrace_t *bt = vdata;
82 unw_init_frame_info(&bt->frame, current, sw);
86 unw_get_sp(&bt->frame, &sp);
87 if (sp >= (u_long)bt->regs)
89 if (!next_frame(bt))
94 while (bt->depth-- && next_frame(bt)) {
95 unw_get_ip(&bt->frame, &pc);
97 if (unw_is_intr_frame(&bt->frame)) {
115 ia64_backtrace_t bt;
126 bt.depth = depth;
127 bt.regs = regs;
128 bt.prev_pfs_loc = NULL;
130 unw_init_running(do_ia64_backtrace, &bt);