Lines Matching refs:phys_avail
173 for (i = 0; phys_avail[i] != 0 && phys_avail[i + 1] != 0; i += 2) { in overlaps_phys_avail()
174 if (phys_avail[i + 1] <= start) in overlaps_phys_avail()
176 if (phys_avail[i] < end) in overlaps_phys_avail()
438 address = phys_avail[0]; in check_phys_avail()
451 if (phys_avail[j + 1] <= mem_info[i].end) { in check_phys_avail()
453 if (phys_avail[j] == 0 && in check_phys_avail()
454 phys_avail[j + 1] == 0) { in check_phys_avail()
457 address = phys_avail[j]; in check_phys_avail()
463 (uintmax_t)phys_avail[j], (uintmax_t)phys_avail[j + 1]); in check_phys_avail()
549 for (idx = 0; phys_avail[idx + 1] != 0; idx += 2); in acpi_pxm_init()
554 addr = trunc_page(phys_avail[idx + 1] - size); in acpi_pxm_init()
555 KASSERT(addr >= phys_avail[idx], in acpi_pxm_init()
557 phys_avail[idx + 1] = addr - 1; in acpi_pxm_init()