Searched refs:BTRFS_BLOCK_GROUP_DATA (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/fs/btrfs/ |
D | block-group.h | 272 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in btrfs_is_block_group_data_only() 345 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_DATA); in btrfs_data_alloc_profile()
|
D | space-info.c | 204 if (flags & BTRFS_BLOCK_GROUP_DATA) in calc_chunk_size() 256 if (flags & BTRFS_BLOCK_GROUP_DATA) in create_space_info() 284 flags = BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info() 292 flags = BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info() 388 if (space_info->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_overcommit() 466 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str() 468 case BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str()
|
D | space-info.h | 171 (space_info->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_mixed_space_info()
|
D | block-group.c | 33 block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_should_fragment_free_space() 51 if (flags & BTRFS_BLOCK_GROUP_DATA && in get_restripe_target() 53 target = BTRFS_BLOCK_GROUP_DATA | bctl->data.target; in get_restripe_target() 130 if (flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_get_alloc_profile() 385 if (!(bg->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_wait_block_group_reservations() 978 if (flags & BTRFS_BLOCK_GROUP_DATA) in clear_avail_alloc_bits() 1376 } else if (sinfo->flags & BTRFS_BLOCK_GROUP_DATA) { in inc_block_group_ro() 2046 if (flags & BTRFS_BLOCK_GROUP_DATA) in set_avail_alloc_bits() 2333 (cache->flags & BTRFS_BLOCK_GROUP_DATA))) { in read_one_block_group() 4126 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc() [all …]
|
D | tree-checker.c | 727 if (unlikely(type != BTRFS_BLOCK_GROUP_DATA && in check_block_group_item() 731 BTRFS_BLOCK_GROUP_DATA))) { in check_block_group_item() 735 BTRFS_BLOCK_GROUP_DATA, BTRFS_BLOCK_GROUP_METADATA, in check_block_group_item() 737 BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA); in check_block_group_item() 906 BTRFS_BLOCK_GROUP_DATA)))) { in btrfs_check_chunk_valid() 919 (type & BTRFS_BLOCK_GROUP_DATA))) { in btrfs_check_chunk_valid()
|
D | zoned.c | 1484 if (map->type & BTRFS_BLOCK_GROUP_DATA) { in btrfs_load_block_group_zone_info() 1969 const bool is_data = (block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_zone_activate() 2169 if (!(block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in do_zone_finish() 2222 if (flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_activate_zone() 2257 if (block_group->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_zone_finish_endio() 2370 ASSERT(block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_zoned_release_data_reloc_bg() 2439 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_zoned_activate_one_bg()
|
D | delayed-ref.h | 363 return BTRFS_BLOCK_GROUP_DATA; in btrfs_ref_head_to_space_flags()
|
D | extent-tree.c | 2507 flags = BTRFS_BLOCK_GROUP_DATA; in get_alloc_profile_by_root() 2681 } else if ((space_info->flags & BTRFS_BLOCK_GROUP_DATA) && in fetch_cluster_info() 3735 if (!ret && (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in do_allocation_zoned() 3915 if (!(ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA)) in can_allocate_chunk_zoned() 3929 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in can_allocate_chunk_zoned() 3953 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) in can_allocate_chunk_zoned() 4155 } else if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in prepare_allocation_zoned()
|
D | volumes.c | 223 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data"); in btrfs_describe_block_groups() 3417 if (!(chunk_type & BTRFS_BLOCK_GROUP_DATA)) in btrfs_may_alloc_data_chunk() 3432 ret = btrfs_force_chunk_alloc(trans, BTRFS_BLOCK_GROUP_DATA); in btrfs_may_alloc_data_chunk() 3787 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in should_balance_chunk() 3970 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in __btrfs_balance() 3984 if (((chunk_type & BTRFS_BLOCK_GROUP_DATA) && in __btrfs_balance() 5136 if (type & BTRFS_BLOCK_GROUP_DATA) { in init_alloc_chunk_ctl_policy_zoned()
|
D | super.c | 2052 if (found->flags & BTRFS_BLOCK_GROUP_DATA) { in btrfs_statfs() 2070 if (found->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_statfs()
|
D | sysfs.c | 1647 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name() 1651 case BTRFS_BLOCK_GROUP_DATA: in alloc_name()
|
D | free-space-cache.c | 1397 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) { in __btrfs_write_out_cache() 1464 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache() 1499 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
|
D | ioctl.c | 3004 BTRFS_BLOCK_GROUP_DATA, in btrfs_ioctl_space_info() 3007 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
|
D | raid56.c | 2095 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums()
|
D | scrub.c | 1602 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) { in scrub_find_fill_first_stripe()
|
D | qgroup.c | 4302 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
|
D | relocation.c | 4055 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_relocate_block_group()
|
/linux-6.6.21/include/uapi/linux/ |
D | btrfs_tree.h | 1108 #define BTRFS_BLOCK_GROUP_DATA (1ULL << 0) macro 1122 #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \
|
/linux-6.6.21/include/trace/events/ |
D | btrfs.h | 135 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \ 1051 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \
|