Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswapfile.c57 static unsigned int nr_swapfiles; variable
1432 if (nr_swapfiles > 1) in swapcache_free_entries()
1663 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
1687 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
1726 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2156 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
2730 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
2740 if (type >= nr_swapfiles) { in alloc_swap_info()
2747 nr_swapfiles++; in alloc_swap_info()
3257 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
/openbmc/linux/fs/btrfs/
H A Dctree.h321 atomic_t nr_swapfiles; member
H A Dinode.c4489 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()
10609 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()
10703 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
H A Dioctl.c811 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()
H A Ddisk-io.c677 atomic_set(&root->nr_swapfiles, 0); in __setup_root()