Searched refs:BTRFS_BLOCK_GROUP_DATA (Results 1 – 18 of 18) sorted by relevance
/linux/fs/btrfs/ |
H A D | raid-stripe-tree.h | 40 if (type != BTRFS_BLOCK_GROUP_DATA) in btrfs_need_stripe_tree_update()
|
H A D | space-info.c | 207 if (flags & BTRFS_BLOCK_GROUP_DATA) in calc_chunk_size() 260 if (flags & BTRFS_BLOCK_GROUP_DATA) in create_space_info() 288 flags = BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info() 296 flags = BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info() 362 data_sinfo = btrfs_find_space_info(fs_info, BTRFS_BLOCK_GROUP_DATA); in calc_effective_data_chunk_size() 447 if (space_info->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_overcommit() 525 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str() 527 case BTRFS_BLOCK_GROUP_DATA: in space_info_flag_to_str()
|
H A D | block-group.h | 287 return (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in btrfs_is_block_group_data_only() 359 return btrfs_get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_DATA); in btrfs_data_alloc_profile()
|
H A D | zoned.c | 1392 if ((map->type & BTRFS_BLOCK_GROUP_DATA) && !fs_info->stripe_root) { in btrfs_load_block_group_dup() 1436 if ((map->type & BTRFS_BLOCK_GROUP_DATA) && !fs_info->stripe_root) { in btrfs_load_block_group_raid1() 1483 if ((map->type & BTRFS_BLOCK_GROUP_DATA) && !fs_info->stripe_root) { in btrfs_load_block_group_raid0() 1515 if ((map->type & BTRFS_BLOCK_GROUP_DATA) && !fs_info->stripe_root) { in btrfs_load_block_group_raid10() 1663 if ((map->type & BTRFS_BLOCK_GROUP_DATA) && in btrfs_load_block_group_zone_info() 2080 const bool is_data = (block_group->flags & BTRFS_BLOCK_GROUP_DATA); in btrfs_zone_activate() 2285 if (!(block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in do_zone_finish() 2339 if (flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_can_activate_zone() 2374 if (block_group->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_zone_finish_endio() 2487 ASSERT(block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_zoned_release_data_reloc_bg() [all …]
|
H A D | space-info.h | 223 (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() 1373 } else if (sinfo->flags & BTRFS_BLOCK_GROUP_DATA) { in inc_block_group_ro() 2079 if (flags & BTRFS_BLOCK_GROUP_DATA) in set_avail_alloc_bits() 2362 (cache->flags & BTRFS_BLOCK_GROUP_DATA))) { in read_one_block_group() 4173 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in btrfs_chunk_alloc() [all …]
|
H A D | delayed-ref.h | 349 return BTRFS_BLOCK_GROUP_DATA; in btrfs_ref_head_to_space_flags()
|
H A D | tree-checker.c | 751 if (unlikely(type != BTRFS_BLOCK_GROUP_DATA && in check_block_group_item() 755 BTRFS_BLOCK_GROUP_DATA))) { in check_block_group_item() 759 BTRFS_BLOCK_GROUP_DATA, BTRFS_BLOCK_GROUP_METADATA, in check_block_group_item() 761 BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA); in check_block_group_item() 930 BTRFS_BLOCK_GROUP_DATA)))) { in btrfs_check_chunk_valid() 943 (type & BTRFS_BLOCK_GROUP_DATA))) { in btrfs_check_chunk_valid()
|
H A D | extent-tree.c | 2565 flags = BTRFS_BLOCK_GROUP_DATA; in get_alloc_profile_by_root() 2736 } else if ((space_info->flags & BTRFS_BLOCK_GROUP_DATA) && in fetch_cluster_info() 3885 if (!ret && (block_group->flags & BTRFS_BLOCK_GROUP_DATA) && in do_allocation_zoned() 4065 if (!(ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA)) in can_allocate_chunk_zoned() 4079 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in can_allocate_chunk_zoned() 4103 if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) in can_allocate_chunk_zoned() 4305 } else if (ffe_ctl->flags & BTRFS_BLOCK_GROUP_DATA) { in prepare_allocation_zoned()
|
H A D | volumes.c | 233 DESCRIBE_FLAG(BTRFS_BLOCK_GROUP_DATA, "data"); in btrfs_describe_block_groups() 3529 if (!(chunk_type & BTRFS_BLOCK_GROUP_DATA)) in btrfs_may_alloc_data_chunk() 3544 ret = btrfs_force_chunk_alloc(trans, BTRFS_BLOCK_GROUP_DATA); in btrfs_may_alloc_data_chunk() 3937 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in should_balance_chunk() 4120 if (chunk_type & BTRFS_BLOCK_GROUP_DATA) in __btrfs_balance() 4134 if (((chunk_type & BTRFS_BLOCK_GROUP_DATA) && in __btrfs_balance() 5123 if (type & BTRFS_BLOCK_GROUP_DATA) { in init_alloc_chunk_ctl_policy_zoned()
|
H A D | sysfs.c | 1798 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name() 1802 case BTRFS_BLOCK_GROUP_DATA: in alloc_name()
|
H A D | free-space-cache.c | 1399 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) { in __btrfs_write_out_cache() 1466 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache() 1501 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) in __btrfs_write_out_cache()
|
H A D | ioctl.c | 3051 BTRFS_BLOCK_GROUP_DATA, in btrfs_ioctl_space_info() 3054 BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA in btrfs_ioctl_space_info()
|
H A D | raid56.c | 2205 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums()
|
H A D | scrub.c | 1605 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) { in scrub_find_fill_first_stripe()
|
H A D | qgroup.c | 4742 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
|
/linux/include/uapi/linux/ |
H A D | btrfs_tree.h | 1153 #define BTRFS_BLOCK_GROUP_DATA (1ULL << 0) macro 1167 #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \
|
/linux/include/trace/events/ |
H A D | btrfs.h | 133 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \ 1022 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \
|