Lines Matching refs:kd_threadmap
248 static kd_threadmap *_thread_map_create_live(size_t max_count,
317 kd_threadmap *kd_mapptr = 0;
1429 kd_threadmap *krs_map;
1451 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_iterator()
1470 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_kernel_task()
1478 _resolve_threads(kd_threadmap *map, vm_size_t nthreads) in _resolve_threads()
1493 static kd_threadmap *
1497 kd_threadmap *thread_map = NULL; in _thread_map_create_live()
1511 if (os_mul_overflow(nthreads, sizeof(kd_threadmap), mapsize)) { in _thread_map_create_live()
1878 kd_threadmap *mapptr; in kdbg_readcurthrmap()
1882 size_t count = *bufsize / sizeof(kd_threadmap); in kdbg_readcurthrmap()
1887 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) { in kdbg_readcurthrmap()
1890 *bufsize = (mapcount * sizeof(kd_threadmap)); in kdbg_readcurthrmap()
1921 if (os_mul_overflow(map_count, sizeof(kd_threadmap), &map_size)) { in _write_legacy_header()
1968 extra_thread_count = (pad_size / sizeof(kd_threadmap)) + 1; in _write_legacy_header()
2000 pad_size = extra_thread_count * sizeof(kd_threadmap); in _write_legacy_header()
2121 map_size = kd_mapcount * sizeof(kd_threadmap); in kdbg_copyout_thread_map()
2459 number = kd_mapcount * sizeof(kd_threadmap); in _kd_sysctl_internal()