Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor_backing_store.c105 unsigned int swp_flags; /* state of swap file */ member
1552 if (swf->swp_flags == SWAP_REUSE) { in vm_swap_create_file()
1620 swf->swp_flags = SWAP_READY; in vm_swap_create_file()
1635 swf->swp_flags |= SWAP_PINNED; in vm_swap_create_file()
1683 if (swf == NULL || (!(swf->swp_flags & SWAP_READY) && !(swf->swp_flags & SWAP_RECLAIM))) { in vm_swap_get()
1721 if ((swf->swp_flags & SWAP_WANTED) && swf->swp_io_count == 0) { in vm_swap_get()
1722 swf->swp_flags &= ~SWAP_WANTED; in vm_swap_get()
1723 thread_wakeup((event_t) &swf->swp_flags); in vm_swap_get()
1763 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1890 if ((swf->swp_flags & SWAP_WANTED) && swf->swp_io_count == 0) { in vm_swap_put_finish()
[all …]