Home
last modified time | relevance | path

Searched refs:cpuid_max (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/ucodeadm/
H A Ducodeadm.c488 processorid_t cpuid_max; in main() local
676 cpuid_max = (processorid_t)sysconf(_SC_CPUID_MAX); in main()
679 malloc(cpuid_max * sizeof (uint32_t))) == NULL) { in main()
685 for (i = 0; i < cpuid_max; i++) in main()
690 info32.ugv_size = cpuid_max; in main()
696 info.ugv_size = cpuid_max; in main()
708 for (i = 0; i < cpuid_max; i++) { in main()
/titanic_50/usr/src/cmd/psradm/
H A Dpsradm.c217 processorid_t cpuid_max; in main() local
297 cpuid_max = (processorid_t)sysconf(_SC_CPUID_MAX); in main()
298 for (cpu = 0; cpu <= cpuid_max; cpu++) { in main()
/titanic_50/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c90 int cpuid_max; /* maximum cpuid value */ member
427 int cpuid_max, rv = 0; in ecache_info_init() local
429 assert(ec != NULL && ec->cpuid_max == 0 && ec->ecache_sizes == NULL); in ecache_info_init()
431 if ((cpuid_max = sysconf(_SC_CPUID_MAX)) == -1) { in ecache_info_init()
449 if ((ec->ecache_sizes = calloc(cpuid_max + 1, sizeof (int))) == NULL) { in ecache_info_init()
454 ec->cpuid_max = cpuid_max; in ecache_info_init()
456 dprintf((stderr, "cpuid_max is set to %d\n", ec->cpuid_max)); in ecache_info_init()
540 *cpuid <= ec->cpuid_max); in find_cpu_nodes()
995 assert(rcm->ecache_info.cpuid_max != 0 && in i_cpu_cm_info()
996 cpuid <= rcm->ecache_info.cpuid_max); in i_cpu_cm_info()