Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_malloc.c150 static int numzones = MALLOC_DEBUG_MAXZONES; variable
300 &numzones); in tunable_set_numzones()
303 if (numzones <= 0) in tunable_set_numzones()
304 numzones = 1; in tunable_set_numzones()
305 if (numzones > MALLOC_DEBUG_MAXZONES) in tunable_set_numzones()
306 numzones = MALLOC_DEBUG_MAXZONES; in tunable_set_numzones()
310 &numzones, 0, "Number of malloc uma subzones");
336 mtip->mti_zone = (val % numzones); in mtp_set_subzone()
346 KASSERT(mtip->mti_zone < numzones, in mtp_get_subzone()
348 mtip->mti_zone, numzones)); in mtp_get_subzone()
[all …]
/freebsd/lib/libmemstat/
H A Dmemstat_malloc.c479 int numzones, objsize, allocsize, ret; in memstat_malloc_zone_init_kvm() local
488 ret = kread_symbol(kvm, X_NUMZONES, &numzones, sizeof(numzones), 0); in memstat_malloc_zone_init_kvm()
494 sizeof(void *) * numzones; in memstat_malloc_zone_init_kvm()