Searched refs:SWP_USED (Results 1 – 3 of 3) sorted by relevance
158 if (!(p->flags & SWP_USED)) in swap_info_get()765 p->flags = SWP_USED; in sys_swapoff()825 if ((ptr->flags & SWP_USED) && ptr->swap_map) { in get_swaparea_info()858 if (ptr->flags & SWP_USED) in is_swap_partition()893 if (!(p->flags & SWP_USED)) in sys_swapon()902 p->flags = SWP_USED; in sys_swapon()1140 if (swap_info[i].flags != SWP_USED) in si_swapinfo()1221 if (!(p->flags & SWP_USED)) { in get_swaphandle_info()
53 #define SWP_USED 1 macro
521 if (!(p->flags & SWP_USED)) in swap_init()540 p->flags = SWP_USED; in swap_init()815 stram_swap_info->flags = SWP_USED; in get_stram_region()