Home
last modified time | relevance | path

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

/freebsd/lib/libmemstat/
H A Dmemstat_malloc.c478 struct memstat_kmemzone *kmemzones, *kz; in memstat_malloc_zone_init_kvm() local
497 kmemzones = malloc(allocsize); in memstat_malloc_zone_init_kvm()
498 if (kmemzones == NULL) { in memstat_malloc_zone_init_kvm()
501 ret = kread_symbol(kvm, X_KMEMZONES, kmemzones, allocsize, 0); in memstat_malloc_zone_init_kvm()
503 free(kmemzones); in memstat_malloc_zone_init_kvm()
507 kz = kmemzones; in memstat_malloc_zone_init_kvm()
513 free(kmemzones); in memstat_malloc_zone_init_kvm()
/freebsd/sys/kern/
H A Dkern_malloc.c176 } kmemzones[] = { variable
227 static u_int vm_malloc_zone_count = nitems(kmemzones);
290 int sizes[nitems(kmemzones)]; in sysctl_vm_malloc_zone_sizes()
293 for (i = 0; i < nitems(kmemzones); i++) { in sysctl_vm_malloc_zone_sizes()
294 sizes[i] = kmemzones[i].kz_size; in sysctl_vm_malloc_zone_sizes()
662 zone = kmemzones[indx].kz_zone[mtp_get_subzone(mtp)];
702 zone = kmemzones[indx].kz_zone[mtp_get_subzone(mtp)]; in malloc_domain()
1087 return (kmemzones[indx].kz_size); in malloc_size()
1260 for (i = 0, indx = 0; kmemzones[indx].kz_size != 0; indx++) { in mallocinit()
1261 int size = kmemzones[indx].kz_size; in mallocinit()
[all …]