Searched refs:swapped_blocks (Results 1 – 4 of 4) sorted by relevance
4151 struct btrfs_qgroup_swapped_blocks *swapped_blocks) in btrfs_qgroup_init_swapped_blocks() argument4155 spin_lock_init(&swapped_blocks->lock); in btrfs_qgroup_init_swapped_blocks()4157 swapped_blocks->blocks[i] = RB_ROOT; in btrfs_qgroup_init_swapped_blocks()4158 swapped_blocks->swapped = false; in btrfs_qgroup_init_swapped_blocks()4169 struct btrfs_qgroup_swapped_blocks *swapped_blocks; in btrfs_qgroup_clean_swapped_blocks() local4172 swapped_blocks = &root->swapped_blocks; in btrfs_qgroup_clean_swapped_blocks()4174 spin_lock(&swapped_blocks->lock); in btrfs_qgroup_clean_swapped_blocks()4175 if (!swapped_blocks->swapped) in btrfs_qgroup_clean_swapped_blocks()4178 struct rb_root *cur_root = &swapped_blocks->blocks[i]; in btrfs_qgroup_clean_swapped_blocks()4185 swapped_blocks->blocks[i] = RB_ROOT; in btrfs_qgroup_clean_swapped_blocks()[all …]
419 struct btrfs_qgroup_swapped_blocks *swapped_blocks);
1192 struct btrfs_qgroup_swapped_blocks swapped_blocks; member
1090 btrfs_qgroup_init_swapped_blocks(&root->swapped_blocks); in __setup_root()