Lines Matching defs:mtlp
1428 struct memory_type_list *mtlp;
1432 mtlp = memstat_mtl_alloc();
1433 if (mtlp == NULL) {
1438 if (memstat_sysctl_malloc(mtlp, 0) < 0) {
1440 memstat_strerror(memstat_mtl_geterror(mtlp)));
1444 if (memstat_kvm_malloc(mtlp, kd) < 0) {
1445 error = memstat_mtl_geterror(mtlp);
1458 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1486 memstat_mtl_free(mtlp);
1492 struct memory_type_list *mtlp;
1497 mtlp = memstat_mtl_alloc();
1498 if (mtlp == NULL) {
1503 if (memstat_sysctl_uma(mtlp, 0) < 0) {
1505 memstat_strerror(memstat_mtl_geterror(mtlp)));
1509 if (memstat_kvm_uma(mtlp, kd) < 0) {
1510 error = memstat_mtl_geterror(mtlp);
1524 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1540 memstat_mtl_free(mtlp);