Home
last modified time | relevance | path

Searched refs:BTRFS_BLOCK_GROUP_METADATA (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/fs/btrfs/
Dblock-group.h233 !(block_group->flags & BTRFS_BLOCK_GROUP_METADATA); in btrfs_is_block_group_data_only()
243 block_group->flags & BTRFS_BLOCK_GROUP_METADATA) || in btrfs_should_fragment_free_space()
321 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_metadata_alloc_profile()
Dspace-info.c281 flags = BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info()
284 flags = BTRFS_BLOCK_GROUP_METADATA; in btrfs_init_space_info()
403 if (btrfs_is_zoned(fs_info) && (space_info->flags & BTRFS_BLOCK_GROUP_METADATA)) in btrfs_can_overcommit()
1045 space_info = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_async_reclaim_metadata_space()
1135 space_info = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_preempt_reclaim_metadata_space()
1664 } else if (!ret && space_info->flags & BTRFS_BLOCK_GROUP_METADATA) { in __reserve_bytes()
Dspace-info.h94 return ((space_info->flags & BTRFS_BLOCK_GROUP_METADATA) && in btrfs_mixed_space_info()
Dblock-rsv.c187 BTRFS_BLOCK_GROUP_METADATA); in btrfs_init_metadata_block_rsv()
453 space_info = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_init_global_block_rsv()
Dtree-checker.c710 type != BTRFS_BLOCK_GROUP_METADATA && in check_block_group_item()
712 type != (BTRFS_BLOCK_GROUP_METADATA | in check_block_group_item()
717 BTRFS_BLOCK_GROUP_DATA, BTRFS_BLOCK_GROUP_METADATA, in check_block_group_item()
719 BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA); in check_block_group_item()
873 (type & (BTRFS_BLOCK_GROUP_METADATA | in btrfs_check_chunk_valid()
886 if (unlikely((type & BTRFS_BLOCK_GROUP_METADATA) && in btrfs_check_chunk_valid()
Dblock-group.c41 } else if (flags & BTRFS_BLOCK_GROUP_METADATA && in get_restripe_target()
43 target = BTRFS_BLOCK_GROUP_METADATA | bctl->meta.target; in get_restripe_target()
111 else if (flags & BTRFS_BLOCK_GROUP_METADATA) in btrfs_get_alloc_profile()
134 if (!(cache->flags & BTRFS_BLOCK_GROUP_METADATA) || in btrfs_put_block_group()
469 u64 chunk = block_group->flags & BTRFS_BLOCK_GROUP_METADATA ? in fragment_free_space()
803 if (flags & BTRFS_BLOCK_GROUP_METADATA) in clear_avail_alloc_bits()
1739 if (flags & BTRFS_BLOCK_GROUP_METADATA) in set_avail_alloc_bits()
2037 if (!mixed && ((cache->flags & BTRFS_BLOCK_GROUP_METADATA) && in read_one_block_group()
3454 if (found->flags & BTRFS_BLOCK_GROUP_METADATA) in force_metadata_allocation()
3785 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc()
[all …]
Ddelayed-ref.h342 return BTRFS_BLOCK_GROUP_METADATA; in btrfs_ref_head_to_space_flags()
Droot-tree.c521 BTRFS_BLOCK_GROUP_METADATA); in btrfs_subvolume_reserve_metadata()
Dsysfs.c1446 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name()
1448 case BTRFS_BLOCK_GROUP_METADATA: in alloc_name()
Dvolumes.c216 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_METADATA, "metadata"); in btrfs_describe_block_groups()
3755 else if (chunk_type & BTRFS_BLOCK_GROUP_METADATA) in should_balance_chunk()
3938 else if (chunk_type & BTRFS_BLOCK_GROUP_METADATA) in __btrfs_balance()
3950 || ((chunk_type & BTRFS_BLOCK_GROUP_METADATA) && in __btrfs_balance()
5109 } else if (type & BTRFS_BLOCK_GROUP_METADATA) { in init_alloc_chunk_ctl_policy_zoned()
6983 if (!(type & BTRFS_BLOCK_GROUP_METADATA)) in check_32bit_meta_chunk()
7002 if (!(type & BTRFS_BLOCK_GROUP_METADATA)) in warn_32bit_meta_chunk()
Dzoned.c1936 (BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_SYSTEM)) && in do_zone_finish()
Dsuper.c2371 if (!mixed && found->flags & BTRFS_BLOCK_GROUP_METADATA) { in btrfs_statfs()
Dioctl.c3869 BTRFS_BLOCK_GROUP_METADATA, in btrfs_ioctl_space_info()
3870 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
Dextent-tree.c2494 flags = BTRFS_BLOCK_GROUP_METADATA; in get_alloc_profile_by_root()
2658 if (space_info->flags & BTRFS_BLOCK_GROUP_METADATA) { in fetch_cluster_info()
Dfree-space-cache.c3540 } else if (block_group->flags & BTRFS_BLOCK_GROUP_METADATA) { in btrfs_find_space_cluster()
/linux-5.19.10/include/uapi/linux/
Dbtrfs_tree.h871 #define BTRFS_BLOCK_GROUP_METADATA (1ULL << 2) macro
885 BTRFS_BLOCK_GROUP_METADATA)
/linux-5.19.10/include/trace/events/
Dbtrfs.h136 { BTRFS_BLOCK_GROUP_METADATA, "METADATA"}, \
960 { BTRFS_BLOCK_GROUP_METADATA, "METADATA"}, \