Searched refs:nr_swapfiles (Results 1 – 5 of 5) sorted by relevance
68 static unsigned int nr_swapfiles; variable2157 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()2181 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()2220 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()2671 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()3190 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()3200 if (type >= nr_swapfiles) { in alloc_swap_info()3207 nr_swapfiles++; in alloc_swap_info()3685 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
305 atomic_t nr_swapfiles; member
4790 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()10257 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()10375 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
651 atomic_set(&root->nr_swapfiles, 0); in btrfs_alloc_root()
730 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()