Home
last modified time | relevance | path

Searched refs:newcpuids (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c659 cpuid_t *newcpuids = NULL; in ap_rcm_cap_cpu() local
695 newcpuids = (cpuid_t *)calloc(ncpuids, size); in ap_rcm_cap_cpu()
696 if (newcpuids == NULL) in ap_rcm_cap_cpu()
702 newcpuids[newncpuids++] = cpuids[i]; in ap_rcm_cap_cpu()
714 newcpuids = cpuids; in ap_rcm_cap_cpu()
749 newcpuids = cpuids; in ap_rcm_cap_cpu()
776 DBG("%d ", newcpuids[i]); in ap_rcm_cap_cpu()
784 nvlist_add_int32_array(nvl, "new_cpu_list", newcpuids, in ap_rcm_cap_cpu()
803 s_free(newcpuids); in ap_rcm_cap_cpu()
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c666 cpuid_t *syscpuids, *newcpuids; in cpu_cap_request() local
678 if ((newcpuids = calloc(newncpus, sizeof (cpuid_t))) == NULL) { in cpu_cap_request()
700 newcpuids[j++] = syscpuids[i]; in cpu_cap_request()
708 nvlist_add_int32_array(nvl, "new_cpu_list", newcpuids, in cpu_cap_request()
722 dprintf((stderr, "new_cpu_list[%d]=%d\n", i, newcpuids[i])); in cpu_cap_request()
733 s_free(newcpuids); in cpu_cap_request()