Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3552 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3554 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3555 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3556 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3561 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3155 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3157 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3158 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3159 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3164 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5616 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5645 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5646 if (IS_ERR(sys_bg)) in init_first_rw_device()5647 return PTR_ERR(sys_bg); in init_first_rw_device()