Lines Matching refs:vm_page_t
149 vm_page_t bogus_page;
151 vm_page_t vm_page_array;
165 static vm_page_t vm_page_alloc_after(vm_object_t object, vm_pindex_t pindex,
166 int req, vm_page_t mpred);
167 static void vm_page_alloc_check(vm_page_t m);
168 static vm_page_t vm_page_alloc_nofree_domain(int domain, int req);
169 static bool _vm_page_busy_sleep(vm_object_t obj, vm_page_t m,
171 static void vm_page_clear_dirty_mask(vm_page_t m, vm_page_bits_t pagebits);
172 static void vm_page_enqueue(vm_page_t m, uint8_t queue);
173 static bool vm_page_free_prep(vm_page_t m);
174 static void vm_page_free_toq(vm_page_t m);
175 static void vm_page_free_toq_impl(vm_page_t m, bool do_remove);
177 static int vm_page_insert_after(vm_page_t m, vm_object_t object,
178 vm_pindex_t pindex, vm_page_t mpred);
179 static void vm_page_insert_radixdone(vm_page_t m, vm_object_t object,
180 vm_page_t mpred);
181 static void vm_page_mvqueue(vm_page_t m, const uint8_t queue,
184 vm_page_t m_run, vm_paddr_t high);
185 static void vm_page_release_toq(vm_page_t m, uint8_t nqueue, bool noreuse);
333 vm_page_t m; in vm_page_blacklist_add()
407 vm_page_t m; in sysctl_vm_page_blacklist()
432 vm_page_init_marker(vm_page_t marker, int queue, uint16_t aflags) in vm_page_init_marker()
504 vm_page_init_page(vm_page_t m, vm_paddr_t pa, int segind, int pool) in vm_page_init_page()
537 vm_page_array = (vm_page_t)pmap_map(vaddr, new_end, end, in vm_page_array_alloc()
558 vm_page_t m; in vm_page_startup()
878 vm_page_reference(vm_page_t m) in vm_page_reference()
892 vm_page_trybusy(vm_page_t m, int allocflags) in vm_page_trybusy()
909 vm_page_tryacquire(vm_page_t m, int allocflags) in vm_page_tryacquire()
926 vm_page_busy_acquire(vm_page_t m, int allocflags) in vm_page_busy_acquire()
966 vm_page_busy_downgrade(vm_page_t m) in vm_page_busy_downgrade()
989 vm_page_busy_tryupgrade(vm_page_t m) in vm_page_busy_tryupgrade()
1015 vm_page_sbusied(vm_page_t m) in vm_page_sbusied()
1029 vm_page_sunbusy(vm_page_t m) in vm_page_sunbusy()
1071 vm_page_busy_sleep(vm_page_t m, const char *wmesg, int allocflags) in vm_page_busy_sleep()
1095 vm_page_busy_sleep_unlocked(vm_object_t obj, vm_page_t m, vm_pindex_t pindex, in vm_page_busy_sleep_unlocked()
1116 _vm_page_busy_sleep(vm_object_t obj, vm_page_t m, vm_pindex_t pindex, in _vm_page_busy_sleep()
1170 vm_page_trysbusy(vm_page_t m) in vm_page_trysbusy()
1208 vm_page_tryxbusy(vm_page_t m) in vm_page_tryxbusy()
1225 vm_page_xunbusy_hard_tail(vm_page_t m) in vm_page_xunbusy_hard_tail()
1238 vm_page_xunbusy_hard(vm_page_t m) in vm_page_xunbusy_hard()
1245 vm_page_xunbusy_hard_unchecked(vm_page_t m) in vm_page_xunbusy_hard_unchecked()
1252 vm_page_busy_free(vm_page_t m) in vm_page_busy_free()
1268 vm_page_unhold_pages(vm_page_t *ma, int count) in vm_page_unhold_pages()
1277 vm_page_t
1280 vm_page_t m; in PHYS_TO_VM_PAGE()
1308 vm_page_t
1311 vm_page_t m; in vm_page_getfake()
1319 vm_page_initfake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr) in vm_page_initfake()
1350 vm_page_putfake(vm_page_t m) in vm_page_putfake()
1368 vm_page_updatefake(vm_page_t m, vm_paddr_t paddr, vm_memattr_t memattr) in vm_page_updatefake()
1383 vm_page_free(vm_page_t m) in vm_page_free()
1396 vm_page_free_zero(vm_page_t m) in vm_page_free_zero()
1408 vm_page_readahead_finish(vm_page_t m) in vm_page_readahead_finish()
1432 vm_page_free_invalid(vm_page_t m) in vm_page_free_invalid()
1470 vm_page_dirty_KBI(vm_page_t m) in vm_page_dirty_KBI()
1490 vm_page_insert_lookup(vm_page_t m, vm_object_t object, vm_pindex_t pindex, in vm_page_insert_lookup()
1491 struct pctrie_iter *pages, bool iter, vm_page_t mpred, bool lookup) in vm_page_insert_lookup()
1540 vm_page_insert(vm_page_t m, vm_object_t object, vm_pindex_t pindex) in vm_page_insert()
1557 vm_page_insert_after(vm_page_t m, vm_object_t object, vm_pindex_t pindex, in vm_page_insert_after()
1558 vm_page_t mpred) in vm_page_insert_after()
1577 vm_page_iter_insert(struct pctrie_iter *pages, vm_page_t m, vm_object_t object, in vm_page_iter_insert()
1578 vm_pindex_t pindex, vm_page_t mpred) in vm_page_iter_insert()
1596 vm_page_insert_radixdone(vm_page_t m, vm_object_t object, vm_page_t mpred) in vm_page_insert_radixdone()
1652 vm_page_remove_radixdone(vm_page_t m) in vm_page_remove_radixdone()
1694 vm_page_free_object_prep(vm_page_t m) in vm_page_free_object_prep()
1722 vm_page_t m; in vm_page_iter_free()
1745 vm_page_remove(vm_page_t m) in vm_page_remove()
1764 vm_page_t m; in vm_page_iter_remove()
1782 vm_page_radix_remove(vm_page_t m) in vm_page_radix_remove()
1784 vm_page_t mrem __diagused; in vm_page_radix_remove()
1798 vm_page_remove_xbusy(vm_page_t m) in vm_page_remove_xbusy()
1814 vm_page_t
1855 vm_page_t
1870 vm_page_t
1883 vm_page_t
1886 vm_page_t m; in vm_page_relookup()
1902 vm_page_busy_release(vm_page_t m) in vm_page_busy_release()
1935 vm_page_t
1938 vm_page_t m; in vm_page_find_least()
1955 vm_page_t
1968 vm_page_t
1969 vm_page_next(vm_page_t m) in vm_page_next()
1971 vm_page_t next; in vm_page_next()
1988 vm_page_t
1989 vm_page_prev(vm_page_t m) in vm_page_prev()
1991 vm_page_t prev; in vm_page_prev()
2014 vm_page_replace_hold(vm_page_t mnew, vm_object_t object, vm_pindex_t pindex, in vm_page_replace_hold()
2015 vm_page_t mold) in vm_page_replace_hold()
2017 vm_page_t mret __diagused; in vm_page_replace_hold()
2060 vm_page_replace(vm_page_t mnew, vm_object_t object, vm_pindex_t pindex, in vm_page_replace()
2061 vm_page_t mold) in vm_page_replace()
2092 vm_page_t m, mpred; in vm_page_rename()
2136 vm_page_t
2164 vm_page_t
2178 static vm_page_t
2180 int req, vm_page_t mpred) in vm_page_alloc_after()
2183 vm_page_t m; in vm_page_alloc_after()
2250 vm_page_t
2252 int req, vm_page_t mpred) in vm_page_alloc_domain_after()
2255 vm_page_t m; in vm_page_alloc_domain_after()
2419 vm_page_t
2425 vm_page_t bounds[2]; in vm_page_alloc_contig()
2426 vm_page_t m; in vm_page_alloc_contig()
2449 static vm_page_t
2454 vm_page_t m_ret; in vm_page_find_contig_domain()
2487 vm_page_t
2493 vm_page_t m, m_ret, mpred; in vm_page_alloc_contig_domain()
2595 vm_page_t
2599 vm_page_t m; in vm_page_alloc_noobj_domain()
2687 static vm_page_t
2690 vm_page_t m; in vm_page_alloc_nofree_domain()
2721 vm_page_t
2725 vm_page_t m; in vm_page_alloc_noobj()
2738 vm_page_t
2744 vm_page_t m; in vm_page_alloc_noobj_contig()
2758 vm_page_t
2763 vm_page_t m, m_ret; in vm_page_alloc_noobj_contig_domain()
2825 vm_page_alloc_check(vm_page_t m) in vm_page_alloc_check()
2863 (vm_page_t *)store); in vm_page_zone_import()
2876 vm_page_t m; in vm_page_zone_release()
2883 m = (vm_page_t)store[i]; in vm_page_zone_release()
2912 static vm_page_t
2913 vm_page_scan_contig(u_long npages, vm_page_t m_start, vm_page_t m_end, in vm_page_scan_contig()
2918 vm_page_t m, m_run; in vm_page_scan_contig()
3087 vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, in vm_page_reclaim_run()
3094 vm_page_t m, m_end, m_new; in vm_page_reclaim_run()
3315 vm_page_t bounds[2], m_run, _m_runs[NRUNS], *m_runs; in vm_page_reclaim_contig_domain_ext()
3753 _vm_page_pagequeue(vm_page_t m, uint8_t queue) in _vm_page_pagequeue()
3761 vm_page_pagequeue(vm_page_t m) in vm_page_pagequeue()
3769 vm_page_pqstate_fcmpset(vm_page_t m, vm_page_astate_t *old, vm_page_astate_t new) in vm_page_pqstate_fcmpset()
3788 _vm_page_pqstate_commit_dequeue(struct vm_pagequeue *pq, vm_page_t m, in _vm_page_pqstate_commit_dequeue()
3791 vm_page_t next; in _vm_page_pqstate_commit_dequeue()
3829 vm_page_pqstate_commit_dequeue(vm_page_t m, vm_page_astate_t *old, in vm_page_pqstate_commit_dequeue()
3858 _vm_page_pqstate_commit_requeue(struct vm_pagequeue *pq, vm_page_t m, in _vm_page_pqstate_commit_requeue()
3898 vm_page_pqstate_commit_request(vm_page_t m, vm_page_astate_t *old, in vm_page_pqstate_commit_request()
3918 vm_page_pqstate_commit(vm_page_t m, vm_page_astate_t *old, vm_page_astate_t new) in vm_page_pqstate_commit()
3943 vm_pqbatch_process_page(struct vm_pagequeue *pq, vm_page_t m, uint8_t queue) in vm_pqbatch_process_page()
4002 vm_page_pqbatch_submit(vm_page_t m, uint8_t queue) in vm_page_pqbatch_submit()
4089 vm_page_dequeue_deferred(vm_page_t m) in vm_page_dequeue_deferred()
4113 vm_page_dequeue(vm_page_t m) in vm_page_dequeue()
4137 vm_page_enqueue(vm_page_t m, uint8_t queue) in vm_page_enqueue()
4164 vm_page_free_prep(vm_page_t m) in vm_page_free_prep()
4259 vm_page_free_toq(vm_page_t m) in vm_page_free_toq()
4289 vm_page_t m; in vm_page_free_pages_toq()
4312 vm_page_wire(vm_page_t m) in vm_page_wire()
4343 vm_page_wire_mapped(vm_page_t m) in vm_page_wire_mapped()
4369 vm_page_unwire_managed(vm_page_t m, uint8_t nqueue, bool noreuse) in vm_page_unwire_managed()
4429 vm_page_unwire(vm_page_t m, uint8_t nqueue) in vm_page_unwire()
4451 vm_page_unwire_noq(vm_page_t m) in vm_page_unwire_noq()
4475 vm_page_mvqueue(vm_page_t m, const uint8_t nqueue, const uint16_t nflag) in vm_page_mvqueue()
4514 vm_page_activate(vm_page_t m) in vm_page_activate()
4525 vm_page_deactivate(vm_page_t m) in vm_page_deactivate()
4532 vm_page_deactivate_noreuse(vm_page_t m) in vm_page_deactivate_noreuse()
4542 vm_page_launder(vm_page_t m) in vm_page_launder()
4552 vm_page_unswappable(vm_page_t m) in vm_page_unswappable()
4567 vm_page_release_toq(vm_page_t m, uint8_t nqueue, const bool noreuse) in vm_page_release_toq()
4613 vm_page_release(vm_page_t m, int flags) in vm_page_release()
4641 vm_page_release_locked(vm_page_t m, int flags) in vm_page_release_locked()
4669 vm_page_try_blocked_op(vm_page_t m, void (*op)(vm_page_t)) in vm_page_try_blocked_op() argument
4707 vm_page_try_remove_all(vm_page_t m) in vm_page_try_remove_all()
4717 vm_page_try_remove_write(vm_page_t m) in vm_page_try_remove_write()
4729 vm_page_advise(vm_page_t m, int advice) in vm_page_advise()
4776 vm_page_grab_release(vm_page_t m, int allocflags) in vm_page_grab_release()
4798 vm_page_grab_sleep(vm_object_t object, vm_page_t m, vm_pindex_t pindex, in vm_page_grab_sleep()
4867 vm_page_t
4870 vm_page_t m; in vm_page_grab()
4915 #define PAGE_NOT_ACQUIRED ((vm_page_t)1)
4916 static vm_page_t
4917 vm_page_acquire_unlocked(vm_object_t object, vm_pindex_t pindex, vm_page_t m, in vm_page_acquire_unlocked()
4946 vm_page_t
4949 vm_page_t m; in vm_page_grab_unlocked()
4982 vm_page_grab_valid(vm_page_t *mp, vm_object_t object, vm_pindex_t pindex, int allocflags) in vm_page_grab_valid()
4984 vm_page_t m; in vm_page_grab_valid()
4985 vm_page_t ma[VM_INITIAL_PAGEIN]; in vm_page_grab_valid()
5092 vm_page_grab_valid_unlocked(vm_page_t *mp, vm_object_t object, in vm_page_grab_valid_unlocked()
5095 vm_page_t m; in vm_page_grab_valid_unlocked()
5165 vm_page_t *ma, int count) in vm_page_grab_pages()
5167 vm_page_t m, mpred; in vm_page_grab_pages()
5226 int allocflags, vm_page_t *ma, int count) in vm_page_grab_pages_unlocked()
5228 vm_page_t m; in vm_page_grab_pages_unlocked()
5309 vm_page_bits_set(vm_page_t m, vm_page_bits_t *bits, vm_page_bits_t set) in vm_page_bits_set()
5342 vm_page_bits_clear(vm_page_t m, vm_page_bits_t *bits, vm_page_bits_t clear) in vm_page_bits_clear()
5375 vm_page_bits_swap(vm_page_t m, vm_page_bits_t *bits, vm_page_bits_t newbits) in vm_page_bits_swap()
5441 vm_page_set_valid_range(vm_page_t m, int base, int size) in vm_page_set_valid_range()
5492 vm_page_set_dirty(vm_page_t m) in vm_page_set_dirty()
5513 vm_page_clear_dirty_mask(vm_page_t m, vm_page_bits_t pagebits) in vm_page_clear_dirty_mask()
5542 vm_page_set_validclean(vm_page_t m, int base, int size) in vm_page_set_validclean()
5623 vm_page_clear_dirty(vm_page_t m, int base, int size) in vm_page_clear_dirty()
5636 vm_page_set_invalid(vm_page_t m, int base, int size) in vm_page_set_invalid()
5677 vm_page_invalid(vm_page_t m) in vm_page_invalid()
5702 vm_page_zero_invalid(vm_page_t m, boolean_t setvalid) in vm_page_zero_invalid()
5745 vm_page_is_valid(vm_page_t m, int base, int size) in vm_page_is_valid()
5758 vm_page_ps_test(vm_page_t m, int psind, int flags, vm_page_t skip_m) in vm_page_ps_test()
5805 vm_page_test_dirty(vm_page_t m) in vm_page_test_dirty()
5814 vm_page_valid(vm_page_t m) in vm_page_valid()
5825 vm_page_lock_KBI(vm_page_t m, const char *file, int line) in vm_page_lock_KBI()
5832 vm_page_unlock_KBI(vm_page_t m, const char *file, int line) in vm_page_unlock_KBI()
5839 vm_page_trylock_KBI(vm_page_t m, const char *file, int line) in vm_page_trylock_KBI()
5847 vm_page_assert_locked_KBI(vm_page_t m, const char *file, int line) in vm_page_assert_locked_KBI()
5854 vm_page_lock_assert_KBI(vm_page_t m, int a, const char *file, int line) in vm_page_lock_assert_KBI()
5863 vm_page_object_busy_assert(vm_page_t m) in vm_page_object_busy_assert()
5875 vm_page_assert_pga_writeable(vm_page_t m, uint16_t bits) in vm_page_assert_pga_writeable()
5933 vm_page_t m; in DB_SHOW_COMMAND()
5948 m = (vm_page_t)addr; in DB_SHOW_COMMAND()