Lines Matching refs:ctl
418 struct btrfs_caching_control *ctl; in btrfs_get_caching_control() local
426 ctl = cache->caching_ctl; in btrfs_get_caching_control()
427 refcount_inc(&ctl->count); in btrfs_get_caching_control()
429 return ctl; in btrfs_get_caching_control()
432 static void btrfs_put_caching_control(struct btrfs_caching_control *ctl) in btrfs_put_caching_control() argument
434 if (refcount_dec_and_test(&ctl->count)) in btrfs_put_caching_control()
435 kfree(ctl); in btrfs_put_caching_control()
1191 struct btrfs_caching_control *ctl; in btrfs_remove_block_group() local
1193 list_for_each_entry(ctl, &fs_info->caching_block_groups, list) { in btrfs_remove_block_group()
1194 if (ctl->block_group == block_group) { in btrfs_remove_block_group()
1195 caching_ctl = ctl; in btrfs_remove_block_group()