Searched refs:numthreads (Results 1 - 3 of 3) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dproc_info.c487 int numthreads; local
491 numthreads = get_numthreads(p->task);
493 numthreads += 10;
495 if (numthreads > count)
496 numthreads = count;
498 kbuf = (void *)kalloc(numthreads * sizeof(uint64_t));
501 bzero(kbuf, numthreads * sizeof(uint64_t));
503 ret = fill_taskthreadlist(p->task, kbuf, numthreads);
506 kfree(kbuf, numthreads * sizeof(uint64_t));
H A Dkern_exec.c1570 int numthreads; local
1768 numthreads = get_task_numacts(task);
1769 if (numthreads <= 0 ) {
1773 if (numthreads > 1) {
1929 int numthreads; local
1963 numthreads = get_task_numactivethreads(task);
1964 if (numthreads <= 0 ) {
1969 if (numthreads > 1) {
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/specfs/
H A Dspec_vnops.c691 panic("%s: numthreads negative", __func__);
796 panic("%s: numthreads negative", __func__);
802 // keep track of the numthreads in the right device
807 int numthreads = MAX(1, _throttle_io_info[devbsdunit].numthreads_throttling); local
808 ut->uu_lowpri_window += lowpri_IO_window_msecs_inc * numthreads;
809 if (ut->uu_lowpri_window > lowpri_max_window_msecs * numthreads)
810 ut->uu_lowpri_window = lowpri_max_window_msecs * numthreads;

Completed in 38 milliseconds