Searched refs:max_cpuid (Results 1 – 9 of 9) sorted by relevance
39 /self->one && args[2]->cpu_id >= 0 && args[2]->cpu_id <= `max_cpuid/
2059 for (i = 0; i <= max_cpuid; i++) { in trapstat_stop()2245 for (i = 0; i <= max_cpuid; i++) in trapstat_open()2312 if (arg < 0 || arg > max_cpuid) in trapstat_ioctl()2331 for (i = 0; i <= max_cpuid; i++) { in trapstat_ioctl()2398 for (i = 0, out = 0; i <= max_cpuid; i++) { in trapstat_ioctl()2457 if (out != max_cpuid + 1) { in trapstat_ioctl()2548 tstat_percpu = kmem_zalloc((max_cpuid + 1) * in trapstat_attach()2602 kmem_free(tstat_percpu, (max_cpuid + 1) * sizeof (tstat_percpu_t)); in trapstat_detach()
217 return (max_cpuid); in sysconfig()
482 if (cpuid > max_cpuid) in kcpc_open()497 kcpc_cpumap = kmem_zalloc(BT_SIZEOFMAP(max_cpuid + 1), in kcpc_open()531 kmem_free(kcpc_cpumap, BT_SIZEOFMAP(max_cpuid + 1)); in kcpc_close()
472 processorid_t cpuid, max_cpuid; in print_all() local475 max_cpuid = (processorid_t)sysconf(_SC_CPUID_MAX); in print_all()476 for (cpuid = 0; cpuid <= max_cpuid; cpuid++) { in print_all()
361 processorid_t max_cpuid, cpu = desc->dtbd_cpu; in dtracemdb_bufsnap() local363 if (mdb_readvar(&max_cpuid, "max_cpuid") == -1) { in dtracemdb_bufsnap()369 if (cpu < 0 || cpu > max_cpuid) { in dtracemdb_bufsnap()840 processorid_t max_cpuid; in dtracemdb_sysconf() local844 if (mdb_readvar(&max_cpuid, "max_cpuid") == -1) { in dtracemdb_sysconf()849 return (max_cpuid); in dtracemdb_sysconf()
560 extern processorid_t max_cpuid; /* maximum CPU number */
2590 int max_cpuid = MAX_BOARDS * MAX_CPU_UNITS_PER_BOARD; in drmach_cpu_juggle_bootproc() local2592 for (cpuid = 0; cpuid < max_cpuid; cpuid++) in drmach_cpu_juggle_bootproc()2599 if (cpuid == max_cpuid) { in drmach_cpu_juggle_bootproc()
134 processorid_t max_cpuid = NCPU - 1; variable