Home
last modified time | relevance | path

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

/linux-5.19.10/fs/btrfs/
Dblock-group.c3552 struct btrfs_block_group *sys_bg; in do_chunk_alloc() local
3554 sys_bg = btrfs_create_chunk(trans, sys_flags); in do_chunk_alloc()
3555 if (IS_ERR(sys_bg)) { in do_chunk_alloc()
3556 ret = PTR_ERR(sys_bg); in do_chunk_alloc()
3561 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in do_chunk_alloc()
Dvolumes.c3155 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() local
3157 sys_bg = btrfs_create_chunk(trans, sys_flags); in btrfs_remove_chunk()
3158 if (IS_ERR(sys_bg)) { in btrfs_remove_chunk()
3159 ret = PTR_ERR(sys_bg); in btrfs_remove_chunk()
3164 ret = btrfs_chunk_alloc_add_chunk_item(trans, sys_bg); in btrfs_remove_chunk()
5616 struct btrfs_block_group *sys_bg; in init_first_rw_device() local
5645 sys_bg = btrfs_create_chunk(trans, alloc_profile); in init_first_rw_device()
5646 if (IS_ERR(sys_bg)) in init_first_rw_device()
5647 return PTR_ERR(sys_bg); in init_first_rw_device()