Searched refs:MAX_SWAPFILES (Results 1 – 4 of 4) sorted by relevance
367 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()381 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
22 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
206 static struct xarray *zswap_trees[MAX_SWAPFILES];207 static unsigned int nr_zswap_trees[MAX_SWAPFILES];
109 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()