Home
last modified time | relevance | path

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

/linux-5.19.10/fs/btrfs/
Dblock-group.h232 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in btrfs_is_block_group_data_only()
245 block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_should_fragment_free_space()
316 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()
385 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in writable_total_bytes()
399 if (space_info->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_overcommit()
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()
801 if (flags & BTRFS_BLOCK_GROUP_DATA) in clear_avail_alloc_bits()
1204 } else if (sinfo->flags & BTRFS_BLOCK_GROUP_DATA) { in inc_block_group_ro()
1737 if (flags & BTRFS_BLOCK_GROUP_DATA) in set_avail_alloc_bits()
2038 (cache->flags & BTRFS_BLOCK_GROUP_DATA))) { in read_one_block_group()
3785 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc()
3792 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.c1458 if (map->type & BTRFS_BLOCK_GROUP_DATA) { in btrfs_load_block_group_zone_info()
2074 if (block_group->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_zone_finish_endio()
2186 ASSERT(block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_zoned_release_data_reloc_bg()
2250 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_zoned_activate_one_bg()
Dsysfs.c1446 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name()
1450 case BTRFS_BLOCK_GROUP_DATA: in alloc_name()
Dvolumes.c214 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data"); in btrfs_describe_block_groups()
3379 if (!(chunk_type & BTRFS_BLOCK_GROUP_DATA)) in btrfs_may_alloc_data_chunk()
3394 ret = btrfs_force_chunk_alloc(trans, BTRFS_BLOCK_GROUP_DATA); in btrfs_may_alloc_data_chunk()
3751 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in should_balance_chunk()
3934 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in __btrfs_balance()
3948 if (((chunk_type & BTRFS_BLOCK_GROUP_DATA) && in __btrfs_balance()
5106 if (type & BTRFS_BLOCK_GROUP_DATA) { in init_alloc_chunk_ctl_policy_zoned()
Dsuper.c2354 if (found->flags & BTRFS_BLOCK_GROUP_DATA) { in btrfs_statfs()
2372 if (found->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_statfs()
Dfree-space-cache.c1361 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) { in __btrfs_write_out_cache()
1428 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
1463 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
Dextent-tree.c2490 flags = BTRFS_BLOCK_GROUP_DATA; in get_alloc_profile_by_root()
2664 } else if ((space_info->flags & BTRFS_BLOCK_GROUP_DATA) && in fetch_cluster_info()
3986 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in can_allocate_chunk_zoned()
4010 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) in can_allocate_chunk_zoned()
Dioctl.c3867 BTRFS_BLOCK_GROUP_DATA, in btrfs_ioctl_space_info()
3870 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
Dqgroup.c4187 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
Drelocation.c3996 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_relocate_block_group()
/linux-5.19.10/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-5.19.10/include/trace/events/
Dbtrfs.h134 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \
958 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \