Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3482 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3484 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3485 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3486 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3491 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3205 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3207 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3208 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3209 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3214 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5668 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5697 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5698 if (IS_ERR(sys_bg)) in init_first_rw_device()5699 return PTR_ERR(sys_bg); in init_first_rw_device()