Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dswap.h206 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator
299 unsigned long flags; /* SWP_USED etc: see above */
/linux/mm/
H A Dswapfile.c1333 if (data_race(!(si->flags & SWP_USED))) in _swap_info_get()
2815 * Clear the SWP_USED flag after all resources are freed so that swapon in SYSCALL_DEFINE1()
2862 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()
2883 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()
2989 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
3018 p->flags = SWP_USED; in alloc_swap_info()
3529 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()