Searched refs:percpu_t (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc_impl.h81 } percpu_t; typedef in typeref:struct:percpu
H A Dmtmalloc.c119 static void * malloc_internal(size_t, percpu_t *);
185 static percpu_t *cpu_list;
236 percpu_t *list_rotor;
793 percpu_t *new_cpu_list;
838 * For each cpu, there is one percpu_t and a list of caches
840 cache_space_needed = ncpus * (sizeof (percpu_t) + CACHELIST_SIZE);
842 new_cpu_list = (percpu_t *)sbrk(cache_space_needed);
844 if (new_cpu_list == (percpu_t *)-1 ||
860 list_addr = ((uintptr_t)new_cpu_list + (sizeof (percpu_t) * ncpus));
948 percpu_t *cpupt
[all...]

Completed in 57 milliseconds