Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance
3469 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local3471 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()3472 if (IS_ERR(sys_bg)) { in do_chunk_alloc()3473 ret = PTR_ERR(sys_bg); in do_chunk_alloc()3478 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
3153 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local3155 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()3156 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()3157 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()3162 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()5615 struct btrfs_block_group *sys_bg; in init_first_rw_device() local5644 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()5645 if (IS_ERR(sys_bg)) in init_first_rw_device()5646 return PTR_ERR(sys_bg); in init_first_rw_device()
Completed in 20 milliseconds