Lines Matching defs:mtlp
1408 struct memory_type_list *mtlp;
1413 mtlp = memstat_mtl_alloc();
1414 if (mtlp == NULL) {
1419 if (memstat_sysctl_malloc(mtlp, 0) < 0) {
1421 memstat_strerror(memstat_mtl_geterror(mtlp)));
1425 if (memstat_kvm_malloc(mtlp, kd) < 0) {
1426 error = memstat_mtl_geterror(mtlp);
1440 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1467 memstat_mtl_free(mtlp);
1473 struct memory_type_list *mtlp;
1478 mtlp = memstat_mtl_alloc();
1479 if (mtlp == NULL) {
1484 if (memstat_sysctl_uma(mtlp, 0) < 0) {
1486 memstat_strerror(memstat_mtl_geterror(mtlp)));
1490 if (memstat_kvm_uma(mtlp, kd) < 0) {
1491 error = memstat_mtl_geterror(mtlp);
1505 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1525 memstat_mtl_free(mtlp);