Home
last modified time | relevance | path

Searched refs:MAX_SWAPFILES (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/include/linux/
Dswap.h64 #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_SWAPFILES
117 #define MAX_SWAPFILES \ macro
Dswapops.h582 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
/linux-6.6.21/kernel/power/
Duser.c365 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
379 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
/linux-6.6.21/mm/
Dswap_cgroup.c15 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
Dswap_state.c39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
40 static unsigned int nr_swapper_spaces[MAX_SWAPFILES] __read_mostly;
Dswapfile.c99 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()
Dzswap.c225 static struct zswap_tree *zswap_trees[MAX_SWAPFILES];