Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswapfile.c1141 if (data_race(!(p->flags & SWP_USED))) in _swap_info_get()
2604 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()
2625 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()
2731 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2760 p->flags = SWP_USED; in alloc_swap_info()
3260 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()
/openbmc/linux/include/linux/
H A Dswap.h208 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator