Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswapfile.c1142 if (data_race(!(p->flags & SWP_USED))) in _swap_info_get()
2590 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()
2611 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()
2717 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2746 p->flags = SWP_USED; in alloc_swap_info()
3255 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()
/linux-6.1.9/include/linux/
Dswap.h201 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator