Lines Matching refs:btrfs_fs_info

626 struct btrfs_fs_info {  struct
1078 static inline void btrfs_set_last_root_drop_gen(struct btrfs_fs_info *fs_info, in btrfs_set_last_root_drop_gen() argument
1084 static inline u64 btrfs_get_last_root_drop_gen(const struct btrfs_fs_info *fs_info) in btrfs_get_last_root_drop_gen()
1089 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb()
1099 const struct btrfs_fs_info *fs_info, u64 csum_bytes) in btrfs_csum_bytes_to_leaves()
1110 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
1120 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
1129 static inline bool btrfs_is_zoned(const struct btrfs_fs_info *fs_info) in btrfs_is_zoned()
1137 static inline u32 count_max_extents(struct btrfs_fs_info *fs_info, u64 size) in count_max_extents()
1147 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
1149 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info,
1151 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info);
1152 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
1153 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info,
1294 static inline void btrfs_wake_unfinished_drop(struct btrfs_fs_info *fs_info) in btrfs_wake_unfinished_drop()
1326 struct btrfs_fs_info *fs_info;
1554 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE()
1562 static inline u32 BTRFS_MAX_ITEM_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_ITEM_SIZE()
1567 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info) in BTRFS_NODEPTRS_PER_BLOCK()
1574 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_INLINE_DATA_SIZE()
1580 static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_XATTR_SIZE()
2864 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info,
2869 void btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info,
2872 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);
2874 struct btrfs_fs_info *fs_info, u64 bytenr,
2913 int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info,
2921 void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
2992 int btrfs_error_unpin_extent_range(struct btrfs_fs_info *fs_info,
2994 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
2996 int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);
2998 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
3000 struct btrfs_fs_info *fs_info);
3014 void btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info,
3197 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing()
3218 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep()
3255 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
3267 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
3304 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info,
3351 int btrfs_check_sector_csum(struct btrfs_fs_info *fs_info, struct page *page,
3379 int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, long nr,
3438 void btrfs_run_delayed_iputs(struct btrfs_fs_info *fs_info);
3439 int btrfs_wait_on_delayed_iputs(struct btrfs_fs_info *fs_info);
3454 int btrfs_encoded_io_compression_from_extent(struct btrfs_fs_info *fs_info,
3498 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
3506 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info);
3507 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info);
3538 int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
3541 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
3545 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk()
3559 void _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
3568 void _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
3733 void btrfs_warn_32bit_limit(struct btrfs_fs_info *fs_info);
3734 void btrfs_err_32bit_limit(struct btrfs_fs_info *fs_info);
3781 static inline void btrfs_print_v0_err(struct btrfs_fs_info *fs_info) in btrfs_print_v0_err()
3789 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
3854 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function,
3873 static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_incompat()
3899 static inline void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_incompat()
3924 static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
3935 static inline void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_compat_ro()
3961 static inline void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_compat_ro()
3986 static inline int __btrfs_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_compat_ro()
4012 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start);
4017 int btrfs_recover_relocation(struct btrfs_fs_info *fs_info);
4026 int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info);
4027 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
4032 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
4035 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
4036 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
4037 int btrfs_scrub_cancel(struct btrfs_fs_info *info);
4039 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
4043 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info);
4044 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount);
4046 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info) in btrfs_bio_counter_dec()
4060 static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info) in btrfs_defrag_cancelled()
4099 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()
4104 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()