/xnu-2422.115.4/libkern/gen/ |
H A D | OSDebug.cpp | 66 void *bt[16]; local 67 const unsigned cnt = sizeof(bt) / sizeof(bt[0]); 71 OSBacktrace(bt, cnt); 74 for (i = 3; i < cnt && bt[i]; i++) { 75 if (bt[i] > (void*)&etext) { 86 #define safe_bt(a) (uintptr_t)(a<cnt ? bt[a] : 0) 96 void *bt[9]; local 97 const unsigned cnt = sizeof(bt) / sizeof(bt[ 166 OSBacktrace(void **bt, unsigned maxAddrs) argument [all...] |
/xnu-2422.115.4/libkern/libkern/ |
H A D | OSDebug.h | 49 extern unsigned OSBacktrace(void **bt, unsigned maxAddrs);
|
/xnu-2422.115.4/osfmk/kern/ |
H A D | btlog.h | 81 void *bt[],
|
H A D | btlog.c | 53 void *bt[]; /* variable sized, based on btlog_t params */ member in struct:btlog_record 212 void *bt[], 237 record->bt[i] = bt[i]; 240 record->bt[i] = NULL; 209 btlog_add_entry(btlog_t *btlog, void *element, uint8_t operation, void *bt[], size_t btcount) argument
|
H A D | zalloc.h | 322 extern uint32_t fastbacktrace(uintptr_t* bt, uint32_t max_frames) __attribute__((noinline));
|
H A D | task.c | 325 void * bt[TASK_REF_BTDEPTH]; local 328 numsaved = OSBacktrace(bt, TASK_REF_BTDEPTH); 332 bt, numsaved); 338 void * bt[TASK_REF_BTDEPTH]; local 341 numsaved = OSBacktrace(bt, TASK_REF_BTDEPTH); 344 bt, numsaved);
|
H A D | zalloc.c | 1373 zleak_log(uintptr_t* bt, argument 1386 uint32_t trace_index = hashbacktrace(bt, depth, zleak_trace_buckets); 1406 if (trace->zt_size > 0 && bcmp(trace->zt_stack, bt, (depth * sizeof(uintptr_t))) != 0 ) { 1427 memcpy(trace->zt_stack, bt, (depth * sizeof(uintptr_t)) ); 1526 fastbacktrace(uintptr_t* bt, uint32_t max_frames) argument 1559 bt[frame_index++] = retaddr; 1569 bt[frame_index++] = 0; 1599 hashbacktrace(uintptr_t* bt, uint32_t depth, uint32_t max_size) argument 1606 hash += bt[--depth];
|
/xnu-2422.115.4/libkern/c++/ |
H A D | OSObject.cpp | 286 void * bt[14]; member in struct:OSObjectTracking 301 (void) OSBacktrace(&mem->bt[0], sizeof(mem->bt) / sizeof(mem->bt[0]));
|
/xnu-2422.115.4/bsd/net/ |
H A D | bridgestp.c | 112 #define BSTP_TASK_INIT(bt, func, context) do { \ 113 (bt)->bt_count = 0; \ 114 (bt)->bt_func = func; \ 115 (bt)->bt_context = context; \ 2362 struct bstp_task *bt, *tvar; local 2372 TAILQ_FOREACH_SAFE(bt, &bstp_task_queue, bt_next, tvar) { 2373 int count = bt->bt_count; 2375 bt->bt_count = 0; 2377 bstp_task_queue_running = bt; 2380 (*bt 2394 bstp_task_enqueue(struct bstp_task *bt) argument 2414 bstp_task_drain(struct bstp_task *bt) argument [all...] |
H A D | bpf.c | 2217 struct bpf_mtag *bt = NULL; local 2274 if (mt && mt->m_tag_len >= sizeof(*bt)) { 2275 bt = (struct bpf_mtag *)(mt + 1); 2276 ehp->bh_pid = bt->bt_pid; 2277 strlcpy(ehp->bh_comm, bt->bt_comm, 2279 ehp->bh_svc = so_svc2tc(bt->bt_svc); 2280 if (bt->bt_direction == BPF_MTAG_DIR_OUT)
|
/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOStatistics.cpp | 1213 void *bt[16]; local 1214 unsigned btCount = sizeof(bt) / sizeof(bt[0]); 1224 btCount = fastbacktrace((uintptr_t*)bt, btCount); 1233 scanAddr = (vm_offset_t *)&bt[btMin - 1];
|
/xnu-2422.115.4/tools/lldbmacros/ |
H A D | memory.py | 425 frame_pc = unsigned(cpcs_record.bt[frame]) 770 frame_pc = zstack_record.bt[frame]
|
/xnu-2422.115.4/bsd/kern/ |
H A D | uipc_mbuf.c | 6665 uintptr_t bt[MLEAK_STACK_DEPTH]; local 6666 int logged = fastbacktrace(bt, MLEAK_STACK_DEPTH); 6667 mleak_log(bt, addr, logged, num); 6678 mleak_log(uintptr_t *bt, mcache_obj_t *addr, uint32_t depth, int num) argument 6692 trace_index = hashbacktrace(bt, depth, mleak_trace_buckets); 6717 bcmp(trace->addr, bt, (depth * sizeof (uintptr_t))) != 0) { 6734 memcpy(trace->addr, bt, (depth * sizeof (uintptr_t)));
|