Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dswap.h53 #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_SWAPFILES
69 #define MAX_SWAPFILES \ macro
Dswapops.h191 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
/linux-3.4.99/kernel/power/
Duser.c297 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
311 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
/linux-3.4.99/mm/
Dpage_cgroup.c329 static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
Dswapfile.c58 static struct swap_info_struct *swap_info[MAX_SWAPFILES];
1832 if (type >= MAX_SWAPFILES) { in alloc_swap_info()