Lines Matching defs:state

2331  * For further convenience, we also use negative logic for the page state in the bit map.
2459 * page modified state from the pmap. Update the chunk_state as we go along. The caller must specify
2646 * range of pages yet, so initialize the state to indicate no pages processed yet.
4770 * its state since vm_object_collapse will
5967 * state of a purgeable object. A purgeable object is created via a call to
5976 * A purgeable object may be put into a "volatile" state which will make the
5993 * be returned as the old state of the purgeable object (see
6002 * Finally, the current state (non-volatile, volatile, volatile & empty) of a
6016 * state is used to set the new state of the purgeable object and return its
6017 * old state. For VM_PURGABLE_GET_STATE, the current state of the purgeable
6018 * object is returned in the parameter state.
6020 * The in/out parameter state may be one of VM_PURGABLE_NONVOLATILE,
6023 * Setting the state of a purgeable object to VM_PURGABLE_EMPTY will
6029 * previous state is atomic. Thus, if a purgeable object is made
6030 * VM_PURGABLE_NONVOLATILE and the old state is returned as
6033 * again. If the old state is returned as VM_PURGABLE_EMPTY then the object
6034 * was reclaimed while it was in a volatile state and its previous contents
6044 int *state)
6057 * Get current state of the purgeable object.
6071 *state = old_state;
6075 if ((*state) & VM_PURGABLE_DEBUG_EMPTY) {
6078 if ((*state) & VM_PURGABLE_DEBUG_FAULT) {
6082 new_state = *state & VM_PURGABLE_STATE_MASK;
6153 if ((*state&VM_PURGABLE_ORDERING_MASK) == VM_PURGABLE_ORDERING_OBSOLETE)
6156 if ((*state&VM_PURGABLE_BEHAVIOR_MASK) == VM_PURGABLE_BEHAVIOR_FIFO)
6221 vm_purgeable_object_add(object, queue, (*state&VM_VOLATILE_GROUP_MASK)>>VM_VOLATILE_GROUP_SHIFT );
6267 *state = old_state;
7092 * Allow manipulation of individual page state. This is actually part of
7168 /* convention and attempts to change page state */
7249 * level state to be returned from the call. Page_op was created to provide
7253 * state handling allows the caller to avoid the overhead of the upl structures.
7303 * state may have changed while we slept