Lines Matching refs:mtlp
1335 struct memory_type_list *mtlp; in domemstat_malloc() local
1340 mtlp = memstat_mtl_alloc(); in domemstat_malloc()
1341 if (mtlp == NULL) { in domemstat_malloc()
1346 if (memstat_sysctl_malloc(mtlp, 0) < 0) { in domemstat_malloc()
1348 memstat_strerror(memstat_mtl_geterror(mtlp))); in domemstat_malloc()
1352 if (memstat_kvm_malloc(mtlp, kd) < 0) { in domemstat_malloc()
1353 error = memstat_mtl_geterror(mtlp); in domemstat_malloc()
1367 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_malloc()
1396 memstat_mtl_free(mtlp); in domemstat_malloc()
1402 struct memory_type_list *mtlp; in domemstat_zone() local
1406 mtlp = memstat_mtl_alloc(); in domemstat_zone()
1407 if (mtlp == NULL) { in domemstat_zone()
1412 if (memstat_sysctl_uma(mtlp, 0) < 0) { in domemstat_zone()
1414 memstat_strerror(memstat_mtl_geterror(mtlp))); in domemstat_zone()
1418 if (memstat_kvm_uma(mtlp, kd) < 0) { in domemstat_zone()
1419 error = memstat_mtl_geterror(mtlp); in domemstat_zone()
1433 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_zone()
1453 memstat_mtl_free(mtlp); in domemstat_zone()