Searched refs:bargs (Results 1 – 4 of 4) sorted by relevance
3589 struct btrfs_balance_args *bargs) in chunk_profiles_filter() argument3594 if (bargs->profiles & chunk_type) in chunk_profiles_filter()3601 struct btrfs_balance_args *bargs) in chunk_usage_range_filter() argument3612 if (bargs->usage_min == 0) in chunk_usage_range_filter()3616 bargs->usage_min); in chunk_usage_range_filter()3618 if (bargs->usage_max == 0) in chunk_usage_range_filter()3620 else if (bargs->usage_max > 100) in chunk_usage_range_filter()3624 bargs->usage_max); in chunk_usage_range_filter()3634 u64 chunk_offset, struct btrfs_balance_args *bargs) in chunk_usage_filter() argument3643 if (bargs->usage_min == 0) in chunk_usage_filter()[all …]
4319 struct btrfs_ioctl_balance_args *bargs) in btrfs_update_ioctl_balance_args() argument4323 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args()4326 bargs->state |= BTRFS_BALANCE_STATE_RUNNING; in btrfs_update_ioctl_balance_args()4328 bargs->state |= BTRFS_BALANCE_STATE_PAUSE_REQ; in btrfs_update_ioctl_balance_args()4330 bargs->state |= BTRFS_BALANCE_STATE_CANCEL_REQ; in btrfs_update_ioctl_balance_args()4332 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args()4333 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args()4334 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args()4337 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args()4411 struct btrfs_ioctl_balance_args *bargs; in btrfs_ioctl_balance() local[all …]
659 struct btrfs_ioctl_balance_args *bargs);
3505 struct btrfs_ioctl_balance_args *bargs);