Home
last modified time | relevance | path

Searched refs:swapped_blocks (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dqgroup.c4123 struct btrfs_qgroup_swapped_blocks *swapped_blocks) in btrfs_qgroup_init_swapped_blocks() argument
4127 spin_lock_init(&swapped_blocks->lock); in btrfs_qgroup_init_swapped_blocks()
4129 swapped_blocks->blocks[i] = RB_ROOT; in btrfs_qgroup_init_swapped_blocks()
4130 swapped_blocks->swapped = false; in btrfs_qgroup_init_swapped_blocks()
4141 struct btrfs_qgroup_swapped_blocks *swapped_blocks; in btrfs_qgroup_clean_swapped_blocks() local
4144 swapped_blocks = &root->swapped_blocks; in btrfs_qgroup_clean_swapped_blocks()
4146 spin_lock(&swapped_blocks->lock); in btrfs_qgroup_clean_swapped_blocks()
4147 if (!swapped_blocks->swapped) in btrfs_qgroup_clean_swapped_blocks()
4150 struct rb_root *cur_root = &swapped_blocks->blocks[i]; in btrfs_qgroup_clean_swapped_blocks()
4157 swapped_blocks->blocks[i] = RB_ROOT; in btrfs_qgroup_clean_swapped_blocks()
[all …]
Dqgroup.h419 struct btrfs_qgroup_swapped_blocks *swapped_blocks);
Dctree.h1194 struct btrfs_qgroup_swapped_blocks swapped_blocks; member
Ddisk-io.c1090 btrfs_qgroup_init_swapped_blocks(&root->swapped_blocks); in __setup_root()