Lines Matching defs:free
113 * uvm_wait: wait (sleep) for the page daemon to free some pages
139 * free more memory if it is asleep? that is a deadlock.
163 msleep_nsec(&uvmexp.free, &uvm.fpageqlock, PVM | PNORELOCK, wmsg, timo);
179 /* Make sure there's always a user page free. */
184 /* Calculate free target. */
247 /* How many pages do we need to free during this round? */
249 (uvmexp.free + uvmexp.paging) + BUFPAGES_DEFICIT;
302 * if there's any free memory to be had,
306 if (uvmexp.free > uvmexp.reserve_kernel || uvmexp.paging == 0) {
307 wakeup(&uvmexp.free);
380 wakeup(uvmexp.free <= uvmexp.reserve_kernel ? &uvm.pagedaemon :
381 &uvmexp.free);
415 * uvmpd_dropswap: free any swap allocated to this page.
457 * uvmpd_scan_inactive: scan an inactive list for pages to clean or free.
460 * => we work on meeting our free target by converting inactive pages
461 * into free pages.
589 * can free it now and continue.
620 * free target when all the current pageouts complete.
643 * is full, free any swap allocated to the page
669 /* free old swap slot (if any) */
747 * it to free the cluster pages for us on a successful I/O (it
846 * it after the free.
856 /* free released page */
923 * swap out some processes if we are below our free target.
936 * free target by converting inactive pages into free pages. then
945 * we have done the scan to get free pages. now we work on meeting
949 * until we free some swap resources from active pages.
1007 * if there's a shortage of swap, free any swap allocated
1062 * can free it now and continue.