Home
last modified time | relevance | path

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

/linux/kernel/power/
H A Duser.c367 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
381 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
/linux/mm/
H A Dswap_cgroup.c22 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
H A Dzswap.c206 static struct xarray *zswap_trees[MAX_SWAPFILES];
207 static unsigned int nr_zswap_trees[MAX_SWAPFILES];
H A Dswapfile.c109 static struct swap_info_struct *swap_info[MAX_SWAPFILES];
121 if (type >= MAX_SWAPFILES) in swap_type_to_swap_info()
2976 if (type >= MAX_SWAPFILES) { in alloc_swap_info()