Lines Matching defs:bt
63 static __inline__ int next_frame(ia64_backtrace_t *bt)
70 if (in_ivt_code(bt->frame.ip))
81 if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc)
82 bt->frame.pfs_loc = &bt->regs->ar_pfs;
83 bt->prev_pfs_loc = (in_old_ool_spinlock_code(bt->frame.ip) ? bt->frame.pfs_loc : NULL);
85 return unw_unwind(&bt->frame) == 0;
91 ia64_backtrace_t *bt = vdata;
100 unw_init_frame_info(&bt->frame, current, sw);
104 unw_get_sp(&bt->frame, &sp);
105 if (sp >= (u_long)bt->regs)
107 if (!next_frame(bt))
112 while (bt->depth-- && next_frame(bt)) {
113 unw_get_ip(&bt->frame, &pc);
115 if (unw_is_intr_frame(&bt->frame)) {
133 ia64_backtrace_t bt;
144 bt.depth = depth;
145 bt.regs = regs;
146 bt.prev_pfs_loc = NULL;
148 unw_init_running(do_ia64_backtrace, &bt);