Searched refs:MAX_SWAPFILES (Results 1 – 7 of 7) sorted by relevance
64 #define SWP_PTE_MARKER (MAX_SWAPFILES + SWP_HWPOISON_NUM + \81 #define SWP_DEVICE_WRITE (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM)82 #define SWP_DEVICE_READ (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM+1)83 #define SWP_DEVICE_EXCLUSIVE_WRITE (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM+2)84 #define SWP_DEVICE_EXCLUSIVE_READ (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM+3)100 #define SWP_MIGRATION_READ (MAX_SWAPFILES + SWP_HWPOISON_NUM)101 #define SWP_MIGRATION_READ_EXCLUSIVE (MAX_SWAPFILES + SWP_HWPOISON_NUM + 1)102 #define SWP_MIGRATION_WRITE (MAX_SWAPFILES + SWP_HWPOISON_NUM + 2)112 #define SWP_HWPOISON MAX_SWAPFILES117 #define MAX_SWAPFILES \ macro
582 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
365 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()379 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
15 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;40 static unsigned int nr_swapper_spaces[MAX_SWAPFILES] __read_mostly;
99 static struct swap_info_struct *swap_info[MAX_SWAPFILES];111 if (type >= MAX_SWAPFILES) in swap_type_to_swap_info()2723 if (type >= MAX_SWAPFILES) { in alloc_swap_info()
225 static struct zswap_tree *zswap_trees[MAX_SWAPFILES];