Lines Matching refs:ctl
402 struct btrfs_caching_control *ctl; in btrfs_get_caching_control() local
410 ctl = cache->caching_ctl; in btrfs_get_caching_control()
411 refcount_inc(&ctl->count); in btrfs_get_caching_control()
413 return ctl; in btrfs_get_caching_control()
416 void btrfs_put_caching_control(struct btrfs_caching_control *ctl) in btrfs_put_caching_control() argument
418 if (refcount_dec_and_test(&ctl->count)) in btrfs_put_caching_control()
419 kfree(ctl); in btrfs_put_caching_control()
1019 struct btrfs_caching_control *ctl; in btrfs_remove_block_group() local
1021 list_for_each_entry(ctl, &fs_info->caching_block_groups, list) { in btrfs_remove_block_group()
1022 if (ctl->block_group == block_group) { in btrfs_remove_block_group()
1023 caching_ctl = ctl; in btrfs_remove_block_group()