Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dvolumes.c3603 struct btrfs_balance_args *bargs) in chunk_profiles_filter() argument
3608 if (bargs->profiles & chunk_type) in chunk_profiles_filter()
3615 struct btrfs_balance_args *bargs) in chunk_usage_range_filter() argument
3626 if (bargs->usage_min == 0) in chunk_usage_range_filter()
3629 user_thresh_min = mult_perc(cache->length, bargs->usage_min); in chunk_usage_range_filter()
3631 if (bargs->usage_max == 0) in chunk_usage_range_filter()
3633 else if (bargs->usage_max > 100) in chunk_usage_range_filter()
3636 user_thresh_max = mult_perc(cache->length, bargs->usage_max); in chunk_usage_range_filter()
3646 u64 chunk_offset, struct btrfs_balance_args *bargs) in chunk_usage_filter() argument
3655 if (bargs->usage_min == 0) in chunk_usage_filter()
[all …]
Dioctl.c3464 struct btrfs_ioctl_balance_args *bargs) in btrfs_update_ioctl_balance_args() argument
3468 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args()
3471 bargs->state |= BTRFS_BALANCE_STATE_RUNNING; in btrfs_update_ioctl_balance_args()
3473 bargs->state |= BTRFS_BALANCE_STATE_PAUSE_REQ; in btrfs_update_ioctl_balance_args()
3475 bargs->state |= BTRFS_BALANCE_STATE_CANCEL_REQ; in btrfs_update_ioctl_balance_args()
3477 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args()
3478 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args()
3479 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args()
3482 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args()
3556 struct btrfs_ioctl_balance_args *bargs; in btrfs_ioctl_balance() local
[all …]
Dioctl.h15 struct btrfs_ioctl_balance_args *bargs);
Dvolumes.h643 struct btrfs_ioctl_balance_args *bargs);