Lines Matching refs:vm_page_free_count
218 unsigned int vm_page_free_count;
566 vm_page_wire_count = atop_64(max_mem) - vm_page_free_count; /* initial value */
567 vm_page_free_count_minimum = vm_page_free_count;
570 vm_page_free_count, vm_page_wire_count);
761 if(j > vm_page_free_count) { /* (BRINGUP) */
765 l = vm_page_free_count - j; /* (BRINGUP) */
768 if(((j - 1) & 0xFFFF) == 0) kprintf("checking number %d of %d\n", j, vm_page_free_count);
782 if(j != vm_page_free_count) { /* (BRINGUP) */
783 panic("pmap_startup: vm_page_free_count does not match, calc = %d, vm_page_free_count = %08X\n", j, vm_page_free_count);
1515 return( vm_page_free_count < vm_page_free_reserved );
1653 if ((vm_page_free_count < vm_page_free_reserved) &&
1664 while ( vm_page_free_count == 0 ) {
1688 if (vm_page_free_count <= vm_page_free_reserved)
1693 if (pages_to_steal > (vm_page_free_count - vm_page_free_reserved))
1694 pages_to_steal = (vm_page_free_count - vm_page_free_reserved);
1700 if (--vm_page_free_count < vm_page_free_count_minimum)
1701 vm_page_free_count_minimum = vm_page_free_count;
1760 if ((vm_page_free_count < vm_page_free_min) ||
1761 ((vm_page_free_count < vm_page_free_target) &&
1774 vm_page_speculative_count + vm_page_free_count +
1784 // dbgLog(mem->phys_page, vm_page_free_count, vm_page_wire_count, 4); /* (TEST/DEBUG) */
1812 // dbgLog(mem->phys_page, vm_page_free_count, vm_page_wire_count, 5); /* (TEST/DEBUG) */
1846 vm_page_free_count++;
1867 if ((vm_page_free_wanted_privileged > 0) && vm_page_free_count) {
1871 (vm_page_free_count >= vm_page_free_reserved)) {
1873 thread_wakeup_one((event_t) &vm_page_free_count);
1888 vm_page_speculative_count + vm_page_free_count +
1927 if (is_privileged && vm_page_free_count) {
1931 if (vm_page_free_count < vm_page_free_target) {
1940 wait_result = assert_wait((event_t)&vm_page_free_count, interruptible);
2229 vm_page_free_count += pg_count;
2230 avail_free_count = vm_page_free_count;
2251 thread_wakeup((event_t) &vm_page_free_count);
2255 thread_wakeup_one((event_t) &vm_page_free_count);
2270 vm_page_speculative_count + vm_page_free_count +
2325 vm_page_speculative_count + vm_page_free_count +
2416 vm_page_speculative_count + vm_page_free_count +
2448 // dbgLog(m->phys_page, vm_page_free_count, vm_page_wire_count, 6); /* (TEST/DEBUG) */
2945 if (npages != vm_page_free_count)
2947 npages, vm_page_free_count);
3053 free_available = vm_page_free_count - vm_page_free_reserved;
3129 * we will end up dropping the vm_page_free_count
3166 free_available = vm_page_free_count - vm_page_free_reserved;
3211 vm_page_free_count--;
3217 if (vm_page_free_count < vm_page_free_count_minimum)
3218 vm_page_free_count_minimum = vm_page_free_count;
3388 free_available = vm_page_free_count - vm_page_free_reserved;
3466 if ((vm_page_free_count < vm_page_free_min) ||
3467 ((vm_page_free_count < vm_page_free_target) &&
3480 vm_page_speculative_count + vm_page_free_count +