Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dswapfile.c55 static unsigned int nr_swapfiles; variable
1422 if (nr_swapfiles > 1) in swapcache_free_entries()
1671 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
1695 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
1734 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2140 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
2716 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
2726 if (type >= nr_swapfiles) { in alloc_swap_info()
2733 nr_swapfiles++; in alloc_swap_info()
3252 for (type = 0; type < nr_swapfiles; type++) { in si_swapinfo()
/Linux-v6.1/fs/btrfs/
Dinode.c4679 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()
10962 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()
11055 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
Dctree.h1443 atomic_t nr_swapfiles; member
Ddisk-io.c1023 atomic_set(&root->nr_swapfiles, 0); in __setup_root()
Dioctl.c784 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()