Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dswapfile.c57 static unsigned int nr_swapfiles; variable
1427 if (nr_swapfiles > 1) in swapcache_free_entries()
1652 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
1676 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
1715 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2145 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
2719 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
2729 if (type >= nr_swapfiles) { in alloc_swap_info()
2736 nr_swapfiles++; in alloc_swap_info()
3246 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
/linux-6.6.21/fs/btrfs/
Dctree.h321 atomic_t nr_swapfiles; member
Dinode.c4481 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()
10571 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()
10664 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
Dioctl.c799 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()
Ddisk-io.c677 atomic_set(&root->nr_swapfiles, 0); in __setup_root()