Searched defs:new_cpu_list (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c207 processorid_t *old_cpu_list = NULL, *new_cpu_list = NULL; local
277 if ((error = nvlist_lookup_int32_array(nvl, "new_cpu_list",
278 &new_cpu_list, &nelem)) != 0) {
280 gettext("POOL: 'new_cpu_list' not found in nvlist: %s\n"),
287 gettext("POOL: 'new_cpu_list' size mismatch: %1$d vs "
295 if (old_cpu_list[i] == new_cpu_list[j])
297 if (j == new_total) /* not found in new_cpu_list */
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c793 percpu_t *new_cpu_list; local
842 new_cpu_list = (percpu_t *)sbrk(cache_space_needed);
844 if (new_cpu_list == (percpu_t *)-1 ||
845 (uintptr_t)new_cpu_list != newbrk)
853 newbrk = (uintptr_t)new_cpu_list + cache_space_needed;
860 list_addr = ((uintptr_t)new_cpu_list + (sizeof (percpu_t) * ncpus));
864 new_cpu_list[i].mt_caches = (cache_head_t *)list_addr;
866 new_cpu_list[i].mt_caches[j].mt_cache = NULL;
867 new_cpu_list[i].mt_caches[j].mt_hint = NULL;
870 (void) mutex_init(&new_cpu_list[
[all...]

Completed in 46 milliseconds