Home
last modified time | relevance | path

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

/xnu-8020.140.41/osfmk/vm/
H A Dvm_compressor_backing_store.c81 #define SWAP_READY 0x1 /* Swap file is ready to be used */ macro
1439 swf->swp_flags = SWAP_READY; in vm_swap_create_file()
1502 if (swf == NULL || (!(swf->swp_flags & SWAP_READY) && !(swf->swp_flags & SWAP_RECLAIM))) { in vm_swap_get()
1583 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1732 if ((swf->swp_flags & SWAP_READY) || (swf->swp_flags & SWAP_RECLAIM)) { in vm_swap_free_now()
1781 if (swf && (swf->swp_flags & (SWAP_READY | SWAP_RECLAIM))) { in vm_swap_free()
1867 if ((swf->swp_flags & SWAP_READY) && (force_now == TRUE || VM_SWAP_SHOULD_TRIM(swf))) { in vm_swap_handle_delayed_trims()
1992 if ((swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse <= min_nsegs)) { in vm_swap_reclaim()
2006 swf->swp_flags &= ~SWAP_READY; in vm_swap_reclaim()
2174 swf->swp_flags |= SWAP_READY; in vm_swap_reclaim()
[all …]