Home
last modified time | relevance | path

Searched refs:bargs (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dvolumes.c3609 struct btrfs_balance_args *bargs) in chunk_profiles_filter() argument
3614 if (bargs->profiles & chunk_type) in chunk_profiles_filter()
3621 struct btrfs_balance_args *bargs) in chunk_usage_range_filter() argument
3632 if (bargs->usage_min == 0) in chunk_usage_range_filter()
3636 bargs->usage_min); in chunk_usage_range_filter()
3638 if (bargs->usage_max == 0) in chunk_usage_range_filter()
3640 else if (bargs->usage_max > 100) in chunk_usage_range_filter()
3644 bargs->usage_max); in chunk_usage_range_filter()
3654 u64 chunk_offset, struct btrfs_balance_args *bargs) in chunk_usage_filter() argument
3663 if (bargs->usage_min == 0) in chunk_usage_filter()
[all …]
Dioctl.c4006 struct btrfs_ioctl_balance_args *bargs) in btrfs_update_ioctl_balance_args() argument
4010 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args()
4013 bargs->state |= BTRFS_BALANCE_STATE_RUNNING; in btrfs_update_ioctl_balance_args()
4015 bargs->state |= BTRFS_BALANCE_STATE_PAUSE_REQ; in btrfs_update_ioctl_balance_args()
4017 bargs->state |= BTRFS_BALANCE_STATE_CANCEL_REQ; in btrfs_update_ioctl_balance_args()
4019 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args()
4020 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args()
4021 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args()
4024 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args()
4032 struct btrfs_ioctl_balance_args *bargs; in btrfs_ioctl_balance() local
[all …]
Dvolumes.h527 struct btrfs_ioctl_balance_args *bargs);
Dctree.h3295 struct btrfs_ioctl_balance_args *bargs);