Lines Matching refs:kd_threadmap
248 static kd_threadmap *_thread_map_create_live(size_t max_count,
317 kd_threadmap *kd_mapptr = 0;
1430 kd_threadmap *krs_map;
1452 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_iterator()
1471 kd_threadmap *map = &resolver->krs_map[resolver->krs_count]; in _resolve_kernel_task()
1479 _resolve_threads(kd_threadmap *map, vm_size_t nthreads) in _resolve_threads()
1494 static kd_threadmap *
1498 kd_threadmap *thread_map = NULL; in _thread_map_create_live()
1512 if (os_mul_overflow(nthreads, sizeof(kd_threadmap), mapsize)) { in _thread_map_create_live()
1879 kd_threadmap *mapptr; in kdbg_readcurthrmap()
1883 size_t count = *bufsize / sizeof(kd_threadmap); in kdbg_readcurthrmap()
1888 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) { in kdbg_readcurthrmap()
1891 *bufsize = (mapcount * sizeof(kd_threadmap)); in kdbg_readcurthrmap()
1922 if (os_mul_overflow(map_count, sizeof(kd_threadmap), &map_size)) { in _write_legacy_header()
1969 extra_thread_count = (pad_size / sizeof(kd_threadmap)) + 1; in _write_legacy_header()
2001 pad_size = extra_thread_count * sizeof(kd_threadmap); in _write_legacy_header()
2122 map_size = kd_mapcount * sizeof(kd_threadmap); in kdbg_copyout_thread_map()
2460 number = kd_mapcount * sizeof(kd_threadmap); in _kd_sysctl_internal()