Home
last modified time | relevance | path

Searched refs:SWAP_READY (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor_backing_store.c88 #define SWAP_READY 0x1 /* Swap file is ready to be used */ macro
1620 swf->swp_flags = SWAP_READY; in vm_swap_create_file()
1683 if (swf == NULL || (!(swf->swp_flags & SWAP_READY) && !(swf->swp_flags & SWAP_RECLAIM))) { in vm_swap_get()
1763 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1913 if ((swf->swp_flags & SWAP_READY) || (swf->swp_flags & SWAP_RECLAIM)) { in vm_swap_free_now()
1961 if (swf && (swf->swp_flags & (SWAP_READY | SWAP_RECLAIM))) { in vm_swap_free()
2047 if ((swf->swp_flags & SWAP_READY) && (force_now == TRUE || VM_SWAP_SHOULD_TRIM(swf))) { in vm_swap_handle_delayed_trims()
2172 if ((swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse <= min_nsegs)) { in vm_swap_reclaim()
2186 swf->swp_flags &= ~SWAP_READY; in vm_swap_reclaim()
2354 swf->swp_flags |= SWAP_READY; in vm_swap_reclaim()
[all …]