Lines Matching refs:ml0

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