Lines Matching refs:btrfs_fs_info

178 void btrfs_clear_space_info_full(struct btrfs_fs_info *info)
196 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags)
224 static int create_space_info(struct btrfs_fs_info *info, u64 flags)
261 int btrfs_init_space_info(struct btrfs_fs_info *fs_info)
298 void btrfs_add_bg_to_space_info(struct btrfs_fs_info *info,
328 struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info,
343 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info,
411 int btrfs_can_overcommit(struct btrfs_fs_info *fs_info,
444 void btrfs_try_granting_tickets(struct btrfs_fs_info *fs_info,
508 static void dump_global_block_rsv(struct btrfs_fs_info *fs_info)
517 static void __btrfs_dump_space_info(struct btrfs_fs_info *fs_info,
535 void btrfs_dump_space_info(struct btrfs_fs_info *fs_info,
577 static inline u64 calc_reclaim_items_nr(const struct btrfs_fs_info *fs_info,
595 static void shrink_delalloc(struct btrfs_fs_info *fs_info,
726 static void flush_space(struct btrfs_fs_info *fs_info,
830 btrfs_calc_reclaim_metadata_size(struct btrfs_fs_info *fs_info,
855 static bool need_preemptive_reclaim(struct btrfs_fs_info *fs_info,
967 static bool steal_from_global_rsv(struct btrfs_fs_info *fs_info,
1014 static bool maybe_fail_all_tickets(struct btrfs_fs_info *fs_info,
1066 struct btrfs_fs_info *fs_info;
1073 fs_info = container_of(work, struct btrfs_fs_info, async_reclaim_work);
1154 struct btrfs_fs_info *fs_info;
1162 fs_info = container_of(work, struct btrfs_fs_info,
1286 struct btrfs_fs_info *fs_info;
1291 fs_info = container_of(work, struct btrfs_fs_info, async_data_reclaim_work);
1361 void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info)
1387 static void priority_reclaim_metadata_space(struct btrfs_fs_info *fs_info,
1446 static void priority_reclaim_data_space(struct btrfs_fs_info *fs_info,
1474 static void wait_reserve_ticket(struct btrfs_fs_info *fs_info,
1521 static int handle_reserve_ticket(struct btrfs_fs_info *fs_info,
1577 static inline void maybe_clamp_preempt(struct btrfs_fs_info *fs_info,
1626 static int __reserve_bytes(struct btrfs_fs_info *fs_info,
1775 int btrfs_reserve_metadata_bytes(struct btrfs_fs_info *fs_info,
1803 int btrfs_reserve_data_bytes(struct btrfs_fs_info *fs_info, u64 bytes,
1825 __cold void btrfs_dump_space_info_for_trans_abort(struct btrfs_fs_info *fs_info)