Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c67 static unsigned int nr_swapfiles; variable
2228 for (type = 0; type < nr_swapfiles; type++) { in __find_hibernation_swap_type()
2354 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
2393 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2849 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
3371 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
3381 if (type >= nr_swapfiles) { in alloc_swap_info()
3388 nr_swapfiles++; in alloc_swap_info()
3855 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
/linux/fs/btrfs/
H A Dctree.h301 atomic_t nr_swapfiles; member
H A Dinode.c4784 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_prune_dentries()
10319 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_activate()
10406 * already started before we bumped nr_swapfiles from 0 to 1 and in btrfs_swap_activate()
10439 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
H A Ddisk-io.c684 atomic_set(&root->nr_swapfiles, 0); in btrfs_alloc_root()
H A Dioctl.c783 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()