Searched refs:ncpu (Results 1 - 5 of 5) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mcache.c | 75 (sizeof (void *) + MCACHE_SIZE(ncpu) + CPU_CACHE_SIZE) 104 static int ncpu; variable 183 ncpu = ml_get_max_cpus(); 342 if ((cp->mc_slab_zone = zinit(chunksize, 64 * 1024 * ncpu, 377 for (c = 0; c < ncpu; c++) { 1095 for (cpu = 0; cpu < ncpu; cpu++) { 1114 for (cpu = 0; cpu < ncpu; cpu++) {
|
H A D | kern_mib.c | 336 SYSCTL_PROC (_hw, HW_NCPU, ncpu, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_KERN, 0, HW_NCPU, sysctl_hw_generic, "I", "");
|
H A D | uipc_mbuf.c | 314 static int ncpu; /* number of CPUs */ variable 768 for (m = 0; m < ncpu; m++) { 812 for (m = 0; m < ncpu; m++) { 1105 ncpu = ml_get_max_cpus(); 1106 MALLOC(buf, void *, MBUF_MTYPES_SIZE(ncpu) + CPU_CACHE_SIZE, 1111 bzero(mbuf_mtypes, MBUF_MTYPES_SIZE(ncpu));
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | sets.c | 290 int ncpu; local
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 16477 int i, ncpu = NCPU; 16539 cpu_core = (cpu_core_t *)kmem_zalloc( ncpu * sizeof(cpu_core_t), KM_SLEEP ); 16540 for (i = 0; i < ncpu; ++i) { 16544 cpu_list = (cpu_t *)kmem_zalloc( ncpu * sizeof(cpu_t), KM_SLEEP ); 16545 for (i = 0; i < ncpu; ++i) { 16547 cpu_list[i].cpu_next = &(cpu_list[(i+1) % ncpu]); 16552 for (i = 0; i < ncpu; ++i)
|
Completed in 178 milliseconds