Searched refs:MAX_SWAPFILES (Results 1 – 5 of 5) sorted by relevance
53 #define SWP_MIGRATION_READ (MAX_SWAPFILES + SWP_HWPOISON_NUM)54 #define SWP_MIGRATION_WRITE (MAX_SWAPFILES + SWP_HWPOISON_NUM + 1)64 #define SWP_HWPOISON MAX_SWAPFILES69 #define MAX_SWAPFILES \ macro
191 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
297 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()311 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
329 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
58 static struct swap_info_struct *swap_info[MAX_SWAPFILES];1832 if (type >= MAX_SWAPFILES) { in alloc_swap_info()