Lines Matching refs:bt
61 void *bt[16];
62 const unsigned cnt = sizeof(bt) / sizeof(bt[0]);
66 OSBacktrace(bt, cnt);
69 for (i = 3; i < cnt && bt[i]; i++) {
70 if (bt[i] > (void*)&etext) {
81 #define safe_bt(a) (int)(a<cnt ? bt[a] : 0)
91 void *bt[9];
92 const unsigned cnt = sizeof(bt) / sizeof(bt[0]);
96 (void) OSBacktrace(bt, cnt);
105 buf, bt[2], bt[3], bt[4], bt[5], bt[6], bt[7], bt[8]);
106 kmod_dump_log((vm_offset_t *) &bt[2], cnt - 2);
147 unsigned OSBacktrace(void **bt, unsigned maxAddrs)
157 bt[i++] = (void *) stackptr;
174 bt[i] = (void *) addr;
179 bt[i] = (void *) 0;
195 bt[frame_index++] = (void *) raddr;
215 bt[frame_index] = (void *) raddr;
221 bt[frame_index] = (void *) 0;