Lines Matching refs:btrfs_fs_info

498 void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info);
532 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
585 struct btrfs_fs_info { struct
977 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument
1063 struct btrfs_fs_info *fs_info;
1243 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE()
1251 static inline u32 BTRFS_MAX_ITEM_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_ITEM_SIZE()
1256 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info) in BTRFS_NODEPTRS_PER_BLOCK()
1263 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_INLINE_DATA_SIZE()
1269 static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_XATTR_SIZE()
2529 u64 btrfs_csum_bytes_to_leaves(struct btrfs_fs_info *fs_info, u64 csum_bytes);
2535 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
2545 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
2551 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info,
2556 void btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info,
2559 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);
2561 struct btrfs_fs_info *fs_info, u64 bytenr,
2600 int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info,
2608 int btrfs_extent_readonly(struct btrfs_fs_info *fs_info, u64 bytenr);
2609 void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
2678 int btrfs_error_unpin_extent_range(struct btrfs_fs_info *fs_info,
2680 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
2682 int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);
2684 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
2686 struct btrfs_fs_info *fs_info);
2700 void btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info,
2806 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing()
2824 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep()
2830 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
2832 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info,
2855 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
2867 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
2904 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info,
3012 int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, u64 nr,
3058 void btrfs_run_delayed_iputs(struct btrfs_fs_info *fs_info);
3059 int btrfs_wait_on_delayed_iputs(struct btrfs_fs_info *fs_info);
3087 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
3089 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
3091 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
3098 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info);
3099 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info);
3134 int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
3137 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
3141 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk()
3148 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
3313 static inline void btrfs_print_v0_err(struct btrfs_fs_info *fs_info) in btrfs_print_v0_err()
3321 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
3362 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function,
3381 static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_incompat()
3407 static inline void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_incompat()
3432 static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
3443 static inline void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_compat_ro()
3469 static inline void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_compat_ro()
3494 static inline int __btrfs_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_compat_ro()
3518 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start);
3532 int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info);
3533 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3538 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
3541 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
3542 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
3543 int btrfs_scrub_cancel(struct btrfs_fs_info *info);
3545 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
3555 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info);
3556 void btrfs_bio_counter_inc_noblocked(struct btrfs_fs_info *fs_info);
3557 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount);
3559 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info) in btrfs_bio_counter_dec()
3566 struct btrfs_fs_info *fs_info; /* tree to prefetch */
3590 static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info) in btrfs_defrag_cancelled()
3600 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()
3605 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()