Searched refs:SWAP_READY (Results 1 – 1 of 1) sorted by relevance
88 #define SWAP_READY 0x1 /* Swap file is ready to be used */ macro1596 swf->swp_flags = SWAP_READY; in vm_swap_create_file()1659 if (swf == NULL || (!(swf->swp_flags & SWAP_READY) && !(swf->swp_flags & SWAP_RECLAIM))) { in vm_swap_get()1739 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()1889 if ((swf->swp_flags & SWAP_READY) || (swf->swp_flags & SWAP_RECLAIM)) { in vm_swap_free_now()1937 if (swf && (swf->swp_flags & (SWAP_READY | SWAP_RECLAIM))) { in vm_swap_free()2023 if ((swf->swp_flags & SWAP_READY) && (force_now == TRUE || VM_SWAP_SHOULD_TRIM(swf))) { in vm_swap_handle_delayed_trims()2148 if ((swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse <= min_nsegs)) { in vm_swap_reclaim()2162 swf->swp_flags &= ~SWAP_READY; in vm_swap_reclaim()2330 swf->swp_flags |= SWAP_READY; in vm_swap_reclaim()[all …]