Lines Matching defs:ml0
1161 struct memlist ml0;
1163 ml0.ml_address = ml->ml_address;
1164 ml0.ml_size = ml->ml_size;
1165 ml0.ml_next = ml0.ml_prev = NULL;
1185 rv = memlist_touch(phys_install, ml0.ml_address);
1189 new_pa = roundup(ml0.ml_address + 1, MH_MIN_ALIGNMENT);
1190 nbytes = (new_pa - ml0.ml_address);
1191 if (nbytes >= ml0.ml_size) {
1194 ml0.ml_address, ml0.ml_size);
1199 ml0.ml_address, nbytes);
1200 ml0.ml_size -= nbytes;
1201 ml0.ml_address = new_pa;
1204 if (ml0.ml_size == 0) {
1209 rv = memlist_touch(phys_install, ml0.ml_address + ml0.ml_size);
1213 new_pa = rounddown(ml0.ml_address + ml0.ml_size - 1,
1215 nbytes = (ml0.ml_address + ml0.ml_size - new_pa);
1216 if (nbytes >= ml0.ml_size) {
1219 ml0.ml_address, ml0.ml_size);
1225 ml0.ml_size -= nbytes;
1228 if (ml0.ml_size > 0) {
1229 dr_add_memory_spans(s_mp, &ml0);
1231 } else if (ml0.ml_size > 0) {
1232 dr_add_memory_spans(s_mp, &ml0);