Home
last modified time | relevance | path

Searched refs:max_cpuid (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/dtrace/test/tst/common/sched/
H A Dtst.enqueue.d39 /self->one && args[2]->cpu_id >= 0 && args[2]->cpu_id <= `max_cpuid/
/titanic_50/usr/src/uts/sun4/io/
H A Dtrapstat.c2059 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()
/titanic_50/usr/src/uts/common/syscall/
H A Dsysconfig.c217 return (max_cpuid); in sysconfig()
/titanic_50/usr/src/uts/common/io/
H A Dcpc.c482 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()
/titanic_50/usr/src/cmd/psrset/
H A Dpsrset.c472 processorid_t cpuid, max_cpuid; in print_all() local
475 max_cpuid = (processorid_t)sysconf(_SC_CPUID_MAX); in print_all()
476 for (cpuid = 0; cpuid <= max_cpuid; cpuid++) { in print_all()
/titanic_50/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c361 processorid_t max_cpuid, cpu = desc->dtbd_cpu; in dtracemdb_bufsnap() local
363 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() local
844 if (mdb_readvar(&max_cpuid, "max_cpuid") == -1) { in dtracemdb_sysconf()
849 return (max_cpuid); in dtracemdb_sysconf()
/titanic_50/usr/src/uts/common/sys/
H A Dcpuvar.h560 extern processorid_t max_cpuid; /* maximum CPU number */
/titanic_50/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c2590 int max_cpuid = MAX_BOARDS * MAX_CPU_UNITS_PER_BOARD; in drmach_cpu_juggle_bootproc() local
2592 for (cpuid = 0; cpuid < max_cpuid; cpuid++) in drmach_cpu_juggle_bootproc()
2599 if (cpuid == max_cpuid) { in drmach_cpu_juggle_bootproc()
/titanic_50/usr/src/uts/common/os/
H A Dcpu.c134 processorid_t max_cpuid = NCPU - 1; variable