Lines Matching defs:btrfs_fs_info
147 /* The btrfs_fs_info created for self-tests */
498 void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info);
583 struct btrfs_fs_info {
975 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb)
1061 struct btrfs_fs_info *fs_info;
1241 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info)
1249 static inline u32 BTRFS_MAX_ITEM_SIZE(const struct btrfs_fs_info *info)
1254 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info)
1261 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info)
1267 static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info)
2527 u64 btrfs_csum_bytes_to_leaves(struct btrfs_fs_info *fs_info, u64 csum_bytes);
2533 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info,
2543 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info,
2549 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info,
2554 void btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info,
2557 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);
2559 struct btrfs_fs_info *fs_info, u64 bytenr,
2598 int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info,
2606 int btrfs_extent_readonly(struct btrfs_fs_info *fs_info, u64 bytenr);
2607 void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
2676 int btrfs_error_unpin_extent_range(struct btrfs_fs_info *fs_info,
2678 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
2680 int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);
2682 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
2684 struct btrfs_fs_info *fs_info);
2698 void btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info,
2804 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info)
2822 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info)
2828 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
2830 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info,
2853 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
2865 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
2902 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info,
3010 int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, u64 nr,
3056 void btrfs_run_delayed_iputs(struct btrfs_fs_info *fs_info);
3057 int btrfs_wait_on_delayed_iputs(struct btrfs_fs_info *fs_info);
3085 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
3087 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
3089 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
3096 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info);
3097 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info);
3132 int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
3135 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
3139 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...)
3146 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
3311 static inline void btrfs_print_v0_err(struct btrfs_fs_info *fs_info)
3319 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
3360 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function,
3379 static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info,
3405 static inline void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info,
3430 static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag)
3441 static inline void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info,
3467 static inline void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info,
3492 static inline int __btrfs_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag)
3516 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start);
3530 int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info);
3531 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3536 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
3539 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
3540 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
3541 int btrfs_scrub_cancel(struct btrfs_fs_info *info);
3543 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
3553 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info);
3554 void btrfs_bio_counter_inc_noblocked(struct btrfs_fs_info *fs_info);
3555 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount);
3557 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info)
3564 struct btrfs_fs_info *fs_info; /* tree to prefetch */
3588 static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info)
3598 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info)
3603 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info)