Lines Matching refs:mem
565 * Initialize the mem entry structures now, and put them in the free
861 vm_page_hold(vm_page_t mem)
864 vm_page_lock_assert(mem, MA_OWNED);
865 mem->hold_count++;
869 vm_page_unhold(vm_page_t mem)
872 vm_page_lock_assert(mem, MA_OWNED);
873 KASSERT(mem->hold_count >= 1, ("vm_page_unhold: hold count < 0!!!"));
874 --mem->hold_count;
875 if (mem->hold_count == 0 && (mem->flags & PG_UNHOLDFREE) != 0)
876 vm_page_free_toq(mem);
1119 * Inserts the given mem entry into the object and object list.
1234 * Removes the given mem entry from the object/offset-page