Lines Matching refs:PG_BUSY
89 * we hold a PG_BUSY page if we unlock for I/O
118 * if we have to do I/O we place a PG_BUSY page in the correct object,
195 if (pg && (pg->flags & PG_BUSY) == 0) {
298 * Note: 'we_own' will become true if we set PG_BUSY on a page.
326 if ((pg->flags & PG_BUSY) == 0) {
375 /* PG_BUSY bit is set. */
380 * Pass a PG_BUSY+PG_FAKE clean page into
384 * PG_BUSY on the page.
410 * If we own the page (i.e. we set PG_BUSY), then we need
442 * Note: page was never !PG_BUSY, so it
488 pg->flags &= ~(PG_BUSY|PG_FAKE);
663 pg->flags &= ~(PG_BUSY|PG_FAKE);
1341 if (pg && pg->loan_count == 0 && (pg->flags & PG_BUSY) == 0 &&
1631 KASSERT((pg->flags & (PG_BUSY | PG_FAKE)) == 0);
2029 KASSERT((curpg->flags & PG_BUSY) == 0);
2094 KASSERT((pg->flags & PG_BUSY) == 0);
2197 KASSERT((pg->flags & PG_BUSY) != 0);
2226 pg->flags &= ~PG_BUSY;
2301 KASSERT((pg->flags & PG_BUSY) == 0);
2362 pg->flags &= ~PG_BUSY;
2486 * note that pg can't be PG_RELEASED or PG_BUSY since we did
2491 KASSERT((pg->flags & PG_BUSY) == 0);