Lines Matching refs:space_info
107 struct btrfs_space_info *space_info = block_rsv->space_info; in block_rsv_release_bytes() local
151 space_info, in block_rsv_release_bytes()
185 rsv->space_info = btrfs_find_space_info(fs_info, in btrfs_init_metadata_block_rsv()
291 if (target && block_rsv->space_info != target->space_info) in btrfs_block_rsv_release()
332 if (global_rsv->space_info != dest->space_info) in btrfs_cond_migrate_bytes()
353 struct btrfs_space_info *sinfo = block_rsv->space_info; in btrfs_update_global_block_rsv()
417 struct btrfs_space_info *space_info; in btrfs_init_global_block_rsv() local
419 space_info = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_SYSTEM); in btrfs_init_global_block_rsv()
420 fs_info->chunk_block_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
422 space_info = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_init_global_block_rsv()
423 fs_info->global_block_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
424 fs_info->trans_block_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
425 fs_info->empty_block_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
426 fs_info->delayed_block_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
427 fs_info->delayed_refs_rsv.space_info = space_info; in btrfs_init_global_block_rsv()
528 block_rsv->space_info == global_rsv->space_info) { in btrfs_use_block_rsv()