Searched refs:SWF_ENABLE (Results 1 – 2 of 2) sorted by relevance
56 #define SWF_ENABLE 0x00000002 /* enabled: we can swap here */ macro
739 if ((sdp->swd_flags & (SWF_INUSE|SWF_ENABLE)) == 0) { in sys_swapctl()1031 sdp->swd_flags |= (SWF_INUSE|SWF_ENABLE); in swap_on()1069 sdp->swd_flags &= ~SWF_ENABLE; in swap_off()1091 sdp->swd_flags |= SWF_ENABLE; in swap_off()1162 if ((sdp->swd_flags & (SWF_INUSE|SWF_ENABLE)) == 0) in uvm_swap_shutdown()1673 if ((sdp->swd_flags & SWF_ENABLE) == 0) in uvm_swap_alloc()