Home
last modified time | relevance | path

Searched refs:btrfs_space_info (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dspace-info.h8 struct btrfs_space_info { struct
92 static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) in btrfs_mixed_space_info() argument
105 struct btrfs_space_info *sinfo, \
128 void btrfs_update_space_info_chunk_size(struct btrfs_space_info *space_info,
130 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info,
132 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info,
136 struct btrfs_space_info *info, u64 bytes,
143 struct btrfs_space_info *space_info);
145 struct btrfs_space_info *space_info, u64 bytes,
150 struct btrfs_space_info *space_info, in btrfs_space_info_free_bytes_may_use()
Dspace-info.c162 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info, in btrfs_space_info_used()
179 struct btrfs_space_info *found; in btrfs_clear_space_info_full()
216 void btrfs_update_space_info_chunk_size(struct btrfs_space_info *space_info, in btrfs_update_space_info_chunk_size()
225 struct btrfs_space_info *space_info; in create_space_info()
299 struct btrfs_space_info *found; in btrfs_add_bg_to_space_info()
328 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info, in btrfs_find_space_info()
332 struct btrfs_space_info *found; in btrfs_find_space_info()
344 struct btrfs_space_info *space_info, in calc_available_free_space()
380 struct btrfs_space_info *space_info) in writable_total_bytes()
396 struct btrfs_space_info *space_info, u64 bytes, in btrfs_can_overcommit()
[all …]
Dsysfs.h32 struct btrfs_space_info *space_info);
33 void btrfs_sysfs_remove_space_info(struct btrfs_space_info *space_info);
Dblock-rsv.c108 struct btrfs_space_info *space_info = block_rsv->space_info; in block_rsv_release_bytes()
354 struct btrfs_space_info *sinfo = block_rsv->space_info; in btrfs_update_global_block_rsv()
446 struct btrfs_space_info *space_info; in btrfs_init_global_block_rsv()
Dsysfs.c658 #define to_space_info(_kobj) container_of(_kobj, struct btrfs_space_info, kobj)
670 struct btrfs_space_info *sinfo = to_space_info(kobj->parent); in raid_bytes_show()
714 struct btrfs_space_info *sinfo = to_space_info(kobj); \
722 struct btrfs_space_info *sinfo = to_space_info(kobj); in btrfs_chunk_size_show()
738 struct btrfs_space_info *space_info = to_space_info(kobj); in btrfs_chunk_size_store()
787 struct btrfs_space_info *space_info = to_space_info(kobj); in btrfs_force_chunk_alloc_store()
841 struct btrfs_space_info *space_info = to_space_info(kobj); in btrfs_sinfo_bg_reclaim_threshold_show()
850 struct btrfs_space_info *space_info = to_space_info(kobj); in btrfs_sinfo_bg_reclaim_threshold_store()
897 struct btrfs_space_info *sinfo = to_space_info(kobj); in space_info_release()
1507 struct btrfs_space_info *space_info = cache->space_info; in btrfs_sysfs_add_block_group_type()
[all …]
Dblock-group.c369 struct btrfs_space_info *space_info = bg->space_info; in btrfs_wait_block_group_reservations()
817 struct btrfs_space_info *sinfo; in clear_incompat_bg_bits()
1168 struct btrfs_space_info *sinfo = cache->space_info; in inc_block_group_ro()
1290 struct btrfs_space_info *space_info; in btrfs_delete_unused_bgs()
1535 struct btrfs_space_info *space_info; in btrfs_reclaim_bgs_work()
2161 struct btrfs_space_info *space_info; in btrfs_read_block_groups()
2658 struct btrfs_space_info *sinfo = cache->space_info; in btrfs_dec_block_group_ro()
3217 const struct btrfs_space_info *space_info = bg->space_info; in should_reclaim_block_group()
3365 struct btrfs_space_info *space_info = cache->space_info; in btrfs_add_reserved_bytes()
3408 struct btrfs_space_info *space_info = cache->space_info; in btrfs_free_reserved_bytes()
[all …]
Dblock-rsv.h26 struct btrfs_space_info *space_info;
Dzoned.h86 struct btrfs_space_info *space_info, bool do_finish);
273 struct btrfs_space_info *space_info, in btrfs_zoned_activate_one_bg()
Dblock-group.h133 struct btrfs_space_info *space_info;
Ddelalloc-space.c174 struct btrfs_space_info *data_sinfo; in btrfs_free_reserved_data_space_noquota()
Dextent-tree.c2643 struct btrfs_space_info *space_info, u64 *empty_cluster) in fetch_cluster_info()
2671 struct btrfs_space_info *space_info; in unpin_extent_range()
3738 struct btrfs_space_info *space_info = block_group->space_info; in do_allocation_zoned()
4152 struct btrfs_space_info *space_info, in prepare_allocation_clustered()
4203 struct btrfs_space_info *space_info, in prepare_allocation()
4262 struct btrfs_space_info *space_info; in find_free_extent()
4581 struct btrfs_space_info *sinfo; in btrfs_reserve_extent()
4824 struct btrfs_space_info *space_info; in btrfs_alloc_logged_file_extent()
5983 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo) in btrfs_account_ro_block_groups_free_space()
Dzoned.c1877 struct btrfs_space_info *space_info = block_group->space_info; in btrfs_zone_activate()
2299 struct btrfs_space_info *space_info, in btrfs_zoned_activate_one_bg()
Dctree.h42 struct btrfs_space_info;
869 struct btrfs_space_info *data_sinfo;
2997 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
Dioctl.c3868 struct btrfs_space_info *info; in btrfs_ioctl_space_info()
3887 struct btrfs_space_info *tmp; in btrfs_ioctl_space_info()
3937 struct btrfs_space_info *tmp; in btrfs_ioctl_space_info()
Dfree-space-cache.c2673 struct btrfs_space_info *sinfo = block_group->space_info; in __btrfs_add_free_space_zoned()
3631 struct btrfs_space_info *space_info = block_group->space_info; in do_trimming()
Dsuper.c2333 struct btrfs_space_info *found; in btrfs_statfs()
Dvolumes.c5101 struct btrfs_space_info *space_info; in init_alloc_chunk_ctl_policy_regular()
Dinode.c1740 struct btrfs_space_info *sinfo = fs_info->data_sinfo; in fallback_to_cow()
/linux-6.1.9/include/trace/events/
Dbtrfs.h32 struct btrfs_space_info;
2101 const struct btrfs_space_info *sinfo),
2163 const struct btrfs_space_info *sinfo),
2169 const struct btrfs_space_info *sinfo),
2289 const struct btrfs_space_info *sinfo, u64 old, s64 diff),
2312 const struct btrfs_space_info *sinfo, u64 old, s64 diff),
2320 const struct btrfs_space_info *sinfo, u64 old, s64 diff),