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

/linux-master/include/linux/
H A Dswap.h208 SWP_USED = (1 << 0), /* is slot in swap_info[] used? */ enumerator in enum:__anon1251
284 unsigned long flags; /* SWP_USED etc: see above */
/linux-master/mm/
H A Dswapfile.c1147 if (data_race(!(p->flags & SWP_USED)))
2567 * Clear the SWP_USED flag after all resources are freed so that swapon
2614 if (!(si->flags & SWP_USED) || !si->swap_map)
2635 if (!(si->flags & SWP_USED) || !si->swap_map)
2741 if (!(swap_info[type]->flags & SWP_USED))
2770 p->flags = SWP_USED;
3278 if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK))

Completed in 111 milliseconds