Lines Matching refs:btrfs_fs_info
409 struct btrfs_fs_info { struct
898 static inline u64 btrfs_get_fs_generation(const struct btrfs_fs_info *fs_info) in btrfs_get_fs_generation() argument
903 static inline void btrfs_set_fs_generation(struct btrfs_fs_info *fs_info, u64 gen) in btrfs_set_fs_generation()
908 static inline u64 btrfs_get_last_trans_committed(const struct btrfs_fs_info *fs_info) in btrfs_get_last_trans_committed()
913 static inline void btrfs_set_last_trans_committed(struct btrfs_fs_info *fs_info, u64 gen) in btrfs_set_last_trans_committed()
918 static inline void btrfs_set_last_root_drop_gen(struct btrfs_fs_info *fs_info, in btrfs_set_last_root_drop_gen()
924 static inline u64 btrfs_get_last_root_drop_gen(const struct btrfs_fs_info *fs_info) in btrfs_get_last_root_drop_gen()
934 const struct btrfs_fs_info *fs_info, u64 csum_bytes) in btrfs_csum_bytes_to_leaves()
945 static inline u64 btrfs_calc_insert_metadata_size(const struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
955 static inline u64 btrfs_calc_metadata_size(const struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
966 static inline bool btrfs_is_zoned(const struct btrfs_fs_info *fs_info) in btrfs_is_zoned()
974 static inline u32 count_max_extents(const struct btrfs_fs_info *fs_info, u64 size) in count_max_extents()
984 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
986 bool btrfs_exclop_start_try_lock(struct btrfs_fs_info *fs_info,
988 void btrfs_exclop_start_unlock(struct btrfs_fs_info *fs_info);
989 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
990 void btrfs_exclop_balance(struct btrfs_fs_info *fs_info,
1007 void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag,
1009 void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag,
1011 void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag,
1013 void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag,
1046 static inline int btrfs_fs_closing(const struct btrfs_fs_info *fs_info) in btrfs_fs_closing()
1065 static inline int btrfs_need_cleaner_sleep(const struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep()
1071 static inline void btrfs_wake_unfinished_drop(struct btrfs_fs_info *fs_info) in btrfs_wake_unfinished_drop()
1094 static inline int btrfs_is_testing(const struct btrfs_fs_info *fs_info) in btrfs_is_testing()
1105 static inline int btrfs_is_testing(const struct btrfs_fs_info *fs_info) in btrfs_is_testing()