Lines Matching defs:mtlp
1200 struct memory_type_list *mtlp;
1204 mtlp = memstat_mtl_alloc();
1205 if (mtlp == NULL) {
1210 if (memstat_sysctl_malloc(mtlp, 0) < 0) {
1212 memstat_strerror(memstat_mtl_geterror(mtlp)));
1216 if (memstat_kvm_malloc(mtlp, kd) < 0) {
1217 error = memstat_mtl_geterror(mtlp);
1228 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1248 memstat_mtl_free(mtlp);
1254 struct memory_type_list *mtlp;
1259 mtlp = memstat_mtl_alloc();
1260 if (mtlp == NULL) {
1265 if (memstat_sysctl_uma(mtlp, 0) < 0) {
1267 memstat_strerror(memstat_mtl_geterror(mtlp)));
1271 if (memstat_kvm_uma(mtlp, kd) < 0) {
1272 error = memstat_mtl_geterror(mtlp);
1283 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1294 memstat_mtl_free(mtlp);