Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3932 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3934 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3935 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3936 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3941 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3421 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3423 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3424 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3425 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3430 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5820 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5849 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5850 if (IS_ERR(sys_bg)) in init_first_rw_device()5851 return PTR_ERR(sys_bg); in init_first_rw_device()