Searched refs:pg (Results 1 – 1 of 1) sorted by relevance
1561 sparsebit_idx_t pg, base; in vm_phy_pages_alloc() local1571 base = pg = paddr_min >> vm->page_shift; in vm_phy_pages_alloc()1574 for (; pg < base + num; ++pg) { in vm_phy_pages_alloc()1575 if (!sparsebit_is_set(region->unused_phy_pages, pg)) { in vm_phy_pages_alloc()1576 base = pg = sparsebit_next_set(region->unused_phy_pages, pg); in vm_phy_pages_alloc()1580 } while (pg && pg != base + num); in vm_phy_pages_alloc()1582 if (pg == 0) { in vm_phy_pages_alloc()1591 for (pg = base; pg < base + num; ++pg) in vm_phy_pages_alloc()1592 sparsebit_clear(region->unused_phy_pages, pg); in vm_phy_pages_alloc()