Home
last modified time | relevance | path

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

/fs/btrfs/
Dvolumes.c3117 struct btrfs_balance_args *bargs) in chunk_profiles_filter() argument
3122 if (bargs->profiles & chunk_type) in chunk_profiles_filter()
3129 struct btrfs_balance_args *bargs) in chunk_usage_range_filter() argument
3140 if (bargs->usage_min == 0) in chunk_usage_range_filter()
3144 bargs->usage_min); in chunk_usage_range_filter()
3146 if (bargs->usage_max == 0) in chunk_usage_range_filter()
3148 else if (bargs->usage_max > 100) in chunk_usage_range_filter()
3152 bargs->usage_max); in chunk_usage_range_filter()
3162 u64 chunk_offset, struct btrfs_balance_args *bargs) in chunk_usage_filter() argument
3171 if (bargs->usage_min == 0) in chunk_usage_filter()
[all …]
Dioctl.c4694 struct btrfs_ioctl_balance_args *bargs) in update_ioctl_balance_args() argument
4698 bargs->flags = bctl->flags; in update_ioctl_balance_args()
4701 bargs->state |= BTRFS_BALANCE_STATE_RUNNING; in update_ioctl_balance_args()
4703 bargs->state |= BTRFS_BALANCE_STATE_PAUSE_REQ; in update_ioctl_balance_args()
4705 bargs->state |= BTRFS_BALANCE_STATE_CANCEL_REQ; in update_ioctl_balance_args()
4707 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in update_ioctl_balance_args()
4708 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in update_ioctl_balance_args()
4709 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in update_ioctl_balance_args()
4713 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in update_ioctl_balance_args()
4716 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in update_ioctl_balance_args()
[all …]
Dvolumes.h473 struct btrfs_ioctl_balance_args *bargs);
Dctree.h4050 struct btrfs_ioctl_balance_args *bargs);