Lines Matching defs:btrfs_fs_info

100 	/* The btrfs_fs_info created for self-tests */
405 struct btrfs_fs_info {
473 * Must be written and read while holding btrfs_fs_info::commit_root_sem.
883 static inline u64 btrfs_get_fs_generation(const struct btrfs_fs_info *fs_info)
888 static inline void btrfs_set_fs_generation(struct btrfs_fs_info *fs_info, u64 gen)
893 static inline u64 btrfs_get_last_trans_committed(const struct btrfs_fs_info *fs_info)
898 static inline void btrfs_set_last_trans_committed(struct btrfs_fs_info *fs_info, u64 gen)
903 static inline void btrfs_set_last_root_drop_gen(struct btrfs_fs_info *fs_info,
909 static inline u64 btrfs_get_last_root_drop_gen(const struct btrfs_fs_info *fs_info)
919 const struct btrfs_fs_info *fs_info, u64 csum_bytes)
930 static inline u64 btrfs_calc_insert_metadata_size(const struct btrfs_fs_info *fs_info,
940 static inline u64 btrfs_calc_metadata_size(const struct btrfs_fs_info *fs_info,
949 static inline bool btrfs_is_zoned(const struct btrfs_fs_info *fs_info)
957 static inline u32 count_max_extents(struct btrfs_fs_info *fs_info, u64 size)
967 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
969 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info,
971 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info);
972 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
973 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info,
979 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag,
981 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag,
983 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag,
985 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag,
1018 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info)
1037 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info)
1043 static inline void btrfs_wake_unfinished_drop(struct btrfs_fs_info *fs_info)
1058 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info)
1069 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info)