Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Draid-stripe-tree.h40 if (type != BTRFS_BLOCK_GROUP_DATA) in btrfs_need_stripe_tree_update()
H A Dspace-info.c207 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 Dblock-group.h287 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 Dzoned.c1392 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 Dspace-info.h223 (space_info->flags & BTRFS_BLOCK_GROUP_DATA)); in btrfs_mixed_space_info()
H A Dblock-group.c33 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 Ddelayed-ref.h349 return BTRFS_BLOCK_GROUP_DATA; in btrfs_ref_head_to_space_flags()
H A Dtree-checker.c751 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 Dextent-tree.c2565 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 Dvolumes.c233 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 Dsysfs.c1798 case BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA: in alloc_name()
1802 case BTRFS_BLOCK_GROUP_DATA: in alloc_name()
H A Dfree-space-cache.c1399 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 Dioctl.c3051 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 Draid56.c2205 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums()
H A Dscrub.c1605 if (bg->flags & BTRFS_BLOCK_GROUP_DATA) { in scrub_find_fill_first_stripe()
H A Dqgroup.c4742 if (bg && bg->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_qgroup_add_swapped_blocks()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h1153 #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 Dbtrfs.h133 { BTRFS_BLOCK_GROUP_DATA, "DATA"}, \
1022 { BTRFS_BLOCK_GROUP_DATA, "DATA" }, \