Lines Matching refs:kd_threadmap
248 static kd_threadmap *_thread_map_create_live(size_t max_count,
317 kd_threadmap *kd_mapptr = 0;
1433 kd_threadmap *krs_map;
1455 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_iterator()
1474 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_kernel_task()
1482 _resolve_threads(kd_threadmap *map, vm_size_t nthreads) in _resolve_threads()
1497 static kd_threadmap *
1501 kd_threadmap *thread_map = NULL; in _thread_map_create_live()
1515 if (os_mul_overflow(nthreads, sizeof(kd_threadmap), mapsize)) { in _thread_map_create_live()
1882 kd_threadmap *mapptr; in kdbg_readcurthrmap()
1886 size_t count = *bufsize / sizeof(kd_threadmap); in kdbg_readcurthrmap()
1891 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) { in kdbg_readcurthrmap()
1894 *bufsize = (mapcount * sizeof(kd_threadmap)); in kdbg_readcurthrmap()
1925 if (os_mul_overflow(map_count, sizeof(kd_threadmap), &map_size)) { in _write_legacy_header()
1972 extra_thread_count = (pad_size / sizeof(kd_threadmap)) + 1; in _write_legacy_header()
2004 pad_size = extra_thread_count * sizeof(kd_threadmap); in _write_legacy_header()
2125 map_size = kd_mapcount * sizeof(kd_threadmap); in kdbg_copyout_thread_map()
2463 number = kd_mapcount * sizeof(kd_threadmap); in _kd_sysctl_internal()