Home
last modified time | relevance | path

Searched refs:sys_bg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/fs/btrfs/
Dblock-group.c3848 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local
3850 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()
3851 if (IS_ERR(sys_bg)) { in do_chunk_alloc()
3852 ret = PTR_ERR(sys_bg); in do_chunk_alloc()
3857 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
Dvolumes.c3185 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local
3187 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()
3188 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()
3189 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()
3194 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()
5644 struct btrfs_block_group *sys_bg; in init_first_rw_device() local
5673 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()
5674 if (IS_ERR(sys_bg)) in init_first_rw_device()
5675 return PTR_ERR(sys_bg); in init_first_rw_device()