Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dswap.h208 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator
/linux-6.6.21/mm/
Dswapfile.c1141 if (data_race(!(p->flags & SWP_USED))) in _swap_info_get()
2593 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()
2614 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()
2720 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2749 p->flags = SWP_USED; in alloc_swap_info()
3249 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()