Lines Matching refs:btrfs_fs_info

498 void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info);
527 bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr);
577 struct btrfs_fs_info { struct
969 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb() argument
1055 struct btrfs_fs_info *fs_info;
1235 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE()
1243 static inline u32 BTRFS_MAX_ITEM_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_ITEM_SIZE()
1248 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info) in BTRFS_NODEPTRS_PER_BLOCK()
1255 static inline u32 BTRFS_MAX_INLINE_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_INLINE_DATA_SIZE()
1261 static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info) in BTRFS_MAX_XATTR_SIZE()
2521 u64 btrfs_csum_bytes_to_leaves(struct btrfs_fs_info *fs_info, u64 csum_bytes);
2527 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
2537 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
2543 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info,
2548 void btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info,
2551 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);
2553 struct btrfs_fs_info *fs_info, u64 bytenr,
2592 int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info,
2596 void btrfs_prepare_extent_commit(struct btrfs_fs_info *fs_info);
2601 int btrfs_extent_readonly(struct btrfs_fs_info *fs_info, u64 bytenr);
2602 void btrfs_clear_space_info_full(struct btrfs_fs_info *info);
2671 int btrfs_error_unpin_extent_range(struct btrfs_fs_info *fs_info,
2673 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
2675 int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);
2677 int btrfs_init_space_info(struct btrfs_fs_info *fs_info);
2679 struct btrfs_fs_info *fs_info);
2693 void btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info,
2799 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing()
2817 static inline int btrfs_need_cleaner_sleep(struct btrfs_fs_info *fs_info) in btrfs_need_cleaner_sleep()
2823 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
2825 void btrfs_put_tree_mod_seq(struct btrfs_fs_info *fs_info,
2848 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
2860 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
2897 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_fs_info *fs_info,
3005 int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, u64 nr);
3050 void btrfs_run_delayed_iputs(struct btrfs_fs_info *fs_info);
3051 int btrfs_wait_on_delayed_iputs(struct btrfs_fs_info *fs_info);
3079 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
3081 bool btrfs_exclop_start(struct btrfs_fs_info *fs_info,
3083 void btrfs_exclop_finish(struct btrfs_fs_info *fs_info);
3090 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info);
3091 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info);
3126 int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
3129 char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
3133 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk()
3140 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
3305 static inline void btrfs_print_v0_err(struct btrfs_fs_info *fs_info) in btrfs_print_v0_err()
3313 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
3354 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function,
3373 static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_incompat()
3399 static inline void __btrfs_clear_fs_incompat(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_incompat()
3424 static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
3435 static inline void __btrfs_set_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_set_fs_compat_ro()
3461 static inline void __btrfs_clear_fs_compat_ro(struct btrfs_fs_info *fs_info, in __btrfs_clear_fs_compat_ro()
3486 static inline int __btrfs_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_compat_ro()
3510 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start);
3524 int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info);
3525 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3530 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
3533 void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
3534 void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
3535 int btrfs_scrub_cancel(struct btrfs_fs_info *info);
3537 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
3547 void btrfs_bio_counter_inc_blocked(struct btrfs_fs_info *fs_info);
3548 void btrfs_bio_counter_inc_noblocked(struct btrfs_fs_info *fs_info);
3549 void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount);
3551 static inline void btrfs_bio_counter_dec(struct btrfs_fs_info *fs_info) in btrfs_bio_counter_dec()
3558 struct btrfs_fs_info *fs_info; /* tree to prefetch */
3582 static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info) in btrfs_defrag_cancelled()
3592 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()
3597 static inline int btrfs_is_testing(struct btrfs_fs_info *fs_info) in btrfs_is_testing()