Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3225 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3227 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3228 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3229 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3234 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5695 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5724 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5725 if (IS_ERR(sys_bg)) in init_first_rw_device()5726 return PTR_ERR(sys_bg); in init_first_rw_device()
3915 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3917 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3918 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3919 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3924 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()