Lines Matching refs:kd_threadmap
251 static kd_threadmap *_thread_map_create_live(size_t max_count,
320 kd_threadmap *kd_mapptr = 0;
1436 kd_threadmap *krs_map;
1458 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_iterator()
1477 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_kernel_task()
1485 _resolve_threads(kd_threadmap *map, vm_size_t nthreads) in _resolve_threads()
1500 static kd_threadmap *
1504 kd_threadmap *thread_map = NULL; in _thread_map_create_live()
1518 if (os_mul_overflow(nthreads, sizeof(kd_threadmap), mapsize)) { in _thread_map_create_live()
1885 kd_threadmap *mapptr; in kdbg_readcurthrmap()
1889 size_t count = *bufsize / sizeof(kd_threadmap); in kdbg_readcurthrmap()
1894 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) { in kdbg_readcurthrmap()
1897 *bufsize = (mapcount * sizeof(kd_threadmap)); in kdbg_readcurthrmap()
1928 if (os_mul_overflow(map_count, sizeof(kd_threadmap), &map_size)) { in _write_legacy_header()
1975 extra_thread_count = (pad_size / sizeof(kd_threadmap)) + 1; in _write_legacy_header()
2007 pad_size = extra_thread_count * sizeof(kd_threadmap); in _write_legacy_header()
2128 map_size = kd_mapcount * sizeof(kd_threadmap); in kdbg_copyout_thread_map()
2466 number = kd_mapcount * sizeof(kd_threadmap); in _kd_sysctl_internal()