Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/vm/
H A Dvm_compressor_backing_store.c81 #define SWAP_READY 0x1 /* Swap file is ready to be used */ macro
1444 swf->swp_flags = SWAP_READY; in vm_swap_create_file()
1507 if (swf == NULL || (!(swf->swp_flags & SWAP_READY) && !(swf->swp_flags & SWAP_RECLAIM))) { in vm_swap_get()
1588 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1737 if ((swf->swp_flags & SWAP_READY) || (swf->swp_flags & SWAP_RECLAIM)) { in vm_swap_free_now()
1786 if (swf && (swf->swp_flags & (SWAP_READY | SWAP_RECLAIM))) { in vm_swap_free()
1872 if ((swf->swp_flags & SWAP_READY) && (force_now == TRUE || VM_SWAP_SHOULD_TRIM(swf))) { in vm_swap_handle_delayed_trims()
1998 if ((swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse <= min_nsegs)) { in vm_swap_reclaim()
2012 swf->swp_flags &= ~SWAP_READY; in vm_swap_reclaim()
2178 swf->swp_flags |= SWAP_READY; in vm_swap_reclaim()
[all …]