Searched refs:BTRFS_BLOCK_GROUP_DATA (Results 1 – 20 of 20) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A 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()
|
H A 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()
|
H A D | space-info.h | 171 (space_info->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_mixed_space_info()
|
H A 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() 2064 if (flags & BTRFS_BLOCK_GROUP_DATA) in set_avail_alloc_bits() 2351 (cache->flags & BTRFS_BLOCK_GROUP_DATA))) { in read_one_block_group() 4148 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc() [all …]
|
H A D | zoned.c | 1407 if (map->type & BTRFS_BLOCK_GROUP_DATA) { in btrfs_load_block_group_dup() 1979 const bool is_data = (block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_zone_activate() 2179 if (!(block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in do_zone_finish() 2232 if (flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_activate_zone() 2267 if (block_group->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_zone_finish_endio() 2380 ASSERT(block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_zoned_release_data_reloc_bg() 2449 if (!btrfs_is_zoned(fs_info) || (space_info->flags & BTRFS_BLOCK_GROUP_DATA)) in btrfs_zoned_activate_one_bg()
|
H A D | tree-checker.c | 729 if (unlikely(type != BTRFS_BLOCK_GROUP_DATA && in check_block_group_item() 733 BTRFS_BLOCK_GROUP_DATA))) { in check_block_group_item() 737 BTRFS_BLOCK_GROUP_DATA, BTRFS_BLOCK_GROUP_METADATA, in check_block_group_item() 739 BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA); in check_block_group_item() 908 BTRFS_BLOCK_GROUP_DATA)))) { in btrfs_check_chunk_valid() 921 (type & BTRFS_BLOCK_GROUP_DATA))) { in btrfs_check_chunk_valid()
|
H A D | delayed-ref.h | 363 return BTRFS_BLOCK_GROUP_DATA; in btrfs_ref_head_to_space_flags()
|
H A D | extent-tree.c | 2518 flags = BTRFS_BLOCK_GROUP_DATA; in get_alloc_profile_by_root() 2692 } else if ((space_info->flags & BTRFS_BLOCK_GROUP_DATA) && in fetch_cluster_info() 3747 if (!ret && (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in do_allocation_zoned() 3927 if (!(ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA)) in can_allocate_chunk_zoned() 3941 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in can_allocate_chunk_zoned() 3965 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) in can_allocate_chunk_zoned() 4167 } else if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in prepare_allocation_zoned()
|
H A D | volumes.c | 223 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data"); in btrfs_describe_block_groups() 3435 if (!(chunk_type & BTRFS_BLOCK_GROUP_DATA)) in btrfs_may_alloc_data_chunk() 3450 ret = btrfs_force_chunk_alloc(trans, BTRFS_BLOCK_GROUP_DATA); in btrfs_may_alloc_data_chunk() 3805 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in should_balance_chunk() 3988 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in __btrfs_balance() 4002 if (((chunk_type & BTRFS_BLOCK_GROUP_DATA) && in __btrfs_balance() 5154 if (type & BTRFS_BLOCK_GROUP_DATA) { in init_alloc_chunk_ctl_policy_zoned()
|
H A 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()
|
H A 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()
|
H A D | free-space-cache.c | 1398 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) { in __btrfs_write_out_cache() 1465 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache() 1500 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
|
H A D | ioctl.c | 3021 BTRFS_BLOCK_GROUP_DATA, in btrfs_ioctl_space_info() 3024 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
|
H A D | raid56.c | 2095 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums()
|
H A D | scrub.c | 1602 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) { in scrub_find_fill_first_stripe()
|
H A D | qgroup.c | 4304 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
|
H A D | relocation.c | 3984 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_relocate_block_group()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | btrfs_tree.h | 711 #define BTRFS_BLOCK_GROUP_DATA (1ULL << 0) macro 734 #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \
|
/openbmc/linux/include/uapi/linux/ |
H A D | btrfs_tree.h | 1108 #define BTRFS_BLOCK_GROUP_DATA (1ULL << 0) macro 1122 #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \
|
/openbmc/linux/include/trace/events/ |
H A D | btrfs.h | 135 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \ 1051 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \
|