Lines Matching refs:bg_ret
3703 struct btrfs_block_group **bg_ret) in do_allocation_clustered() argument
3709 ret = find_free_extent_clustered(block_group, ffe_ctl, bg_ret); in do_allocation_clustered()
3741 struct btrfs_block_group **bg_ret) in do_allocation_zoned() argument
3911 struct btrfs_block_group **bg_ret) in do_allocation() argument
3915 return do_allocation_clustered(block_group, ffe_ctl, bg_ret); in do_allocation()
3917 return do_allocation_zoned(block_group, ffe_ctl, bg_ret); in do_allocation()
4383 struct btrfs_block_group *bg_ret; in find_free_extent() local
4453 bg_ret = NULL; in find_free_extent()
4454 ret = do_allocation(block_group, ffe_ctl, &bg_ret); in find_free_extent()
4456 if (bg_ret && bg_ret != block_group) { in find_free_extent()
4459 block_group = bg_ret; in find_free_extent()
6186 int bg_ret = 0; in btrfs_trim_fs() local
6216 bg_ret = ret; in btrfs_trim_fs()
6229 bg_ret = ret; in btrfs_trim_fs()
6238 bg_failed, bg_ret); in btrfs_trim_fs()
6261 if (bg_ret) in btrfs_trim_fs()
6262 return bg_ret; in btrfs_trim_fs()