Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3967 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3969 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3970 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3971 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3976 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3332 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3334 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3335 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3336 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3341 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5731 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5760 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5761 if (IS_ERR(sys_bg)) in init_first_rw_device()5762 return PTR_ERR(sys_bg); in init_first_rw_device()