Searched full:swp_used (Results 1 – 2 of 2) sorted by relevance
206 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator265 unsigned long flags; /* SWP_USED etc: see above */
1466 if (data_race(!(si->flags & SWP_USED))) in _swap_info_get()2986 * Clear the SWP_USED flag after all resources are freed so that swapon in SYSCALL_DEFINE1()3033 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()3054 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()3160 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()3189 p->flags = SWP_USED; in alloc_swap_info()3684 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()