Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
4195 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local4205 sys_bg = btrfs_create_chunk(trans, sys_space_info, sys_flags); in do_chunk_alloc()4206 if (IS_ERR(sys_bg)) { in do_chunk_alloc()4207 ret = PTR_ERR(sys_bg); in do_chunk_alloc()4212 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3560 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3570 sys_bg = btrfs_create_chunk(trans, space_info, sys_flags); in btrfs_remove_chunk()3571 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3572 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3577 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()6347 struct btrfs_block_group *sys_bg; in init_first_rw_device() local6387 sys_bg = btrfs_create_chunk(trans, sys_space_info, alloc_profile); in init_first_rw_device()6388 if (IS_ERR(sys_bg)) in init_first_rw_device()6389 return PTR_ERR(sys_bg); in init_first_rw_device()