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