Lines Matching refs:kd_threadmap
251 static kd_threadmap *_thread_map_create_live(size_t max_count,
386 kd_threadmap *kd_mapptr = 0;
1630 kd_threadmap *krs_map;
1652 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_iterator()
1671 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_kernel_task()
1679 _resolve_threads(kd_threadmap *map, vm_size_t nthreads) in _resolve_threads()
1694 static kd_threadmap *
1698 kd_threadmap *thread_map = NULL; in _thread_map_create_live()
1712 if (os_mul_overflow(nthreads, sizeof(kd_threadmap), mapsize)) { in _thread_map_create_live()
2068 kd_threadmap *mapptr; in kdbg_readcurthrmap()
2072 size_t count = *bufsize / sizeof(kd_threadmap); in kdbg_readcurthrmap()
2077 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) { in kdbg_readcurthrmap()
2080 *bufsize = (mapcount * sizeof(kd_threadmap)); in kdbg_readcurthrmap()
2155 map_size = kd_mapcount * sizeof(kd_threadmap); in kdbg_copyout_thread_map()
2788 if (os_mul_overflow(map_count, sizeof(kd_threadmap), &map_size)) { in _write_legacy_header()
2832 extra_thread_count = (pad_size / sizeof(kd_threadmap)) + 1; in _write_legacy_header()
2859 pad_size = extra_thread_count * sizeof(kd_threadmap); in _write_legacy_header()
3012 *sizep = kd_mapcount * sizeof(kd_threadmap); in _kd_sysctl_internal()