Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dswapfile.c1170 if (data_race(!(p->flags & SWP_USED))) in __swap_info_get()
2774 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start()
2795 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_next()
2895 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2925 p->flags = SWP_USED; in alloc_swap_info()
3437 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in si_swapinfo()
3456 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) in free_swap_is_low()
/kernel/linux/linux-5.10/include/linux/
Dswap.h165 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator