Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dblock-group.h249 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in btrfs_is_block_group_data_only()
262 block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_should_fragment_free_space()
331 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_DATA); in btrfs_data_alloc_profile()
Dspace-info.c201 if (flags & BTRFS_BLOCK_GROUP_DATA) in calc_chunk_size()
253 if (flags & BTRFS_BLOCK_GROUP_DATA) in create_space_info()
281 flags = BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info()
289 flags = BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info()
389 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in writable_total_bytes()
403 if (space_info->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_overcommit()
485 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str()
487 case BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str()
Dspace-info.h95 (space_info->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_mixed_space_info()
Dtree-checker.c709 if (unlikely(type != BTRFS_BLOCK_GROUP_DATA && in check_block_group_item()
713 BTRFS_BLOCK_GROUP_DATA))) { 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()
874 BTRFS_BLOCK_GROUP_DATA)))) { in btrfs_check_chunk_valid()
887 (type & BTRFS_BLOCK_GROUP_DATA))) { in btrfs_check_chunk_valid()
Dblock-group.c35 if (flags & BTRFS_BLOCK_GROUP_DATA && in get_restripe_target()
37 target = BTRFS_BLOCK_GROUP_DATA | bctl->data.target; in get_restripe_target()
107 if (flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_get_alloc_profile()
373 if (!(bg->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_wait_block_group_reservations()
791 if (flags & BTRFS_BLOCK_GROUP_DATA) in clear_avail_alloc_bits()
1195 } else if (sinfo->flags & BTRFS_BLOCK_GROUP_DATA) { in inc_block_group_ro()
1734 if (flags & BTRFS_BLOCK_GROUP_DATA) in set_avail_alloc_bits()
2024 (cache->flags & BTRFS_BLOCK_GROUP_DATA))) { in read_one_block_group()
3763 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc()
3770 if (flags & BTRFS_BLOCK_GROUP_DATA && fs_info->metadata_ratio) { in btrfs_chunk_alloc()
Ddelayed-ref.h339 return BTRFS_BLOCK_GROUP_DATA; in btrfs_ref_head_to_space_flags()
Dzoned.c1474 if (map->type & BTRFS_BLOCK_GROUP_DATA) { in btrfs_load_block_group_zone_info()
2128 if (block_group->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_zone_finish_endio()
2240 ASSERT(block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_zoned_release_data_reloc_bg()
2305 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_zoned_activate_one_bg()
Dvolumes.c223 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data"); in btrfs_describe_block_groups()
3403 if (!(chunk_type & BTRFS_BLOCK_GROUP_DATA)) in btrfs_may_alloc_data_chunk()
3418 ret = btrfs_force_chunk_alloc(trans, BTRFS_BLOCK_GROUP_DATA); in btrfs_may_alloc_data_chunk()
3775 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in should_balance_chunk()
3958 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in __btrfs_balance()
3972 if (((chunk_type & BTRFS_BLOCK_GROUP_DATA) && in __btrfs_balance()
5130 if (type & BTRFS_BLOCK_GROUP_DATA) { in init_alloc_chunk_ctl_policy_zoned()
Dsuper.c2346 if (found->flags & BTRFS_BLOCK_GROUP_DATA) { in btrfs_statfs()
2364 if (found->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_statfs()
Dsysfs.c1591 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name()
1595 case BTRFS_BLOCK_GROUP_DATA: in alloc_name()
Dfree-space-cache.c1401 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) { in __btrfs_write_out_cache()
1468 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
1503 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
Dextent-tree.c2483 flags = BTRFS_BLOCK_GROUP_DATA; in get_alloc_profile_by_root()
2657 } else if ((space_info->flags & BTRFS_BLOCK_GROUP_DATA) && in fetch_cluster_info()
3976 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in can_allocate_chunk_zoned()
4000 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) in can_allocate_chunk_zoned()
Dioctl.c3870 BTRFS_BLOCK_GROUP_DATA, in btrfs_ioctl_space_info()
3873 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
Dqgroup.c4252 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
Drelocation.c3988 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_relocate_block_group()
/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h869 #define BTRFS_BLOCK_GROUP_DATA (1ULL << 0) macro
883 #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \
/linux-6.1.9/include/trace/events/
Dbtrfs.h135 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \
1022 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \