Home
last modified time | relevance | path

Searched refs:nr_swapfiles (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dswapfile.c54 static unsigned int nr_swapfiles; variable
104 if (type >= READ_ONCE(nr_swapfiles)) in swap_type_to_swap_info()
1475 * nr_swapfiles isn't absolutely correct, but the overhead of sort() is in swapcache_free_entries()
1478 if (nr_swapfiles > 1) in swapcache_free_entries()
1840 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
1864 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
1902 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2305 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
2907 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
2916 if (type >= nr_swapfiles) { in alloc_swap_info()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dswapfile.c58 static unsigned int nr_swapfiles; variable
1430 * nr_swapfiles isn't absolutely correct, but the overhead of sort() is in swapcache_free_entries()
1433 if (nr_swapfiles > 1) in swapcache_free_entries()
1664 for (type = 0; type < nr_swapfiles; type++) { in swap_type_of()
1688 for (type = 0; type < nr_swapfiles; type++) { in find_first_swap()
1727 if ((unsigned int)type < nr_swapfiles) { in count_swap_pages()
2157 for (type = 0; type < nr_swapfiles; type++) in drain_mmlist()
2731 for (type = 0; type < nr_swapfiles; type++) { in alloc_swap_info()
2741 if (type >= nr_swapfiles) { in alloc_swap_info()
2748 nr_swapfiles in alloc_swap_info()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dctree.h321 atomic_t nr_swapfiles; member
H A 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()
10634 * already started before we bumped nr_swapfiles from 0 to 1 and in btrfs_swap_activate()
10664 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
H A Dioctl.c799 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()
H A Ddisk-io.c677 atomic_set(&root->nr_swapfiles, 0); in __setup_root()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dinode.c4027 if (atomic_read(&dest->nr_swapfiles)) { in btrfs_delete_subvolume()
10155 atomic_dec(&BTRFS_I(inode)->root->nr_swapfiles); in btrfs_swap_deactivate()
10218 * already started before we bumped nr_swapfiles from 0 to 1 and in btrfs_swap_activate()
10248 atomic_inc(&root->nr_swapfiles); in btrfs_swap_activate()
H A Dctree.h1189 atomic_t nr_swapfiles; member
H A Dioctl.c807 if (atomic_read(&root->nr_swapfiles)) { in create_snapshot()
H A Ddisk-io.c1072 atomic_set(&root->nr_swapfiles, 0); in __setup_root()

Completed in 65 milliseconds