Searched refs:balance_ctl (Results 1 – 5 of 5) sorted by relevance
3850 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in reset_balance_state()3853 ASSERT(fs_info->balance_ctl); in reset_balance_state()3856 fs_info->balance_ctl = NULL; in reset_balance_state()4044 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in should_balance_chunk()4131 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in __btrfs_balance()4468 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in describe_balance_start_or_resume()4639 BUG_ON(fs_info->balance_ctl); in btrfs_balance()4641 fs_info->balance_ctl = bctl; in btrfs_balance()4716 if (fs_info->balance_ctl) in balance_kthread()4717 ret = btrfs_balance(fs_info, fs_info->balance_ctl, NULL); in balance_kthread()[all …]
3510 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in btrfs_update_ioctl_balance_args()3559 if (fs_info->balance_ctl) { in btrfs_try_lock_balance()3574 if (fs_info->balance_ctl && in btrfs_try_lock_balance()3626 if (!fs_info->balance_ctl) { in btrfs_ioctl_balance()3631 bctl = fs_info->balance_ctl; in btrfs_ioctl_balance()3645 if (fs_info->balance_ctl) { in btrfs_ioctl_balance()3714 if (!fs_info->balance_ctl) { in btrfs_ioctl_balance_progress()
686 struct btrfs_balance_control *balance_ctl; member
1271 kfree(fs_info->balance_ctl); in btrfs_free_fs_info()1906 fs_info->balance_ctl = NULL; in btrfs_init_balance()
45 const struct btrfs_balance_control *bctl = fs_info->balance_ctl; in get_restripe_target()