| /linux/fs/btrfs/ |
| H A D | disk-io.c | 69 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 156 int btrfs_check_super_csum(struct btrfs_fs_info *fs_info, in btrfs_check_super_csum() argument 178 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_repair_eb_io_failure() local 217 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_read_extent_buffer() local 261 struct btrfs_fs_info *fs_info = eb->fs_info; btree_csum_one_bio() local 333 struct btrfs_fs_info *fs_info = eb->fs_info; check_tree_block_fsid() local 360 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_validate_extent_buffer() local 511 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); btree_dirty_folio() local 568 btrfs_find_create_tree_block(struct btrfs_fs_info * fs_info,u64 bytenr,u64 owner_root,int level) btrfs_find_create_tree_block() argument 584 read_tree_block(struct btrfs_fs_info * fs_info,u64 bytenr,struct btrfs_tree_parent_check * check) read_tree_block() argument 606 btrfs_alloc_root(struct btrfs_fs_info * fs_info,u64 objectid,gfp_t flags) btrfs_alloc_root() argument 674 btrfs_alloc_dummy_root(struct btrfs_fs_info * fs_info) btrfs_alloc_dummy_root() argument 710 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_global_root_insert() local 728 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_global_root_delete() local 735 btrfs_global_root(struct btrfs_fs_info * fs_info,const struct btrfs_key * key) btrfs_global_root() argument 750 btrfs_global_root_id(struct btrfs_fs_info * fs_info,u64 bytenr) btrfs_global_root_id() argument 771 btrfs_csum_root(struct btrfs_fs_info * fs_info,u64 bytenr) btrfs_csum_root() argument 782 btrfs_extent_root(struct btrfs_fs_info * fs_info,u64 bytenr) btrfs_extent_root() argument 796 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_create_tree() local 860 alloc_log_tree(struct btrfs_fs_info * fs_info) alloc_log_tree() argument 904 btrfs_init_log_root_tree(struct btrfs_trans_handle * trans,struct btrfs_fs_info * fs_info) btrfs_init_log_root_tree() argument 929 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_add_log_tree() local 971 struct btrfs_fs_info *fs_info = tree_root->fs_info; read_tree_root_path() local 1094 btrfs_lookup_fs_root(struct btrfs_fs_info * fs_info,u64 root_id) btrfs_lookup_fs_root() argument 1107 btrfs_get_global_root(struct btrfs_fs_info * fs_info,u64 objectid) btrfs_get_global_root() argument 1144 btrfs_insert_fs_root(struct btrfs_fs_info * fs_info,struct btrfs_root * root) btrfs_insert_fs_root() argument 1167 btrfs_check_leaked_roots(const struct btrfs_fs_info * fs_info) btrfs_check_leaked_roots() argument 1188 free_global_roots(struct btrfs_fs_info * fs_info) free_global_roots() argument 1200 btrfs_free_fs_info(struct btrfs_fs_info * fs_info) btrfs_free_fs_info() argument 1255 btrfs_get_root_ref(struct btrfs_fs_info * fs_info,u64 objectid,dev_t * anon_dev,bool check_ref) btrfs_get_root_ref() argument 1359 btrfs_get_fs_root(struct btrfs_fs_info * fs_info,u64 objectid,bool check_ref) btrfs_get_fs_root() argument 1373 btrfs_get_new_fs_root(struct btrfs_fs_info * fs_info,u64 objectid,dev_t * anon_dev) btrfs_get_new_fs_root() argument 1394 btrfs_get_fs_root_commit_root(struct btrfs_fs_info * fs_info,struct btrfs_path * path,u64 objectid) btrfs_get_fs_root_commit_root() argument 1428 struct btrfs_fs_info *fs_info = arg; cleaner_kthread() local 1510 struct btrfs_fs_info *fs_info = root->fs_info; transaction_kthread() local 1701 read_backup_root(struct btrfs_fs_info * fs_info,u8 priority) read_backup_root() argument 1737 btrfs_stop_all_workers(struct btrfs_fs_info * fs_info) btrfs_stop_all_workers() argument 1773 free_global_root_pointers(struct btrfs_fs_info * fs_info) free_global_root_pointers() argument 1824 btrfs_free_fs_roots(struct btrfs_fs_info * fs_info) btrfs_free_fs_roots() argument 1851 btrfs_init_scrub(struct btrfs_fs_info * fs_info) btrfs_init_scrub() argument 1862 btrfs_init_balance(struct btrfs_fs_info * fs_info) btrfs_init_balance() argument 1875 struct btrfs_fs_info *fs_info = btrfs_sb(sb); btrfs_init_btree_inode() local 1908 btrfs_init_dev_replace_locks(struct btrfs_fs_info * fs_info) btrfs_init_dev_replace_locks() argument 1915 btrfs_init_qgroup(struct btrfs_fs_info * fs_info) btrfs_init_qgroup() argument 1927 btrfs_init_workqueues(struct btrfs_fs_info * fs_info) btrfs_init_workqueues() argument 1984 btrfs_init_csum_hash(struct btrfs_fs_info * fs_info,u16 csum_type) btrfs_init_csum_hash() argument 2003 btrfs_replay_log(struct btrfs_fs_info * fs_info,struct btrfs_fs_devices * fs_devices) btrfs_replay_log() argument 2057 struct btrfs_fs_info *fs_info = tree_root->fs_info; load_global_roots_objectid() local 2159 btrfs_read_roots(struct btrfs_fs_info * fs_info) btrfs_read_roots() argument 2286 validate_sys_chunk_array(const struct btrfs_fs_info * fs_info,const struct btrfs_super_block * sb) validate_sys_chunk_array() argument 2370 btrfs_validate_super(const struct btrfs_fs_info * fs_info,const struct btrfs_super_block * sb,int mirror_num) btrfs_validate_super() argument 2578 btrfs_validate_mount_super(struct btrfs_fs_info * fs_info) btrfs_validate_mount_super() argument 2589 btrfs_validate_write_super(struct btrfs_fs_info * fs_info,struct btrfs_super_block * sb) btrfs_validate_write_super() argument 2640 load_important_roots(struct btrfs_fs_info * fs_info) load_important_roots() argument 2669 init_tree_roots(struct btrfs_fs_info * fs_info) init_tree_roots() argument 2751 btrfs_init_fs_info(struct btrfs_fs_info * fs_info) btrfs_init_fs_info() argument 2896 init_mount_fs_info(struct btrfs_fs_info * fs_info,struct super_block * sb) init_mount_fs_info() argument 2945 struct btrfs_fs_info *fs_info = data; btrfs_uuid_rescan_kthread() local 2964 btrfs_check_uuid_tree(struct btrfs_fs_info * fs_info) btrfs_check_uuid_tree() argument 2979 btrfs_cleanup_fs_roots(struct btrfs_fs_info * fs_info) btrfs_cleanup_fs_roots() argument 3034 btrfs_start_pre_rw_mount(struct btrfs_fs_info * fs_info) btrfs_start_pre_rw_mount() argument 3177 btrfs_check_features(struct btrfs_fs_info * fs_info,bool is_rw_mount) btrfs_check_features() argument 3270 fs_is_full_ro(const struct btrfs_fs_info * fs_info) fs_is_full_ro() argument 3287 struct btrfs_fs_info *fs_info = btrfs_sb(sb); open_ctree() local 3763 struct btrfs_fs_info *fs_info = device->fs_info; write_dev_supers() local 4026 struct btrfs_fs_info *fs_info = trans->fs_info; write_all_supers() local 4139 btrfs_drop_and_free_fs_root(struct btrfs_fs_info * fs_info,struct btrfs_root * root) btrfs_drop_and_free_fs_root() argument 4163 btrfs_commit_super(struct btrfs_fs_info * fs_info) btrfs_commit_super() argument 4177 warn_about_uncommitted_trans(struct btrfs_fs_info * fs_info) warn_about_uncommitted_trans() argument 4217 close_ctree(struct btrfs_fs_info * fs_info) close_ctree() argument 4468 struct btrfs_fs_info *fs_info = buf->fs_info; btrfs_mark_buffer_dirty() local 4492 __btrfs_btree_balance_dirty(struct btrfs_fs_info * fs_info,int flush_delayed) __btrfs_btree_balance_dirty() argument 4515 btrfs_btree_balance_dirty(struct btrfs_fs_info * fs_info) btrfs_btree_balance_dirty() argument 4520 btrfs_btree_balance_dirty_nodelay(struct btrfs_fs_info * fs_info) btrfs_btree_balance_dirty_nodelay() argument 4525 btrfs_error_commit_super(struct btrfs_fs_info * fs_info) btrfs_error_commit_super() argument 4534 btrfs_drop_all_logs(struct btrfs_fs_info * fs_info) btrfs_drop_all_logs() argument 4579 btrfs_destroy_all_ordered_extents(struct btrfs_fs_info * fs_info) btrfs_destroy_all_ordered_extents() argument 4642 btrfs_destroy_all_delalloc_inodes(struct btrfs_fs_info * fs_info) btrfs_destroy_all_delalloc_inodes() argument 4664 btrfs_destroy_marked_extents(struct btrfs_fs_info * fs_info,struct extent_io_tree * dirty_pages,int mark) btrfs_destroy_marked_extents() argument 4692 btrfs_destroy_pinned_extent(struct btrfs_fs_info * fs_info,struct extent_io_tree * unpin) btrfs_destroy_pinned_extent() argument 4743 btrfs_cleanup_dirty_bgs(struct btrfs_transaction * cur_trans,struct btrfs_fs_info * fs_info) btrfs_cleanup_dirty_bgs() argument 4789 btrfs_free_all_qgroup_pertrans(struct btrfs_fs_info * fs_info) btrfs_free_all_qgroup_pertrans() argument 4817 struct btrfs_fs_info *fs_info = cur_trans->fs_info; btrfs_cleanup_one_transaction() local 4845 btrfs_cleanup_transaction(struct btrfs_fs_info * fs_info) btrfs_cleanup_transaction() argument [all...] |
| H A D | messages.h | 18 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() 31 #define btrfs_printk_in_rcu(fs_info, level, fmt, args...) \ argument 34 #define btrfs_printk_rl_in_rcu(fs_info, level, fmt, args...) \ argument 42 #define btrfs_crit(fs_info, fmt, args...) \ argument 44 #define btrfs_err(fs_info, fmt, args...) \ argument 46 #define btrfs_warn(fs_info, fmt, args...) \ argument 48 #define btrfs_info(fs_info, fmt, args...) \ argument 54 #define btrfs_crit_rl(fs_info, fmt, args...) \ argument 56 #define btrfs_err_rl(fs_info, fmt, args...) \ argument 58 #define btrfs_warn_rl(fs_info, fmt, args...) \ argument [all …]
|
| H A D | transaction.c | 183 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 257 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_trans_release_chunk_metadata() local 270 join_transaction(struct btrfs_fs_info * fs_info,unsigned int type) join_transaction() argument 412 struct btrfs_fs_info *fs_info = root->fs_info; record_root_in_trans() local 472 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_add_dropped_root() local 491 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_record_root_in_trans() local 524 wait_current_trans(struct btrfs_fs_info * fs_info,unsigned int type) wait_current_trans() argument 545 may_wait_transaction(struct btrfs_fs_info * fs_info,int type) may_wait_transaction() argument 558 struct btrfs_fs_info *fs_info = root->fs_info; need_reserve_reloc_root() local 569 btrfs_reserve_trans_metadata(struct btrfs_fs_info * fs_info,enum btrfs_reserve_flush_enum flush,u64 num_bytes,u64 * delayed_refs_bytes) btrfs_reserve_trans_metadata() argument 603 struct btrfs_fs_info *fs_info = root->fs_info; start_transaction() local 915 struct btrfs_fs_info *fs_info = commit->fs_info; wait_for_commit() local 957 btrfs_wait_for_commit(struct btrfs_fs_info * fs_info,u64 transid) btrfs_wait_for_commit() argument 1017 btrfs_throttle(struct btrfs_fs_info * fs_info) btrfs_throttle() argument 1039 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_trans_release_metadata() local 1150 btrfs_write_marked_extents(struct btrfs_fs_info * fs_info,struct extent_io_tree * dirty_pages,int mark) btrfs_write_marked_extents() argument 1203 __btrfs_wait_marked_extents(struct btrfs_fs_info * fs_info,struct extent_io_tree * dirty_pages) __btrfs_wait_marked_extents() argument 1237 btrfs_wait_extents(struct btrfs_fs_info * fs_info,struct extent_io_tree * dirty_pages) btrfs_wait_extents() argument 1254 struct btrfs_fs_info *fs_info = log_root->fs_info; btrfs_wait_tree_log_extents() local 1288 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_write_and_wait_transaction() local 1321 struct btrfs_fs_info *fs_info = root->fs_info; update_cowonly_root() local 1354 struct btrfs_fs_info *fs_info = trans->fs_info; commit_cowonly_roots() local 1440 btrfs_maybe_wake_unfinished_drop(struct btrfs_fs_info * fs_info) btrfs_maybe_wake_unfinished_drop() argument 1469 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_add_dead_root() local 1490 struct btrfs_fs_info *fs_info = trans->fs_info; commit_fs_roots() local 1575 struct btrfs_fs_info *fs_info = src->fs_info; qgroup_account_snapshot() local 1670 struct btrfs_fs_info *fs_info = trans->fs_info; create_pending_snapshot() local 1971 update_super_roots(struct btrfs_fs_info * fs_info) update_super_roots() argument 2017 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_commit_transaction_async() local 2062 struct btrfs_fs_info *fs_info = trans->fs_info; cleanup_transaction() local 2146 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_cleanup_pending_block_groups() local 2162 btrfs_start_delalloc_flush(struct btrfs_fs_info * fs_info) btrfs_start_delalloc_flush() argument 2186 btrfs_wait_delalloc_flush(struct btrfs_fs_info * fs_info) btrfs_wait_delalloc_flush() argument 2214 update_commit_stats(struct btrfs_fs_info * fs_info) update_commit_stats() argument 2231 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_commit_transaction() local 2684 btrfs_clean_one_deleted_snapshot(struct btrfs_fs_info * fs_info) btrfs_clean_one_deleted_snapshot() argument 2730 struct btrfs_fs_info *fs_info = trans->fs_info; __btrfs_abort_transaction() local [all...] |
| H A D | qgroup.c | 33 enum btrfs_qgroup_mode btrfs_qgroup_mode(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_mode() argument 42 bool btrfs_qgroup_enabled(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_enabled() argument 47 bool btrfs_qgroup_full_accounting(const struct btrfs_fs_info *fs_info) in btrfs_qgroup_full_accounting() argument 82 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() argument 90 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() argument 108 qgroup_rsv_add_by_qgroup(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * dest,const struct btrfs_qgroup * src) qgroup_rsv_add_by_qgroup() argument 118 qgroup_rsv_release_by_qgroup(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * dest,const struct btrfs_qgroup * src) qgroup_rsv_release_by_qgroup() argument 177 find_qgroup_rb(const struct btrfs_fs_info * fs_info,u64 qgroupid) find_qgroup_rb() argument 201 add_qgroup_rb(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * prealloc,u64 qgroupid) add_qgroup_rb() argument 249 del_qgroup_rb(struct btrfs_fs_info * fs_info,u64 qgroupid) del_qgroup_rb() argument 297 add_relation_rb(struct btrfs_fs_info * fs_info,struct btrfs_qgroup_list * prealloc,u64 memberid,u64 parentid) add_relation_rb() argument 311 del_relation_rb(struct btrfs_fs_info * fs_info,u64 memberid,u64 parentid) del_relation_rb() argument 335 btrfs_verify_qgroup_counts(const struct btrfs_fs_info * fs_info,u64 qgroupid,u64 rfer,u64 excl) btrfs_verify_qgroup_counts() argument 349 squota_check_parent_usage(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * parent) squota_check_parent_usage() argument 386 qgroup_mark_inconsistent(struct btrfs_fs_info * fs_info,const char * fmt,...) qgroup_mark_inconsistent() argument 408 qgroup_read_enable_gen(struct btrfs_fs_info * fs_info,struct extent_buffer * leaf,int slot,struct btrfs_qgroup_status_item * ptr) qgroup_read_enable_gen() argument 421 btrfs_read_qgroup_config(struct btrfs_fs_info * fs_info) btrfs_read_qgroup_config() argument 634 btrfs_check_quota_leak(const struct btrfs_fs_info * fs_info) btrfs_check_quota_leak() argument 669 btrfs_free_qgroup_config(struct btrfs_fs_info * fs_info) btrfs_free_qgroup_config() argument 878 struct btrfs_fs_info *fs_info = trans->fs_info; update_qgroup_info_item() local 919 struct btrfs_fs_info *fs_info = trans->fs_info; update_qgroup_status_item() local 999 btrfs_quota_enable(struct btrfs_fs_info * fs_info,struct btrfs_ioctl_quota_ctl_args * quota_ctl_args) btrfs_quota_enable() argument 1322 flush_reservations(struct btrfs_fs_info * fs_info) flush_reservations() argument 1334 btrfs_quota_disable(struct btrfs_fs_info * fs_info) btrfs_quota_disable() argument 1450 qgroup_dirty(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * qgroup) qgroup_dirty() argument 1489 __qgroup_excl_accounting(struct btrfs_fs_info * fs_info,u64 ref_root,struct btrfs_qgroup * src,int sign) __qgroup_excl_accounting() argument 1542 quick_update_accounting(struct btrfs_fs_info * fs_info,u64 src,u64 dst,int sign) quick_update_accounting() argument 1570 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_add_qgroup_relation() local 1633 struct btrfs_fs_info *fs_info = trans->fs_info; __del_qgroup_relation() local 1688 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_del_qgroup_relation() local 1700 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_create_qgroup() local 1740 can_delete_parent_qgroup(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * qgroup) can_delete_parent_qgroup() argument 1753 can_delete_squota_subvol_qgroup(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * qgroup) can_delete_squota_subvol_qgroup() argument 1767 can_delete_qgroup(struct btrfs_fs_info * fs_info,struct btrfs_qgroup * qgroup) can_delete_qgroup() argument 1810 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_remove_qgroup() local 1908 btrfs_qgroup_cleanup_dropped_subvolume(struct btrfs_fs_info * fs_info,u64 subvolid) btrfs_qgroup_cleanup_dropped_subvolume() argument 1946 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_limit_qgroup() local 2028 btrfs_qgroup_trace_extent_nolock(struct btrfs_fs_info * fs_info,struct btrfs_delayed_ref_root * delayed_refs,struct btrfs_qgroup_extent_record * record,u64 bytenr) btrfs_qgroup_trace_extent_nolock() argument 2097 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_trace_extent_post() local 2164 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_trace_extent() local 2202 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_trace_leaf_items() local 2355 struct btrfs_fs_info *fs_info = trans->fs_info; qgroup_trace_extent_swap() local 2472 struct btrfs_fs_info *fs_info = trans->fs_info; qgroup_trace_new_subtree_blocks() local 2572 struct btrfs_fs_info *fs_info = trans->fs_info; qgroup_trace_subtree_swap() local 2634 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_trace_subtree() local 2768 qgroup_update_refcnt(struct btrfs_fs_info * fs_info,struct ulist * roots,struct list_head * qgroups,u64 seq,bool update_old) qgroup_update_refcnt() argument 2841 qgroup_update_counters(struct btrfs_fs_info * fs_info,struct list_head * qgroups,u64 nr_old_roots,u64 nr_new_roots,u64 num_bytes,u64 seq) qgroup_update_counters() argument 2956 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_account_extent() local 3031 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_account_extents() local 3127 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_run_qgroups() local 3172 btrfs_qgroup_check_inherit(struct btrfs_fs_info * fs_info,struct btrfs_qgroup_inherit * inherit,size_t size) btrfs_qgroup_check_inherit() argument 3228 qgroup_auto_inherit(struct btrfs_fs_info * fs_info,u64 inode_rootid,struct btrfs_qgroup_inherit ** inherit) qgroup_auto_inherit() argument 3278 qgroup_snapshot_quick_inherit(struct btrfs_fs_info * fs_info,u64 srcid,u64 parentid) qgroup_snapshot_quick_inherit() argument 3355 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_qgroup_inherit() local 3620 struct btrfs_fs_info *fs_info = root->fs_info; qgroup_reserve() local 3678 btrfs_qgroup_free_refroot(struct btrfs_fs_info * fs_info,u64 ref_root,u64 num_bytes,enum btrfs_qgroup_rsv_type type) btrfs_qgroup_free_refroot() argument 3747 struct btrfs_fs_info *fs_info = trans->fs_info; qgroup_rescan_leaf() local 3843 rescan_should_stop(struct btrfs_fs_info * fs_info) rescan_should_stop() argument 3858 struct btrfs_fs_info *fs_info = container_of(work, struct btrfs_fs_info, btrfs_qgroup_rescan_worker() local 3968 qgroup_rescan_init(struct btrfs_fs_info * fs_info,u64 progress_objectid,int init_flags) qgroup_rescan_init() argument 4032 qgroup_rescan_zero_tracking(struct btrfs_fs_info * fs_info) qgroup_rescan_zero_tracking() argument 4051 btrfs_qgroup_rescan(struct btrfs_fs_info * fs_info) btrfs_qgroup_rescan() argument 4096 btrfs_qgroup_wait_for_completion(struct btrfs_fs_info * fs_info,bool interruptible) btrfs_qgroup_wait_for_completion() argument 4123 btrfs_qgroup_rescan_resume(struct btrfs_fs_info * fs_info) btrfs_qgroup_rescan_resume() argument 4517 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_qgroup_reserve_meta() local 4564 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_qgroup_free_meta_all_pertrans() local 4579 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_qgroup_free_meta_prealloc() local 4599 qgroup_convert_meta(struct btrfs_fs_info * fs_info,u64 ref_root,int num_bytes) qgroup_convert_meta() argument 4641 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_qgroup_convert_reserved_meta() local 4767 struct btrfs_fs_info *fs_info = subvol_root->fs_info; btrfs_qgroup_add_swapped_blocks() local 4858 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_qgroup_trace_subtree_after_cow() local 4936 btrfs_record_squota_delta(struct btrfs_fs_info * fs_info,const struct btrfs_squota_delta * delta) btrfs_record_squota_delta() argument [all...] |
| H A D | block-group.c | 56 struct btrfs_fs_info *fs_info = block_group->fs_info; in get_restripe_target() argument 28 struct btrfs_fs_info *fs_info = block_group->fs_info; btrfs_should_fragment_free_space() local 85 btrfs_reduce_alloc_profile(struct btrfs_fs_info * fs_info,u64 flags) btrfs_reduce_alloc_profile() argument 134 btrfs_get_alloc_profile(struct btrfs_fs_info * fs_info,u64 orig_flags) btrfs_get_alloc_profile() argument 209 struct btrfs_fs_info *fs_info = block_group->fs_info; btrfs_add_block_group_cache() local 288 struct btrfs_fs_info *fs_info = cache->fs_info; btrfs_next_block_group() local 327 btrfs_inc_nocow_writers(struct btrfs_fs_info * fs_info,u64 bytenr) btrfs_inc_nocow_writers() argument 378 btrfs_dec_block_group_reservations(struct btrfs_fs_info * fs_info,const u64 start) btrfs_dec_block_group_reservations() argument 499 struct btrfs_fs_info *fs_info = block_group->fs_info; fragment_free_space() local 596 struct btrfs_fs_info *fs_info = block_group->fs_info; sample_block_group_extent_item() local 680 struct btrfs_fs_info *fs_info = block_group->fs_info; load_block_group_size_class() local 725 struct btrfs_fs_info *fs_info = block_group->fs_info; load_extent_tree_free() local 867 struct btrfs_fs_info *fs_info; caching_thread() local 940 struct btrfs_fs_info *fs_info = cache->fs_info; btrfs_cache_block_group() local 999 clear_avail_alloc_bits(struct btrfs_fs_info * fs_info,u64 flags) clear_avail_alloc_bits() argument 1022 clear_incompat_bg_bits(struct btrfs_fs_info * fs_info,u64 flags) clear_incompat_bg_bits() argument 1052 btrfs_block_group_root(struct btrfs_fs_info * fs_info) btrfs_block_group_root() argument 1063 struct btrfs_fs_info *fs_info = trans->fs_info; remove_block_group_item() local 1108 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_remove_block_group() local 1356 btrfs_start_trans_remove_block_group(struct btrfs_fs_info * fs_info,const u64 chunk_offset) btrfs_start_trans_remove_block_group() argument 1482 struct btrfs_fs_info *fs_info = trans->fs_info; clean_pinned_extents() local 1536 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_link_bg_list() local 1553 btrfs_delete_unused_bgs(struct btrfs_fs_info * fs_info) btrfs_delete_unused_bgs() argument 1838 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_mark_bg_unused() local 1878 btrfs_should_reclaim(const struct btrfs_fs_info * fs_info) btrfs_should_reclaim() argument 1914 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_reclaim_block_group() local 2045 btrfs_reclaim_block_groups(struct btrfs_fs_info * fs_info,unsigned int limit) btrfs_reclaim_block_groups() argument 2119 struct btrfs_fs_info *fs_info = btrfs_reclaim_bgs_work() local 2125 btrfs_reclaim_bgs(struct btrfs_fs_info * fs_info) btrfs_reclaim_bgs() argument 2136 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_mark_bg_to_reclaim() local 2142 read_bg_from_eb(struct btrfs_fs_info * fs_info,const struct btrfs_key * key,const struct btrfs_path * path) read_bg_from_eb() argument 2189 find_first_block_group(struct btrfs_fs_info * fs_info,struct btrfs_path * path,const struct btrfs_key * key) find_first_block_group() argument 2211 set_avail_alloc_bits(struct btrfs_fs_info * fs_info,u64 flags) set_avail_alloc_bits() argument 2240 btrfs_rmap_block(struct btrfs_fs_info * fs_info,u64 chunk_start,u64 physical,u64 ** logical,int * naddrs,int * stripe_len) btrfs_rmap_block() argument 2317 struct btrfs_fs_info *fs_info = cache->fs_info; exclude_super_stripes() local 2370 btrfs_create_block_group(struct btrfs_fs_info * fs_info,u64 start) btrfs_create_block_group() argument 2413 check_chunk_block_group_mappings(struct btrfs_fs_info * fs_info) check_chunk_block_group_mappings() argument 2581 fill_dummy_bgs(struct btrfs_fs_info * fs_info) fill_dummy_bgs() argument 2760 struct btrfs_fs_info *fs_info = trans->fs_info; insert_block_group_item() local 2808 struct btrfs_fs_info *fs_info = device->fs_info; insert_dev_extent() local 2849 struct btrfs_fs_info *fs_info = trans->fs_info; insert_dev_extents() local 2894 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_create_pending_block_groups() local 2983 calculate_global_root_id(const struct btrfs_fs_info * fs_info,u64 offset) calculate_global_root_id() argument 3004 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_make_block_group() local 3100 struct btrfs_fs_info *fs_info = cache->fs_info; btrfs_inc_block_group_ro() local 3245 struct btrfs_fs_info *fs_info = trans->fs_info; update_block_group_item() local 3343 struct btrfs_fs_info *fs_info = block_group->fs_info; cache_save_setup() local 3507 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_setup_space_cache() local 3544 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_start_dirty_block_groups() local 3709 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_write_dirty_block_groups() local 4060 should_alloc_chunk(const struct btrfs_fs_info * fs_info,const struct btrfs_space_info * sinfo,int force) should_alloc_chunk() argument 4317 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_chunk_alloc() local 4452 get_profile_num_devs(const struct btrfs_fs_info * fs_info,u64 type) get_profile_num_devs() argument 4467 struct btrfs_fs_info *fs_info = trans->fs_info; reserve_chunk_space() local 4544 struct btrfs_fs_info *fs_info = trans->fs_info; check_system_chunk() local 4574 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_reserve_chunk_metadata() local 4769 struct btrfs_fs_info *fs_info = block_group->fs_info; btrfs_unfreeze_block_group() local 4895 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_mark_bg_fully_remapped() local 4931 btrfs_populate_fully_remapped_bgs_list(struct btrfs_fs_info * fs_info) btrfs_populate_fully_remapped_bgs_list() argument [all...] |
| H A D | space-info.c | 220 static u64 calc_chunk_size(const struct btrfs_fs_info *fs_info, u64 flags) in calc_chunk_size() argument 272 struct btrfs_fs_info *fs_info = parent->fs_info; in create_space_info_sub_group() local 336 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() argument 430 calc_effective_data_chunk_size(const struct btrfs_fs_info * fs_info) calc_effective_data_chunk_size() argument 455 struct btrfs_fs_info *fs_info = space_info->fs_info; calc_available_free_space() local 626 DUMP_BLOCK_RSV(fs_info,rsv_name) global() argument 635 dump_global_block_rsv(struct btrfs_fs_info * fs_info) dump_global_block_rsv() argument 647 const struct btrfs_fs_info *fs_info = info->fs_info; __btrfs_dump_space_info() local 667 struct btrfs_fs_info *fs_info = info->fs_info; btrfs_dump_space_info() local 704 calc_reclaim_items_nr(const struct btrfs_fs_info * fs_info,u64 to_reclaim) calc_reclaim_items_nr() argument 724 struct btrfs_fs_info *fs_info = space_info->fs_info; shrink_delalloc() local 854 struct btrfs_fs_info *fs_info = space_info->fs_info; flush_space() local 987 struct btrfs_fs_info *fs_info = space_info->fs_info; need_preemptive_reclaim() local 1099 struct btrfs_fs_info *fs_info = space_info->fs_info; steal_from_global_rsv() local 1145 struct btrfs_fs_info *fs_info = space_info->fs_info; maybe_fail_all_tickets() local 1187 struct btrfs_fs_info *fs_info = space_info->fs_info; do_async_reclaim_metadata_space() local 1273 struct btrfs_fs_info *fs_info; btrfs_async_reclaim_metadata_space() local 1295 struct btrfs_fs_info *fs_info; btrfs_preempt_reclaim_metadata_space() local 1434 struct btrfs_fs_info *fs_info = space_info->fs_info; do_async_reclaim_data_space() local 1507 struct btrfs_fs_info *fs_info; btrfs_async_reclaim_data_space() local 1518 btrfs_init_async_reclaim_work(struct btrfs_fs_info * fs_info) btrfs_init_async_reclaim_work() argument 1562 struct btrfs_fs_info *fs_info = space_info->fs_info; priority_reclaim_metadata_space() local 1735 struct btrfs_fs_info *fs_info = space_info->fs_info; maybe_clamp_preempt() local 1784 struct btrfs_fs_info *fs_info = space_info->fs_info; reserve_bytes() local 1935 struct btrfs_fs_info *fs_info = space_info->fs_info; btrfs_reserve_metadata_bytes() local 1959 struct btrfs_fs_info *fs_info = space_info->fs_info; btrfs_reserve_data_bytes() local 1980 btrfs_dump_space_info_for_trans_abort(struct btrfs_fs_info * fs_info) btrfs_dump_space_info_for_trans_abort() argument 2053 calc_unalloc_target(struct btrfs_fs_info * fs_info) calc_unalloc_target() argument 2085 struct btrfs_fs_info *fs_info = space_info->fs_info; calc_dynamic_reclaim_threshold() local 2118 struct btrfs_fs_info *fs_info = space_info->fs_info; is_reclaim_urgent() local 2213 btrfs_reclaim_sweep(const struct btrfs_fs_info * fs_info) btrfs_reclaim_sweep() argument 2233 struct btrfs_fs_info *fs_info = space_info->fs_info; btrfs_return_free_space() local [all...] |
| H A D | ref-verify.h | 26 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() 32 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() 37 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() 41 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod() 47 static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, in btrfs_free_ref_tree_range() 52 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify()
|
| H A D | sysfs.c | 121 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() 133 static void set_features(struct btrfs_fs_info *fs_info, in set_features() 179 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 195 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 262 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_visible() local 475 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_bytes_show() local 486 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discardable_extents_show() local 497 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bitmap_bytes_show() local 508 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_bytes_saved_show() local 519 struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj); in btrfs_discard_extent_bytes_show() local [all …]
|
| H A D | scrub.c | 196 struct btrfs_fs_info *fs_info; member 354 static int init_scrub_stripe(struct btrfs_fs_info *fs_info, in init_scrub_stripe() argument 398 __scrub_blocked_if_needed(struct btrfs_fs_info * fs_info) __scrub_blocked_if_needed() argument 408 scrub_pause_on(struct btrfs_fs_info * fs_info) scrub_pause_on() argument 414 scrub_pause_off(struct btrfs_fs_info * fs_info) scrub_pause_off() argument 424 scrub_blocked_if_needed(struct btrfs_fs_info * fs_info) scrub_blocked_if_needed() argument 450 scrub_setup_ctx(struct btrfs_fs_info * fs_info,bool is_dev_replace) scrub_setup_ctx() argument 505 struct btrfs_fs_info *fs_info = swarn->dev->fs_info; scrub_print_warning_inode() local 586 struct btrfs_fs_info *fs_info = dev->fs_info; scrub_print_common_warning() local 686 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_stripe_get_kaddr() local 699 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_stripe_get_paddr() local 714 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_verify_one_metadata() local 800 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_verify_one_sector() local 861 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_verify_one_stripe() local 893 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_repair_read_endio() local 922 struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info; scrub_bio_add_sector() local 939 alloc_scrub_bbio(struct btrfs_fs_info * fs_info,unsigned int nr_vecs,blk_opf_t opf,u64 logical,btrfs_bio_end_io_t end_io,void * private) alloc_scrub_bbio() argument 956 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_stripe_submit_repair_read() local 999 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_stripe_report_errors() local 1157 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_stripe_read_repair_worker() local 1271 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_write_endio() local 1296 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_submit_write_bio() local 1337 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_write_sectors() local 1467 struct btrfs_fs_info *fs_info = path->nodes[0]->fs_info; compare_extent_item_range() local 1506 struct btrfs_fs_info *fs_info = extent_root->fs_info; find_first_extent_item() local 1592 struct btrfs_fs_info *fs_info = sctx->fs_info; sync_write_pointer_for_zoned() local 1612 fill_one_extent_info(struct btrfs_fs_info * fs_info,struct scrub_stripe * stripe,u64 extent_start,u64 extent_len,u64 extent_flags,u64 extent_gen) fill_one_extent_info() argument 1655 struct btrfs_fs_info *fs_info = bg->fs_info; scrub_find_fill_first_stripe() local 1789 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; scrub_submit_extent_sector_read() local 1869 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_submit_initial_read() local 1914 struct btrfs_fs_info *fs_info = stripe->bg->fs_info; stripe_has_metadata_error() local 1950 struct btrfs_fs_info *fs_info = sctx->fs_info; flush_scrub_stripes() local 2072 struct btrfs_fs_info *fs_info = sctx->fs_info; should_cancel_scrub() local 2109 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_raid56_cached_parity() local 2158 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_raid56_parity_stripe() local 2301 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_simple_mirror() local 2430 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_stripe() local 2592 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_chunk() local 2632 struct btrfs_fs_info *fs_info = cache->fs_info; finish_extent_writes_for_zoned() local 2650 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_enumerate_chunks() local 2941 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_one_super() local 2975 struct btrfs_fs_info *fs_info = sctx->fs_info; scrub_supers() local 3023 scrub_workers_put(struct btrfs_fs_info * fs_info) scrub_workers_put() argument 3040 scrub_workers_get(struct btrfs_fs_info * fs_info) scrub_workers_get() argument 3072 btrfs_scrub_dev(struct btrfs_fs_info * fs_info,u64 devid,u64 start,u64 end,struct btrfs_scrub_progress * progress,bool readonly,bool is_dev_replace) btrfs_scrub_dev() argument 3249 btrfs_scrub_pause(struct btrfs_fs_info * fs_info) btrfs_scrub_pause() argument 3264 btrfs_scrub_continue(struct btrfs_fs_info * fs_info) btrfs_scrub_continue() argument 3270 btrfs_scrub_cancel(struct btrfs_fs_info * fs_info) btrfs_scrub_cancel() argument 3293 struct btrfs_fs_info *fs_info = dev->fs_info; btrfs_scrub_cancel_dev() local 3314 btrfs_scrub_progress(struct btrfs_fs_info * fs_info,u64 devid,struct btrfs_scrub_progress * progress) btrfs_scrub_progress() argument [all...] |
| H A D | volumes.c | 1812 struct btrfs_fs_info *fs_info = device->fs_info; find_free_dev_extent() local 1953 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_free_dev_extent() local 2001 find_next_chunk(struct btrfs_fs_info * fs_info) find_next_chunk() argument 2019 find_next_devid(struct btrfs_fs_info * fs_info,u64 * devid_ret) find_next_devid() argument 2162 btrfs_check_raid_min_devices(struct btrfs_fs_info * fs_info,u64 num_devices) btrfs_check_raid_min_devices() argument 2212 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_assign_next_active_device() local 2231 btrfs_num_devices(struct btrfs_fs_info * fs_info) btrfs_num_devices() argument 2245 btrfs_scratch_superblock(struct btrfs_fs_info * fs_info,struct block_device * bdev,int copy_num) btrfs_scratch_superblock() argument 2267 btrfs_scratch_superblocks(struct btrfs_fs_info * fs_info,struct btrfs_device * device) btrfs_scratch_superblocks() argument 2289 btrfs_rm_device(struct btrfs_fs_info * fs_info,struct btrfs_dev_lookup_args * args,struct file ** bdev_file) btrfs_rm_device() argument 2559 btrfs_get_dev_args_from_path(struct btrfs_fs_info * fs_info,struct btrfs_dev_lookup_args * args,const char * path) btrfs_get_dev_args_from_path() argument 2613 btrfs_find_device_by_devspec(struct btrfs_fs_info * fs_info,u64 devid,const char * device_path) btrfs_find_device_by_devspec() argument 2638 btrfs_init_sprout(struct btrfs_fs_info * fs_info) btrfs_init_sprout() argument 2683 btrfs_setup_sprout(struct btrfs_fs_info * fs_info,struct btrfs_fs_devices * seed_devices) btrfs_setup_sprout() argument 2738 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_finish_sprout() local 2805 btrfs_init_new_device(struct btrfs_fs_info * fs_info,const char * device_path) btrfs_init_new_device() argument 3098 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_grow_device() local 3142 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_free_chunk() local 3176 btrfs_del_sys_chunk(struct btrfs_fs_info * fs_info,u64 chunk_offset) btrfs_del_sys_chunk() argument 3222 btrfs_find_chunk_map_nolock(struct btrfs_fs_info * fs_info,u64 logical,u64 length) btrfs_find_chunk_map_nolock() argument 3285 btrfs_find_chunk_map(struct btrfs_fs_info * fs_info,u64 logical,u64 length) btrfs_find_chunk_map() argument 3305 btrfs_get_chunk_map(struct btrfs_fs_info * fs_info,u64 logical,u64 length) btrfs_get_chunk_map() argument 3357 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_remove_dev_extents() local 3406 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_remove_chunk() local 3532 btrfs_relocate_chunk_finish(struct btrfs_fs_info * fs_info,struct btrfs_block_group * bg) btrfs_relocate_chunk_finish() argument 3571 btrfs_relocate_chunk(struct btrfs_fs_info * fs_info,u64 chunk_offset,bool verbose) btrfs_relocate_chunk() argument 3625 btrfs_relocate_sys_chunks(struct btrfs_fs_info * fs_info) btrfs_relocate_sys_chunks() argument 3713 btrfs_may_alloc_data_chunk(struct btrfs_fs_info * fs_info,u64 chunk_offset) btrfs_may_alloc_data_chunk() argument 3788 insert_balance_item(struct btrfs_fs_info * fs_info,struct btrfs_balance_control * bctl) insert_balance_item() argument 3841 del_balance_item(struct btrfs_fs_info * fs_info) del_balance_item() argument 3928 reset_balance_state(struct btrfs_fs_info * fs_info) reset_balance_state() argument 3960 chunk_usage_range_filter(struct btrfs_fs_info * fs_info,u64 chunk_offset,struct btrfs_balance_args * bargs) chunk_usage_range_filter() argument 3991 chunk_usage_filter(struct btrfs_fs_info * fs_info,u64 chunk_offset,struct btrfs_balance_args * bargs) chunk_usage_filter() argument 4117 struct btrfs_fs_info *fs_info = leaf->fs_info; should_balance_chunk() local 4218 struct btrfs_fs_info *fs_info = trans->fs_info; cow_remap_tree() local 4247 balance_remap_chunks(struct btrfs_fs_info * fs_info,struct btrfs_path * path,struct list_head * chunks) balance_remap_chunks() argument 4319 __btrfs_balance(struct btrfs_fs_info * fs_info) __btrfs_balance() argument 4588 validate_convert_profile(struct btrfs_fs_info * fs_info,const struct btrfs_balance_args * bargs,u64 allowed,const char * type) validate_convert_profile() argument 4703 describe_balance_start_or_resume(struct btrfs_fs_info * fs_info) describe_balance_start_or_resume() argument 4760 btrfs_balance(struct btrfs_fs_info * fs_info,struct btrfs_balance_control * bctl,struct btrfs_ioctl_balance_args * bargs) btrfs_balance() argument 4952 struct btrfs_fs_info *fs_info = data; balance_kthread() local 4965 btrfs_resume_balance_async(struct btrfs_fs_info * fs_info) btrfs_resume_balance_async() argument 4999 btrfs_recover_balance(struct btrfs_fs_info * fs_info) btrfs_recover_balance() argument 5066 btrfs_pause_balance(struct btrfs_fs_info * fs_info) btrfs_pause_balance() argument 5095 btrfs_cancel_balance(struct btrfs_fs_info * fs_info) btrfs_cancel_balance() argument 5151 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_shrink_device() local 5354 btrfs_add_system_chunk(struct btrfs_fs_info * fs_info,struct btrfs_key * key,struct btrfs_chunk * chunk,int item_size) btrfs_add_system_chunk() argument 5414 alloc_virtual_chunk(struct btrfs_fs_info * fs_info,struct btrfs_device_info * devices_info,enum btrfs_raid_types type,u64 * allocated) alloc_virtual_chunk() argument 5491 calc_one_profile_avail(struct btrfs_fs_info * fs_info,enum btrfs_raid_types type,u64 * result_ret) calc_one_profile_avail() argument 5532 btrfs_update_per_profile_avail(struct btrfs_fs_info * fs_info) btrfs_update_per_profile_avail() argument 5913 btrfs_remove_chunk_map(struct btrfs_fs_info * fs_info,struct btrfs_chunk_map * map) btrfs_remove_chunk_map() argument 5941 btrfs_add_chunk_map(struct btrfs_fs_info * fs_info,struct btrfs_chunk_map * map) btrfs_add_chunk_map() argument 6104 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_chunk_alloc_add_chunk_item() local 6207 struct btrfs_fs_info *fs_info = trans->fs_info; init_first_rw_device() local 6265 btrfs_chunk_writeable(struct btrfs_fs_info * fs_info,u64 chunk_offset) btrfs_chunk_writeable() argument 6300 btrfs_mapping_tree_free(struct btrfs_fs_info * fs_info) btrfs_mapping_tree_free() argument 6340 btrfs_num_copies(struct btrfs_fs_info * fs_info,u64 logical,u64 len) btrfs_num_copies() argument 6360 btrfs_full_stripe_len(struct btrfs_fs_info * fs_info,u64 logical) btrfs_full_stripe_len() argument 6427 struct btrfs_fs_info *fs_info = device->fs_devices->fs_info; btrfs_read_rr() local 6449 find_live_mirror(struct btrfs_fs_info * fs_info,struct btrfs_chunk_map * map,int first,bool dev_replace_is_ongoing) find_live_mirror() argument 6518 alloc_btrfs_io_context(struct btrfs_fs_info * fs_info,u64 logical,u16 total_stripes) alloc_btrfs_io_context() argument 6556 btrfs_map_discard(struct btrfs_fs_info * fs_info,u64 logical,u64 * length_ret,u32 * num_stripes,bool do_remap) btrfs_map_discard() argument 6711 is_block_group_to_copy(struct btrfs_fs_info * fs_info,u64 logical) is_block_group_to_copy() argument 6856 set_io_stripe(struct btrfs_fs_info * fs_info,u64 logical,u64 * length,struct btrfs_io_stripe * dst,struct btrfs_chunk_map * map,struct btrfs_io_geometry * io_geom) set_io_stripe() argument 6874 is_single_device_io(struct btrfs_fs_info * fs_info,const struct btrfs_io_stripe * smap,const struct btrfs_chunk_map * map,int num_alloc_stripes,struct btrfs_io_geometry * io_geom) is_single_device_io() argument 6904 map_blocks_raid1(struct btrfs_fs_info * fs_info,struct btrfs_chunk_map * map,struct btrfs_io_geometry * io_geom,bool dev_replace_is_ongoing) map_blocks_raid1() argument 6940 map_blocks_raid10(struct btrfs_fs_info * fs_info,struct btrfs_chunk_map * map,struct btrfs_io_geometry * io_geom,bool dev_replace_is_ongoing) map_blocks_raid10() argument 7060 btrfs_map_block(struct btrfs_fs_info * fs_info,enum btrfs_map_op op,u64 logical,u64 * length,struct btrfs_io_context ** bioc_ret,struct btrfs_io_stripe * smap,int * mirror_num_ret) btrfs_map_block() argument 7379 btrfs_alloc_device(struct btrfs_fs_info * fs_info,const u64 * devid,const u8 * uuid,const char * path) btrfs_alloc_device() argument 7433 btrfs_report_missing_device(struct btrfs_fs_info * fs_info,u64 devid,u8 * uuid,bool error) btrfs_report_missing_device() argument 7459 check_32bit_meta_chunk(struct btrfs_fs_info * fs_info,u64 logical,u64 length,u64 type) check_32bit_meta_chunk() argument 7478 warn_32bit_meta_chunk(struct btrfs_fs_info * fs_info,u64 logical,u64 length,u64 type) warn_32bit_meta_chunk() argument 7491 handle_missing_device(struct btrfs_fs_info * fs_info,u64 devid,u8 * uuid) handle_missing_device() argument 7516 struct btrfs_fs_info *fs_info = leaf->fs_info; read_one_chunk() local 7635 open_seed_devices(struct btrfs_fs_info * fs_info,u8 * fsid) open_seed_devices() argument 7698 struct btrfs_fs_info *fs_info = leaf->fs_info; read_one_dev() local 7805 btrfs_read_sys_array(struct btrfs_fs_info * fs_info) btrfs_read_sys_array() argument 7882 btrfs_check_rw_degradable(struct btrfs_fs_info * fs_info,struct btrfs_device * failing_dev) btrfs_check_rw_degradable() argument 7938 btrfs_read_chunk_tree(struct btrfs_fs_info * fs_info) btrfs_read_chunk_tree() argument 8061 btrfs_init_devices_late(struct btrfs_fs_info * fs_info) btrfs_init_devices_late() argument 8153 btrfs_init_dev_stats(struct btrfs_fs_info * fs_info) btrfs_init_dev_stats() argument 8185 struct btrfs_fs_info *fs_info = trans->fs_info; update_dev_stat_item() local 8248 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_run_dev_stats() local 8350 btrfs_get_dev_stats(struct btrfs_fs_info * fs_info,struct btrfs_ioctl_get_dev_stats * stats) btrfs_get_dev_stats() argument 8430 verify_one_dev_extent(struct btrfs_fs_info * fs_info,u64 chunk_offset,u64 devid,u64 physical_offset,u64 physical_len) verify_one_dev_extent() argument 8528 verify_chunk_dev_extent_mapping(struct btrfs_fs_info * fs_info) verify_chunk_dev_extent_mapping() argument 8558 btrfs_verify_dev_extents(struct btrfs_fs_info * fs_info) btrfs_verify_dev_extents() argument 8662 btrfs_verify_dev_items(const struct btrfs_fs_info * fs_info) btrfs_verify_dev_items() argument 8703 btrfs_pinned_by_swapfile(struct btrfs_fs_info * fs_info,void * ptr) btrfs_pinned_by_swapfile() argument 8726 struct btrfs_fs_info *fs_info = cache->fs_info; relocating_repair_kthread() local 8770 btrfs_repair_one_zone(struct btrfs_fs_info * fs_info,u64 logical) btrfs_repair_one_zone() argument 8831 btrfs_map_repair_block(struct btrfs_fs_info * fs_info,struct btrfs_io_stripe * smap,u64 logical,u32 length,int mirror_num) btrfs_map_repair_block() argument [all...] |
| H A D | ioctl.c | 221 check_fsflags_compatible(const struct btrfs_fs_info * fs_info,unsigned int flags) check_fsflags_compatible() argument 261 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_fileattr_set() local 409 btrfs_ioctl_fitrim(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_fitrim() argument 503 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); create_subvol() local 708 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); create_snapshot() local 836 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); btrfs_mksubvol() local 923 exclop_start_or_cancel_reloc(struct btrfs_fs_info * fs_info,enum btrfs_exclusive_operation type,bool cancel) exclop_start_or_cancel_reloc() argument 960 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_ioctl_resize() local 1230 struct btrfs_fs_info *fs_info = inode_to_fs_info(file_inode(file)); btrfs_ioctl_snap_create_v2() local 1264 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_ioctl_subvol_getflags() local 1286 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_subvol_setflags() local 1731 struct btrfs_fs_info *fs_info = BTRFS_I(inode)->root->fs_info; btrfs_search_path_in_tree_user() local 1951 struct btrfs_fs_info *fs_info; btrfs_ioctl_get_subvol_info() local 2166 struct btrfs_fs_info *fs_info = inode_to_fs_info(dir); btrfs_ioctl_snap_destroy() local 2462 btrfs_ioctl_add_dev(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_add_dev() argument 2525 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_rm_dev_v2() local 2593 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_rm_dev() local 2641 btrfs_ioctl_fs_info(const struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_fs_info() argument 2695 btrfs_ioctl_dev_info(const struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_dev_info() argument 2740 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_default_subvol() local 2830 btrfs_ioctl_space_info(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_space_info() argument 2998 btrfs_ioctl_wait_sync(struct btrfs_fs_info * fs_info,void __user * argp) btrfs_ioctl_wait_sync() argument 3013 struct btrfs_fs_info *fs_info = inode_to_fs_info(file_inode(file)); btrfs_ioctl_scrub() local 3066 btrfs_ioctl_scrub_cancel(struct btrfs_fs_info * fs_info) btrfs_ioctl_scrub_cancel() argument 3074 btrfs_ioctl_scrub_progress(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_scrub_progress() argument 3096 btrfs_ioctl_get_dev_stats(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_get_dev_stats() argument 3120 btrfs_ioctl_dev_replace(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_dev_replace() argument 3231 btrfs_ioctl_logical_to_ino(struct btrfs_fs_info * fs_info,void __user * arg,int version) btrfs_ioctl_logical_to_ino() argument 3290 btrfs_update_ioctl_balance_args(struct btrfs_fs_info * fs_info,struct btrfs_ioctl_balance_args * bargs) btrfs_update_ioctl_balance_args() argument 3324 btrfs_try_lock_balance(struct btrfs_fs_info * fs_info,bool * excl_acquired) btrfs_try_lock_balance() argument 3382 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_ioctl_balance() local 3472 btrfs_ioctl_balance_ctl(struct btrfs_fs_info * fs_info,int cmd) btrfs_ioctl_balance_ctl() argument 3487 btrfs_ioctl_balance_progress(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_balance_progress() argument 3520 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_quota_ctl() local 3589 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_qgroup_assign() local 3776 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_quota_rescan() local 3810 btrfs_ioctl_quota_rescan_status(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_quota_rescan_status() argument 3829 btrfs_ioctl_quota_rescan_wait(struct btrfs_fs_info * fs_info) btrfs_ioctl_quota_rescan_wait() argument 3842 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); _btrfs_ioctl_set_received_subvol() local 4020 btrfs_ioctl_get_fslabel(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_get_fslabel() argument 4047 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_set_fslabel() local 4106 btrfs_ioctl_get_features(struct btrfs_fs_info * fs_info,void __user * arg) btrfs_ioctl_get_features() argument 4122 check_feature_bits(const struct btrfs_fs_info * fs_info,enum btrfs_feature_set set,u64 change_mask,u64 flags,u64 supported_flags,u64 safe_set,u64 safe_clear) check_feature_bits() argument 4178 check_feature(fs_info,change_mask,flags,mask_base) global() argument 4187 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl_set_features() local 4299 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_ioctl_encoded_read() local 4686 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_uring_encoded_read() local 4979 btrfs_ioctl_subvol_sync(struct btrfs_fs_info * fs_info,void __user * argp) btrfs_ioctl_subvol_sync() argument 5105 btrfs_ioctl_shutdown(struct btrfs_fs_info * fs_info,unsigned long arg) btrfs_ioctl_shutdown() argument 5147 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_ioctl() local [all...] |
| H A D | zoned.c | 294 calculate_emulated_zone_size(struct btrfs_fs_info * fs_info) calculate_emulated_zone_size() argument 330 btrfs_get_dev_zone_info_all_devices(struct btrfs_fs_info * fs_info) btrfs_get_dev_zone_info_all_devices() argument 359 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_get_dev_zone_info() local 676 btrfs_check_for_zoned_device(struct btrfs_fs_info * fs_info) btrfs_check_for_zoned_device() argument 692 btrfs_check_zoned_mode(struct btrfs_fs_info * fs_info) btrfs_check_zoned_mode() argument 1231 struct btrfs_fs_info *fs_info = cache->fs_info; calculate_alloc_pointer() local 1308 btrfs_load_zone_info(struct btrfs_fs_info * fs_info,int zone_idx,struct zone_info * info,unsigned long * active,struct btrfs_chunk_map * map,bool new) btrfs_load_zone_info() argument 1440 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_load_block_group_dup() local 1505 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_load_block_group_raid1() local 1571 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_load_block_group_raid0() local 1689 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_load_block_group_raid10() local 1840 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_load_block_group_by_raid_type() local 1892 struct btrfs_fs_info *fs_info = cache->fs_info; btrfs_load_block_group_zone_info() local 2029 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_use_zone_append() local 2114 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_finish_ordered_zoned() local 2170 struct btrfs_fs_info *fs_info = block_group->fs_info; check_bg_is_active() local 2229 btrfs_check_meta_write_pointer(struct btrfs_fs_info * fs_info,struct btrfs_eb_write_context * ctx) btrfs_check_meta_write_pointer() argument 2291 read_zone_info(struct btrfs_fs_info * fs_info,u64 logical,struct blk_zone * zone) read_zone_info() argument 2342 struct btrfs_fs_info *fs_info = tgt_dev->fs_info; btrfs_sync_zone_write_pointer() local 2376 struct btrfs_fs_info *fs_info = block_group->fs_info; btrfs_zone_activate() local 2463 struct btrfs_fs_info *fs_info = block_group->fs_info; wait_eb_writebacks() local 2517 struct btrfs_fs_info *fs_info = block_group->fs_info; do_zone_finish() local 2634 struct btrfs_fs_info *fs_info = fs_devices->fs_info; btrfs_can_activate_zone() local 2682 btrfs_zone_finish_endio(struct btrfs_fs_info * fs_info,u64 logical,u64 length) btrfs_zone_finish_endio() argument 2750 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_clear_data_reloc_bg() local 2758 btrfs_zoned_reserve_data_reloc_bg(struct btrfs_fs_info * fs_info) btrfs_zoned_reserve_data_reloc_bg() argument 2858 btrfs_free_zone_cache(struct btrfs_fs_info * fs_info) btrfs_free_zone_cache() argument 2876 btrfs_zoned_should_reclaim(const struct btrfs_fs_info * fs_info) btrfs_zoned_should_reclaim() argument 2902 btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info * fs_info,u64 logical,u64 length) btrfs_zoned_release_data_reloc_bg() argument 2933 btrfs_zone_finish_one_bg(struct btrfs_fs_info * fs_info) btrfs_zone_finish_one_bg() argument 2976 struct btrfs_fs_info *fs_info = space_info->fs_info; btrfs_zoned_activate_one_bg() local 3028 btrfs_check_active_zone_reservation(struct btrfs_fs_info * fs_info) btrfs_check_active_zone_reservation() argument 3093 struct btrfs_fs_info *fs_info = space_info->fs_info; btrfs_reset_unused_block_groups() local 3201 btrfs_show_zoned_stats(struct btrfs_fs_info * fs_info,struct seq_file * seq) btrfs_show_zoned_stats() argument [all...] |
| H A D | relocation.c | 306 find_reloc_root(struct btrfs_fs_info * fs_info,u64 bytenr) find_reloc_root() argument 481 struct btrfs_fs_info *fs_info = root->fs_info; __add_reloc_root() local 513 struct btrfs_fs_info *fs_info = root->fs_info; __del_reloc_root() local 556 struct btrfs_fs_info *fs_info = root->fs_info; __update_reloc_root() local 586 struct btrfs_fs_info *fs_info = root->fs_info; create_reloc_root() local 701 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_init_reloc_root() local 767 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_update_reloc_root() local 860 struct btrfs_fs_info *fs_info = root->fs_info; replace_file_extents() local 1013 struct btrfs_fs_info *fs_info = dest->fs_info; replace_path() local 1334 struct btrfs_fs_info *fs_info = root->fs_info; invalidate_extent_cache() local 1507 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; merge_reloc_root() local 1673 struct btrfs_fs_info *fs_info = root->fs_info; prepare_to_merge() local 1809 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; merge_reloc_roots() local 1928 struct btrfs_fs_info *fs_info = reloc_root->fs_info; record_reloc_root_in_trans() local 2105 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; calcu_metadata_size() local 2138 struct btrfs_fs_info *fs_info = trans->fs_info; refill_metadata_space() local 2430 get_tree_block_key(struct btrfs_fs_info * fs_info,struct tree_block * block) get_tree_block_key() argument 2550 struct btrfs_fs_info *fs_info = trans->fs_info; relocate_cowonly_block() local 2592 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; relocate_tree_blocks() local 2756 btrfs_should_cancel_balance(const struct btrfs_fs_info * fs_info) btrfs_should_cancel_balance() argument 2781 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); relocate_one_folio() local 3141 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; __add_tree_block() local 3207 struct btrfs_fs_info *fs_info = block_group->fs_info; delete_block_group_cache() local 3338 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; find_next_extent() local 3421 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; set_reloc_control() local 3430 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; unset_reloc_control() local 3485 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; relocate_block_group() local 3718 struct btrfs_fs_info *fs_info = group->fs_info; create_reloc_inode() local 3772 reloc_chunk_start(struct btrfs_fs_info * fs_info) reloc_chunk_start() argument 3794 reloc_chunk_end(struct btrfs_fs_info * fs_info) reloc_chunk_end() argument 3804 alloc_reloc_control(struct btrfs_fs_info * fs_info) alloc_reloc_control() argument 3859 struct btrfs_fs_info *fs_info = trans->fs_info; add_remap_tree_entries() local 3935 struct btrfs_fs_info *fs_info = trans->fs_info; adjust_block_group_remap_bytes() local 3981 copy_remapped_data_io(struct btrfs_fs_info * fs_info,struct reloc_io_private * priv,struct page ** pages,u64 addr,u64 length,blk_opf_t op) copy_remapped_data_io() argument 4028 copy_remapped_data(struct btrfs_fs_info * fs_info,u64 old_addr,u64 new_addr,u64 length) copy_remapped_data() argument 4087 struct btrfs_fs_info *fs_info = trans->fs_info; add_remap_item() local 4116 struct btrfs_fs_info *fs_info = trans->fs_info; add_remap_backref_item() local 4141 move_existing_remap(struct btrfs_fs_info * fs_info,struct btrfs_path * path,struct btrfs_block_group * bg,u64 new_addr,u64 length,u64 old_addr) move_existing_remap() argument 4343 move_existing_remaps(struct btrfs_fs_info * fs_info,struct btrfs_block_group * bg,struct btrfs_path * path) move_existing_remaps() argument 4423 struct btrfs_fs_info *fs_info = trans->fs_info; create_remap_tree_entries() local 4657 struct btrfs_fs_info *fs_info = trans->fs_info; remove_chunk_stripes() local 4698 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_last_identity_remap_gone() local 4768 struct btrfs_fs_info *fs_info = trans->fs_info; adjust_identity_remap_count() local 4807 struct btrfs_fs_info *fs_info = trans->fs_info; add_remap_entry() local 4891 struct btrfs_fs_info *fs_info = trans->fs_info; mark_chunk_remapped() local 4937 do_remap_reloc_trans(struct btrfs_fs_info * fs_info,struct btrfs_block_group * src_bg,struct btrfs_path * path,u64 * last_start) do_remap_reloc_trans() argument 5115 do_remap_reloc(struct btrfs_fs_info * fs_info,struct btrfs_path * path,struct btrfs_block_group * bg) do_remap_reloc() argument 5133 btrfs_translate_remap(struct btrfs_fs_info * fs_info,u64 * logical,u64 * length) btrfs_translate_remap() argument 5183 start_block_group_remapping(struct btrfs_fs_info * fs_info,struct btrfs_path * path,struct btrfs_block_group * bg) start_block_group_remapping() argument 5259 do_nonremap_reloc(struct btrfs_fs_info * fs_info,bool verbose,struct reloc_control * rc) do_nonremap_reloc() argument 5313 btrfs_relocate_block_group(struct btrfs_fs_info * fs_info,u64 group_start,bool verbose) btrfs_relocate_block_group() argument 5452 struct btrfs_fs_info *fs_info = root->fs_info; mark_garbage_root() local 5479 btrfs_recover_relocation(struct btrfs_fs_info * fs_info) btrfs_recover_relocation() argument 5660 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_reloc_clone_csums() local 5712 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_reloc_cow_block() local 5853 btrfs_get_reloc_bg_bytenr(const struct btrfs_fs_info * fs_info) btrfs_get_reloc_bg_bytenr() argument 5868 struct btrfs_fs_info *fs_info = trans->fs_info; insert_remap_item() local 5934 struct btrfs_fs_info *fs_info = trans->fs_info; remove_range_from_remap_tree() local 6050 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_remove_extent_from_remap_tree() local [all...] |
| H A D | extent-tree.c | 72 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent() argument 104 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() argument 349 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_get_extent_inline_ref_type() local 804 struct btrfs_fs_info *fs_info = trans->fs_info; lookup_inline_extent_backref() local 1130 struct btrfs_fs_info *fs_info = leaf->fs_info; update_inline_extent_backref() local 1387 struct btrfs_fs_info *fs_info = dev->fs_info; do_discard_extent() local 1424 btrfs_discard_extent(struct btrfs_fs_info * fs_info,u64 bytenr,u64 num_bytes,u64 * actual_bytes,bool do_remap) btrfs_discard_extent() argument 1493 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_inc_extent_ref() local 1582 free_head_ref_squota_rsv(struct btrfs_fs_info * fs_info,const struct btrfs_delayed_ref_head * href) free_head_ref_squota_rsv() argument 1694 struct btrfs_fs_info *fs_info = trans->fs_info; run_delayed_extent_op() local 1789 struct btrfs_fs_info *fs_info = trans->fs_info; run_delayed_tree_ref() local 1838 struct btrfs_fs_info *fs_info = trans->fs_info; run_one_delayed_ref() local 1906 btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info * fs_info,struct btrfs_delayed_ref_root * delayed_refs,struct btrfs_delayed_ref_head * head) btrfs_cleanup_ref_head_accounting() argument 1940 struct btrfs_fs_info *fs_info = trans->fs_info; cleanup_ref_head() local 2001 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_run_delayed_refs_for_head() local 2087 struct btrfs_fs_info *fs_info = trans->fs_info; __btrfs_run_delayed_refs() local 2229 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_run_delayed_refs() local 2425 struct btrfs_fs_info *fs_info = root->fs_info; check_committed_ref() local 2554 struct btrfs_fs_info *fs_info = root->fs_info; __btrfs_mod_ref() local 2649 struct btrfs_fs_info *fs_info = root->fs_info; get_alloc_profile_by_root() local 2664 first_logical_byte(struct btrfs_fs_info * fs_info) first_logical_byte() argument 2744 __exclude_logged_extent(struct btrfs_fs_info * fs_info,u64 start,u64 num_bytes) __exclude_logged_extent() argument 2766 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_exclude_logged_extents() local 2807 fetch_cluster_info(struct btrfs_fs_info * fs_info,struct btrfs_space_info * space_info,u64 * empty_cluster) fetch_cluster_info() argument 2831 unpin_extent_range(struct btrfs_fs_info * fs_info,u64 start,u64 end,const bool return_free_space) unpin_extent_range() argument 2917 struct btrfs_fs_info *fs_info = bg->fs_info; btrfs_complete_bg_remapping() local 2953 btrfs_handle_fully_remapped_bgs(struct btrfs_fs_info * fs_info) btrfs_handle_fully_remapped_bgs() argument 2981 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_finish_extent_commit() local 3102 btrfs_get_extent_owner_root(struct btrfs_fs_info * fs_info,struct extent_buffer * leaf,int slot) btrfs_get_extent_owner_root() argument 3570 struct btrfs_fs_info *fs_info = trans->fs_info; check_ref_cleanup() local 3622 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_free_tree_block() local 3708 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_free_extent() local 4029 struct btrfs_fs_info *fs_info = block_group->fs_info; do_allocation_zoned() local 4255 can_allocate_chunk_zoned(struct btrfs_fs_info * fs_info,struct find_free_extent_ctl * ffe_ctl) can_allocate_chunk_zoned() argument 4308 can_allocate_chunk(struct btrfs_fs_info * fs_info,struct find_free_extent_ctl * ffe_ctl) can_allocate_chunk() argument 4326 find_free_extent_update_loop(struct btrfs_fs_info * fs_info,struct btrfs_key * ins,struct find_free_extent_ctl * ffe_ctl,struct btrfs_space_info * space_info,bool full_search) find_free_extent_update_loop() argument 4420 prepare_allocation_clustered(struct btrfs_fs_info * fs_info,struct find_free_extent_ctl * ffe_ctl,struct btrfs_space_info * space_info,struct btrfs_key * ins) prepare_allocation_clustered() argument 4471 prepare_allocation_zoned(struct btrfs_fs_info * fs_info,struct find_free_extent_ctl * ffe_ctl,struct btrfs_space_info * space_info) prepare_allocation_zoned() argument 4516 prepare_allocation(struct btrfs_fs_info * fs_info,struct find_free_extent_ctl * ffe_ctl,struct btrfs_space_info * space_info,struct btrfs_key * ins) prepare_allocation() argument 4561 struct btrfs_fs_info *fs_info = root->fs_info; find_free_extent() local 4876 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_reserve_extent() local 4926 btrfs_free_reserved_extent(struct btrfs_fs_info * fs_info,u64 start,u64 len,bool is_delalloc) btrfs_free_reserved_extent() argument 4967 struct btrfs_fs_info *fs_info = trans->fs_info; alloc_reserved_extent() local 4991 struct btrfs_fs_info *fs_info = trans->fs_info; alloc_reserved_file_extent() local 5071 struct btrfs_fs_info *fs_info = trans->fs_info; alloc_reserved_tree_block() local 5185 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_alloc_logged_file_extent() local 5256 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_init_new_buffer() local 5344 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_alloc_tree_block() local 5548 struct btrfs_fs_info *fs_info = root->fs_info; reada_walk_down() local 5626 struct btrfs_fs_info *fs_info = root->fs_info; walk_down_proc() local 5908 struct btrfs_fs_info *fs_info = root->fs_info; do_walk_down() local 6019 struct btrfs_fs_info *fs_info = root->fs_info; walk_up_proc() local 6250 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_drop_snapshot() local 6524 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_drop_subtree() local 6582 btrfs_error_unpin_extent_range(struct btrfs_fs_info * fs_info,u64 start,u64 end) btrfs_error_unpin_extent_range() argument 6631 struct btrfs_fs_info *fs_info = device->fs_info; btrfs_trim_free_extents_throttle() local 6710 btrfs_trim_free_extents(struct btrfs_fs_info * fs_info,u64 * trimmed,u64 * dev_failed,int * dev_ret) btrfs_trim_free_extents() argument 6835 btrfs_trim_fs(struct btrfs_fs_info * fs_info,struct fstrim_range * range) btrfs_trim_fs() argument [all...] |
| H A D | extent_io.c | 44 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb() local 54 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb() local 62 void btrfs_extent_buffer_leak_debug_check(struct btrfs_fs_info *fs_info) in btrfs_extent_buffer_leak_debug_check() argument 244 process_one_folio(struct btrfs_fs_info * fs_info,struct folio * folio,const struct folio * locked_folio,unsigned long page_ops,u64 start,u64 end) process_one_folio() argument 270 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); __process_folios_contig() local 307 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); lock_delalloc_folios() local 374 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); find_lock_delalloc_range() local 482 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); btrfs_verify_folio() local 492 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); end_folio_read() local 520 struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info; end_bbio_data_write() local 545 begin_folio_read(struct btrfs_fs_info * fs_info,struct folio * folio) begin_folio_read() argument 569 struct btrfs_fs_info *fs_info = bbio->inode->root->fs_info; end_bbio_data_read() local 736 struct btrfs_fs_info *fs_info = inode->root->fs_info; alloc_new_bio() local 867 struct btrfs_fs_info *fs_info = eb->fs_info; attach_extent_buffer_folio() local 904 struct btrfs_fs_info *fs_info; set_folio_extent_mapped() local 922 struct btrfs_fs_info *fs_info; clear_folio_extent_mapped() local 996 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); btrfs_do_readpage() local 1170 const struct btrfs_fs_info *fs_info = inode->root->fs_info; can_skip_one_ordered_range() local 1364 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); set_delalloc_bitmap() local 1380 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); find_next_delalloc_bitmap() local 1419 struct btrfs_fs_info *fs_info = inode_to_fs_info(&inode->vfs_inode); writepage_delalloc() local 1633 struct btrfs_fs_info *fs_info = inode->root->fs_info; submit_one_sector() local 1725 struct btrfs_fs_info *fs_info = inode->root->fs_info; extent_writepage_io() local 1834 struct btrfs_fs_info *fs_info = inode->root->fs_info; extent_writepage() local 1930 struct btrfs_fs_info *fs_info = eb->fs_info; lock_extent_buffer_for_io() local 1978 struct btrfs_fs_info *fs_info = eb->fs_info; set_btree_ioerr() local 2051 struct btrfs_fs_info *fs_info = eb->fs_info; buffer_tree_set_mark() local 2063 struct btrfs_fs_info *fs_info = eb->fs_info; buffer_tree_clear_mark() local 2073 buffer_tree_tag_for_writeback(struct btrfs_fs_info * fs_info,unsigned long start,unsigned long end) buffer_tree_tag_for_writeback() argument 2153 buffer_tree_get_ebs_tag(struct btrfs_fs_info * fs_info,unsigned long * start,unsigned long end,xa_mark_t tag,struct eb_batch * batch) buffer_tree_get_ebs_tag() argument 2183 find_extent_buffer_nolock(struct btrfs_fs_info * fs_info,u64 start) find_extent_buffer_nolock() argument 2244 struct btrfs_fs_info *fs_info = eb->fs_info; write_one_eb() local 2292 btrfs_btree_wait_writeback_range(struct btrfs_fs_info * fs_info,u64 start,u64 end) btrfs_btree_wait_writeback_range() argument 2319 struct btrfs_fs_info *fs_info = inode_to_fs_info(mapping->host); btree_writepages() local 2606 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); extent_write_locked_range() local 2902 struct btrfs_fs_info *fs_info = eb->fs_info; detach_extent_buffer_folio() local 3043 __alloc_extent_buffer(struct btrfs_fs_info * fs_info,u64 start) __alloc_extent_buffer() argument 3131 alloc_dummy_extent_buffer(struct btrfs_fs_info * fs_info,u64 start) alloc_dummy_extent_buffer() argument 3209 find_extent_buffer(struct btrfs_fs_info * fs_info,u64 start) find_extent_buffer() argument 3238 alloc_test_extent_buffer(struct btrfs_fs_info * fs_info,u64 start) alloc_test_extent_buffer() argument 3282 grab_extent_buffer(struct btrfs_fs_info * fs_info,struct folio * folio) grab_extent_buffer() argument 3319 check_eb_alignment(struct btrfs_fs_info * fs_info,u64 start) check_eb_alignment() argument 3362 struct btrfs_fs_info *fs_info = eb->fs_info; attach_eb_folio_to_filemap() local 3435 alloc_extent_buffer(struct btrfs_fs_info * fs_info,u64 start,u64 owner_root,int level) alloc_extent_buffer() argument 3655 struct btrfs_fs_info *fs_info = eb->fs_info; release_extent_buffer() local 3756 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_clear_buffer_dirty() local 3901 struct btrfs_fs_info *fs_info = eb->fs_info; read_extent_buffer_pages_nowait() local 4136 struct btrfs_fs_info *fs_info = eb->fs_info; assert_eb_folio_uptodate() local 4529 struct btrfs_fs_info *fs_info = folio_to_fs_info(folio); try_release_subpage_extent_buffer() local 4643 btrfs_readahead_tree_block(struct btrfs_fs_info * fs_info,u64 bytenr,u64 owner_root,u64 gen,int level,const struct btrfs_key * first_key) btrfs_readahead_tree_block() argument [all...] |
| H A D | tree-checker.c | 59 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 85 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 146 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 211 struct btrfs_fs_info *fs_info = leaf->fs_info; check_extent_data_item() local 368 struct btrfs_fs_info *fs_info = leaf->fs_info; check_csum_item() local 525 struct btrfs_fs_info *fs_info = leaf->fs_info; check_dir_item() local 662 const struct btrfs_fs_info *fs_info = eb->fs_info; block_group_err() local 685 struct btrfs_fs_info *fs_info = leaf->fs_info; check_block_group_item() local 826 chunk_err(const struct btrfs_fs_info * fs_info,const struct extent_buffer * leaf,const struct btrfs_chunk * chunk,u64 logical,const char * fmt,...) chunk_err() argument 901 btrfs_check_chunk_valid(const struct btrfs_fs_info * fs_info,const struct extent_buffer * leaf,const struct btrfs_chunk * chunk,u64 logical,u32 sectorsize) btrfs_check_chunk_valid() argument 1080 struct btrfs_fs_info *fs_info = leaf->fs_info; check_leaf_chunk_item() local 1184 struct btrfs_fs_info *fs_info = leaf->fs_info; check_inode_item() local 1273 struct btrfs_fs_info *fs_info = leaf->fs_info; check_root_item() local 1423 struct btrfs_fs_info *fs_info = leaf->fs_info; check_extent_item() local 2071 struct btrfs_fs_info *fs_info = leaf->fs_info; check_free_space_info() local 2117 struct btrfs_fs_info *fs_info = leaf->fs_info; check_free_space_extent() local 2144 struct btrfs_fs_info *fs_info = leaf->fs_info; check_free_space_bitmap() local 2267 struct btrfs_fs_info *fs_info = leaf->fs_info; __btrfs_check_leaf() local 2428 struct btrfs_fs_info *fs_info = node->fs_info; __btrfs_check_node() local 2552 struct btrfs_fs_info *fs_info = eb->fs_info; btrfs_verify_level_key() local [all...] |
| H A D | file-item.c | 128 static size_t bytes_to_csum_size(const struct btrfs_fs_info *fs_info, u32 bytes) in bytes_to_csum_size() argument 135 static size_t csum_size_to_bytes(const struct btrfs_fs_info *fs_info, u32 csum_size) in csum_size_to_bytes() argument 142 max_ordered_sum_bytes(const struct btrfs_fs_info * fs_info) max_ordered_sum_bytes() argument 154 btrfs_ordered_sum_size(const struct btrfs_fs_info * fs_info,unsigned long bytes) btrfs_ordered_sum_size() argument 204 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_lookup_csum() local 277 search_csum_tree(struct btrfs_fs_info * fs_info,struct btrfs_path * path,u64 disk_bytenr,u64 len,u8 * dst) search_csum_tree() argument 349 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_lookup_bio_sums() local 504 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_lookup_csums_list() local 649 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_lookup_csums_bitmap() local 777 struct btrfs_fs_info *fs_info = inode->root->fs_info; csum_one_bio() local 817 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_csum_one_bio() local 881 struct btrfs_fs_info *fs_info = trans->fs_info; truncate_one_csum() local 929 struct btrfs_fs_info *fs_info = trans->fs_info; btrfs_del_csums() local 1104 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_insert_data_csums() local 1326 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_extent_item_to_extent_map() local [all...] |
| H A D | compression.c | 183 struct folio *btrfs_alloc_compr_folio(struct btrfs_fs_info *fs_info, gfp_t gfp) in btrfs_alloc_compr_folio() argument 253 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); in end_compressed_writeback() local 319 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_submit_compressed_write() local 374 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); add_ra_bio_pages() local 546 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_submit_compressed_read() local 693 alloc_heuristic_ws(struct btrfs_fs_info * fs_info) alloc_heuristic_ws() argument 730 alloc_workspace(struct btrfs_fs_info * fs_info,int type,int level) alloc_workspace() argument 762 alloc_workspace_manager(struct btrfs_fs_info * fs_info,enum btrfs_compression_type type) alloc_workspace_manager() argument 796 free_workspace_manager(struct btrfs_fs_info * fs_info,enum btrfs_compression_type type) free_workspace_manager() argument 822 btrfs_get_workspace(struct btrfs_fs_info * fs_info,int type,int level) btrfs_get_workspace() argument 901 get_workspace(struct btrfs_fs_info * fs_info,int type,int level) get_workspace() argument 921 btrfs_put_workspace(struct btrfs_fs_info * fs_info,int type,struct list_head * ws) btrfs_put_workspace() argument 952 put_workspace(struct btrfs_fs_info * fs_info,int type,struct list_head * ws) put_workspace() argument 1039 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_compress_bio() local 1087 struct btrfs_fs_info *fs_info = cb_to_fs_info(cb); btrfs_decompress_bio() local 1110 struct btrfs_fs_info *fs_info = folio_to_fs_info(dest_folio); btrfs_decompress() local 1130 btrfs_alloc_compress_wsm(struct btrfs_fs_info * fs_info) btrfs_alloc_compress_wsm() argument 1152 btrfs_free_compress_wsm(struct btrfs_fs_info * fs_info) btrfs_free_compress_wsm() argument 1599 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_compress_heuristic() local [all...] |
| H A D | ref-verify.c | 196 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 210 static inline void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 245 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() 294 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() 339 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 368 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 414 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 494 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 599 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() 613 static void dump_block_entry(struct btrfs_fs_info *fs_info, in dump_block_entry() [all …]
|
| H A D | defrag.c | 82 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_insert_inode_defrag() local 103 static inline bool need_auto_defrag(struct btrfs_fs_info *fs_info) in need_auto_defrag() argument 121 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_inode_defrag() local 161 btrfs_pick_defrag_inode(struct btrfs_fs_info * fs_info,u64 root,u64 ino) btrfs_pick_defrag_inode() argument 198 btrfs_cleanup_defrag_inodes(struct btrfs_fs_info * fs_info) btrfs_cleanup_defrag_inodes() argument 215 btrfs_run_defrag_inode(struct btrfs_fs_info * fs_info,struct inode_defrag * defrag,struct file_ra_state * ra) btrfs_run_defrag_inode() argument 277 btrfs_run_defrag_inodes(struct btrfs_fs_info * fs_info) btrfs_run_defrag_inodes() argument 343 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_realloc_node() local 554 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_defrag_root() local 782 get_extent_max_capacity(const struct btrfs_fs_info * fs_info,const struct extent_map * em) get_extent_max_capacity() argument 793 struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); defrag_check_next_extent() local 960 struct btrfs_fs_info *fs_info = inode->root->fs_info; defrag_collect_targets() local 1155 struct btrfs_fs_info *fs_info = inode->root->fs_info; defrag_one_locked_target() local 1360 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_defrag_file() local [all...] |
| H A D | uuid-tree.c | 81 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_add() local 133 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_remove() local 206 int btrfs_uuid_tree_check_overflow(struct btrfs_fs_info *fs_info, in btrfs_uuid_tree_check_overflow() 261 static int btrfs_check_uuid_tree_entry(struct btrfs_fs_info *fs_info, in btrfs_check_uuid_tree_entry() 295 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info) in btrfs_uuid_tree_iterate() 393 struct btrfs_fs_info *fs_info = data; in btrfs_uuid_scan_kthread() local 526 int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) in btrfs_create_uuid_tree()
|
| H A D | extent_map.c | 82 struct btrfs_fs_info *fs_info = inode->root->fs_info; in remove_em() local 307 static void dump_extent_map(struct btrfs_fs_info *fs_info, const char *prefix, in dump_extent_map() argument 320 static void validate_extent_map(struct btrfs_fs_info *fs_info, struct extent_map *em) in validate_extent_map() argument 356 struct btrfs_fs_info *fs_info = inode->root->fs_info; try_merge_map() local 426 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_unpin_extent_cache() local 505 struct btrfs_fs_info *fs_info = root->fs_info; add_extent_mapping() local 611 struct btrfs_fs_info *fs_info = inode->root->fs_info; replace_extent_mapping() local 713 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_add_extent_mapping() local 1136 struct btrfs_fs_info *fs_info = inode->root->fs_info; btrfs_scan_inode() local 1260 struct btrfs_fs_info *fs_info = root->fs_info; btrfs_scan_root() local 1305 struct btrfs_fs_info *fs_info; btrfs_extent_map_shrinker_worker() local 1369 btrfs_free_extent_maps(struct btrfs_fs_info * fs_info,long nr_to_scan) btrfs_free_extent_maps() argument 1392 btrfs_init_extent_map_shrinker_work(struct btrfs_fs_info * fs_info) btrfs_init_extent_map_shrinker_work() argument [all...] |
| H A D | lzo.c | 68 static u32 workspace_buf_length(const struct btrfs_fs_info *fs_info) in workspace_buf_length() argument 72 static u32 workspace_cbuf_length(const struct btrfs_fs_info *fs_info) in workspace_cbuf_length() argument 87 struct list_head *lzo_alloc_workspace(struct btrfs_fs_info *fs_info) in lzo_alloc_workspace() argument 176 static int copy_compressed_data_to_bio(struct btrfs_fs_info *fs_info, in copy_compressed_data_to_bio() argument 263 struct btrfs_fs_info *fs_info = inode->root->fs_info; lzo_compress_bio() local 370 struct btrfs_fs_info *fs_info = cb_to_fs_info(cb); get_current_folio() local 416 struct btrfs_fs_info *fs_info = cb->bbio.inode->root->fs_info; lzo_decompress_bio() local 537 struct btrfs_fs_info *fs_info = folio_to_fs_info(dest_folio); lzo_decompress() local [all...] |
| /linux/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 62 static int test_case_1(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_1() 163 static int test_case_2(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_2() 257 static int __test_case_3(struct btrfs_fs_info *fs_info, in __test_case_3() 351 static int test_case_3(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_3() 366 static int __test_case_4(struct btrfs_fs_info *fs_info, in __test_case_4() 485 static int test_case_4(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_4() 623 static int test_case_5(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_5() 710 static int test_case_6(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_6() 770 static int test_case_7(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_7() 912 static int test_case_8(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) in test_case_8() [all …]
|
| H A D | raid-stripe-tree-tests.c | 40 struct btrfs_fs_info *fs_info = trans->fs_info; in test_punch_hole_3extents() local 218 struct btrfs_fs_info *fs_info = trans->fs_info; in test_delete_two_extents() local 362 struct btrfs_fs_info *fs_info = trans->fs_info; in test_punch_hole() local 505 struct btrfs_fs_info *fs_info = trans->fs_info; in test_front_delete_prev_item() local 647 struct btrfs_fs_info *fs_info = trans->fs_info; in test_front_delete() local 756 struct btrfs_fs_info *fs_info = trans->fs_info; in test_tail_delete() local 878 struct btrfs_fs_info *fs_info = trans->fs_info; in test_create_update_delete() local 999 struct btrfs_fs_info *fs_info = trans->fs_info; in test_simple_create_delete() local 1087 struct btrfs_fs_info *fs_info; in run_test() local
|