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
1705 if (nr_swapfiles > 1) in swapcache_free_entries()
1990 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
2014 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
2053 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2497 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
3074 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
3084 if (type >= nr_swapfiles) { in alloc_swap_info()
3091 nr_swapfiles++; in alloc_swap_info()
3622 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
/linux/fs/btrfs/
H A Dctree.h306 atomic_t nr_swapfiles; member
H A Dinode.c4536 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()
9791 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()
9909 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
H A Ddisk-io.c697 atomic_set(&root->nr_swapfiles, 0); in __setup_root()
H A Dioctl.c819 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()