Lines Matching defs:mtlp
1207 struct memory_type_list *mtlp;
1211 mtlp = memstat_mtl_alloc();
1212 if (mtlp == NULL) {
1217 if (memstat_sysctl_malloc(mtlp, 0) < 0) {
1219 memstat_strerror(memstat_mtl_geterror(mtlp)));
1223 if (memstat_kvm_malloc(mtlp, kd) < 0) {
1224 error = memstat_mtl_geterror(mtlp);
1235 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1255 memstat_mtl_free(mtlp);
1261 struct memory_type_list *mtlp;
1266 mtlp = memstat_mtl_alloc();
1267 if (mtlp == NULL) {
1272 if (memstat_sysctl_uma(mtlp, 0) < 0) {
1274 memstat_strerror(memstat_mtl_geterror(mtlp)));
1278 if (memstat_kvm_uma(mtlp, kd) < 0) {
1279 error = memstat_mtl_geterror(mtlp);
1290 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1301 memstat_mtl_free(mtlp);