Lines Matching refs:mtlp
1390 struct memory_type_list *mtlp; in domemstat_malloc() local
1394 mtlp = memstat_mtl_alloc(); in domemstat_malloc()
1395 if (mtlp == NULL) { in domemstat_malloc()
1400 if (memstat_sysctl_malloc(mtlp, 0) < 0) { in domemstat_malloc()
1402 memstat_strerror(memstat_mtl_geterror(mtlp))); in domemstat_malloc()
1406 if (memstat_kvm_malloc(mtlp, kd) < 0) { in domemstat_malloc()
1407 error = memstat_mtl_geterror(mtlp); in domemstat_malloc()
1420 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_malloc()
1448 memstat_mtl_free(mtlp); in domemstat_malloc()
1454 struct memory_type_list *mtlp; in domemstat_zone() local
1459 mtlp = memstat_mtl_alloc(); in domemstat_zone()
1460 if (mtlp == NULL) { in domemstat_zone()
1465 if (memstat_sysctl_uma(mtlp, 0) < 0) { in domemstat_zone()
1467 memstat_strerror(memstat_mtl_geterror(mtlp))); in domemstat_zone()
1471 if (memstat_kvm_uma(mtlp, kd) < 0) { in domemstat_zone()
1472 error = memstat_mtl_geterror(mtlp); in domemstat_zone()
1486 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_zone()
1505 memstat_mtl_free(mtlp); in domemstat_zone()