/openbmc/linux/fs/btrfs/ |
H A D | ref-verify.c | 214 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 228 static inline void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() 357 static int add_shared_data_ref(struct btrfs_fs_info *fs_info, in add_shared_data_ref() 386 static int add_extent_data_ref(struct btrfs_fs_info *fs_info, in add_extent_data_ref() 432 static int process_extent_item(struct btrfs_fs_info *fs_info, in process_extent_item() 504 struct btrfs_fs_info *fs_info = root->fs_info; in process_leaf() local 609 static void dump_ref_action(struct btrfs_fs_info *fs_info, in dump_ref_action() 623 static void dump_block_entry(struct btrfs_fs_info *fs_info, in dump_block_entry() 662 int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod() 897 void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() [all …]
|
H A D | messages.c | 117 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error() 213 void __cold _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in _btrfs_printk() 260 void __cold btrfs_warn_32bit_limit(struct btrfs_fs_info *fs_info) in btrfs_warn_32bit_limit() 272 void __cold btrfs_err_32bit_limit(struct btrfs_fs_info *fs_info) in btrfs_err_32bit_limit() 290 void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_panic()
|
H A D | bio.c | 45 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, in btrfs_bio_init() 63 struct btrfs_fs_info *fs_info, in btrfs_bio_alloc() 75 static struct btrfs_bio *btrfs_split_bio(struct btrfs_fs_info *fs_info, in btrfs_split_bio() 193 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_end_repair_bio() local 239 struct btrfs_fs_info *fs_info = inode->root->fs_info; in repair_one_sector() local 285 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_read_bio() local 342 static struct workqueue_struct *btrfs_end_io_wq(struct btrfs_fs_info *fs_info, in btrfs_end_io_wq() 365 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_simple_end_io() local 627 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_wq_submit_bio() local 648 struct btrfs_fs_info *fs_info = bbio->fs_info; in btrfs_submit_chunk() local [all …]
|
H A D | extent_io.c | 46 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb() local 56 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb() local 859 struct btrfs_fs_info *fs_info = eb->fs_info; in attach_extent_buffer_page() local 897 struct btrfs_fs_info *fs_info; in set_page_extent_mapped() local 915 struct btrfs_fs_info *fs_info; in clear_page_extent_mapped() local 1475 struct btrfs_fs_info *fs_info = eb->fs_info; in lock_extent_buffer_for_io() local 1510 struct btrfs_fs_info *fs_info = eb->fs_info; in set_btree_ioerr() local 1586 struct btrfs_fs_info *fs_info, u64 start) in find_extent_buffer_nolock() 1604 struct btrfs_fs_info *fs_info = eb->fs_info; in extent_buffer_write_end_io() local 1660 struct btrfs_fs_info *fs_info = eb->fs_info; in write_one_eb() local [all …]
|
H A D | extent-tree.c | 102 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() 778 struct btrfs_fs_info *fs_info = trans->fs_info; in lookup_inline_extent_backref() local 1077 struct btrfs_fs_info *fs_info = leaf->fs_info; in update_inline_extent_backref() local 1330 struct btrfs_fs_info *fs_info = dev->fs_info; in do_discard_extent() local 1435 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_inc_extent_ref() local 1615 struct btrfs_fs_info *fs_info = trans->fs_info; in run_delayed_extent_op() local 1866 struct btrfs_fs_info *fs_info = trans->fs_info; in cleanup_ref_head() local 2322 struct btrfs_fs_info *fs_info = root->fs_info; in check_committed_ref() local 2418 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_mod_ref() local 2513 struct btrfs_fs_info *fs_info = root->fs_info; in get_alloc_profile_by_root() local [all …]
|
H A D | delayed-inode.c | 493 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_delayed_item_reserve_metadata() local 531 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delayed_item_release_metadata() local 567 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_delayed_inode_reserve_metadata() local 649 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_insert_delayed_item() local 839 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_batch_delete_items() local 1004 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_update_delayed_inode() local 1136 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_run_delayed_items() local 1373 struct btrfs_fs_info *fs_info, int nr) in btrfs_wq_run_delayed_node() 1436 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_release_dir_index_item_space() local 1463 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_insert_delayed_dir_index() local [all …]
|
H A D | defrag.c | 76 struct btrfs_fs_info *fs_info = inode->root->fs_info; in __btrfs_add_inode_defrag() local 111 static inline int __need_auto_defrag(struct btrfs_fs_info *fs_info) in __need_auto_defrag() 129 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_inode_defrag() local 176 struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() 216 void btrfs_cleanup_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_cleanup_defrag_inodes() 237 static int __btrfs_run_defrag_inode(struct btrfs_fs_info *fs_info, in __btrfs_run_defrag_inode() 298 int btrfs_run_defrag_inodes(struct btrfs_fs_info *fs_info) in btrfs_run_defrag_inodes() 669 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in defrag_check_next_extent() local 829 struct btrfs_fs_info *fs_info = inode->root->fs_info; in defrag_collect_targets() local 1025 struct btrfs_fs_info *fs_info = inode->root->fs_info; in defrag_one_locked_target() local [all …]
|
H A D | delayed-ref.c | 31 bool btrfs_check_space_for_delayed_refs(struct btrfs_fs_info *fs_info) in btrfs_check_space_for_delayed_refs() 65 void btrfs_delayed_refs_rsv_release(struct btrfs_fs_info *fs_info, int nr) in btrfs_delayed_refs_rsv_release() 85 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_update_delayed_refs_rsv() local 111 void btrfs_migrate_to_delayed_refs_rsv(struct btrfs_fs_info *fs_info, in btrfs_migrate_to_delayed_refs_rsv() 153 int btrfs_delayed_refs_rsv_refill(struct btrfs_fs_info *fs_info, in btrfs_delayed_refs_rsv_refill() 484 void btrfs_merge_delayed_refs(struct btrfs_fs_info *fs_info, in btrfs_merge_delayed_refs() 513 int btrfs_check_delayed_seq(struct btrfs_fs_info *fs_info, u64 seq) in btrfs_check_delayed_seq() 644 struct btrfs_fs_info *fs_info = trans->fs_info; in update_existing_head_ref() local 864 static void init_delayed_ref_common(struct btrfs_fs_info *fs_info, in init_delayed_ref_common() 897 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_add_delayed_tree_ref() local [all …]
|
H A D | tree-checker.c | 59 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 84 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 144 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 207 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local 346 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local 503 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_dir_item() local 662 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_block_group_item() local 799 struct btrfs_fs_info *fs_info = leaf->fs_info; in btrfs_check_chunk_valid() local 1065 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_inode_item() local 1154 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_root_item() local [all …]
|
H A D | inode.c | 110 struct btrfs_fs_info *fs_info; member 142 struct btrfs_fs_info *fs_info = warn->fs_info; in data_reloc_print_warning_inode() local 620 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range_inline() local 1104 struct btrfs_fs_info *fs_info = root->fs_info; in submit_one_async_extent() local 1281 struct btrfs_fs_info *fs_info = root->fs_info; in cow_file_range() local 2404 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_del_delalloc_inode() local 3018 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_finish_one_ordered() local 3458 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_orphan_cleanup() local 4016 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_inode() local 4063 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_unlink_inode() local [all …]
|
H A D | discard.c | 85 struct btrfs_fs_info *fs_info = container_of(discard_ctl, in btrfs_run_discard_work() local 680 void btrfs_discard_punt_unused_bgs_list(struct btrfs_fs_info *fs_info) in btrfs_discard_punt_unused_bgs_list() 731 void btrfs_discard_resume(struct btrfs_fs_info *fs_info) in btrfs_discard_resume() 743 void btrfs_discard_stop(struct btrfs_fs_info *fs_info) in btrfs_discard_stop() 748 void btrfs_discard_init(struct btrfs_fs_info *fs_info) in btrfs_discard_init() 772 void btrfs_discard_cleanup(struct btrfs_fs_info *fs_info) in btrfs_discard_cleanup()
|
H A D | uuid-tree.c | 88 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_add() local 152 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_uuid_tree_remove() local 259 static int btrfs_check_uuid_tree_entry(struct btrfs_fs_info *fs_info, in btrfs_check_uuid_tree_entry() 293 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info) in btrfs_uuid_tree_iterate()
|
H A D | file.c | 97 static void btrfs_drop_pages(struct btrfs_fs_info *fs_info, in btrfs_drop_pages() 131 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_dirty_pages() local 204 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_drop_extents() local 982 struct btrfs_fs_info *fs_info = inode->root->fs_info; in lock_and_cleanup_extent_if_need() local 1064 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_nocow_lock() local 1133 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_write_check() local 1755 struct btrfs_fs_info *fs_info = inode->root->fs_info; in skip_inode_logging() local 2095 struct btrfs_fs_info *fs_info = trans->fs_info; in fill_holes() local 2197 struct btrfs_fs_info *fs_info = inode->root->fs_info; in find_first_non_hole() local 2267 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_insert_replace_extent() local [all …]
|
H A D | async-thread.c | 27 struct btrfs_fs_info *fs_info; member 75 struct btrfs_fs_info *fs_info) in btrfs_init_workqueue() 84 struct btrfs_workqueue *btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, in btrfs_alloc_workqueue() 124 struct btrfs_fs_info *fs_info, const char *name, in btrfs_alloc_ordered_workqueue()
|
H A D | ctree.c | 285 struct btrfs_fs_info *fs_info = root->fs_info; in add_root_to_dirty_list() local 314 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_copy_root() local 405 struct btrfs_fs_info *fs_info = root->fs_info; in update_ref_for_cow() local 537 struct btrfs_fs_info *fs_info = root->fs_info; in __btrfs_cow_block() local 700 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_cow_block() local 825 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_realloc_node() local 1053 struct btrfs_fs_info *fs_info = root->fs_info; in balance_level() local 1311 struct btrfs_fs_info *fs_info = root->fs_info; in push_nodes_for_insert() local 1632 struct btrfs_fs_info *fs_info = root->fs_info; in read_block_for_search() local 1758 struct btrfs_fs_info *fs_info = root->fs_info; in setup_nodes_for_search() local [all …]
|
H A D | free-space-tree.c | 106 struct btrfs_fs_info *fs_info = block_group->fs_info; in search_free_space_info() local 158 static inline u32 free_space_bitmap_size(const struct btrfs_fs_info *fs_info, in free_space_bitmap_size() 209 struct btrfs_fs_info *fs_info = trans->fs_info; in convert_free_space_to_bitmaps() local 347 struct btrfs_fs_info *fs_info = trans->fs_info; in convert_free_space_to_extents() local 541 struct btrfs_fs_info *fs_info = block_group->fs_info; in free_space_set_bits() local 1160 int btrfs_create_free_space_tree(struct btrfs_fs_info *fs_info) in btrfs_create_free_space_tree() 1256 int btrfs_delete_free_space_tree(struct btrfs_fs_info *fs_info) in btrfs_delete_free_space_tree() 1305 int btrfs_rebuild_free_space_tree(struct btrfs_fs_info *fs_info) in btrfs_rebuild_free_space_tree() 1373 struct btrfs_fs_info *fs_info = trans->fs_info; in add_block_group_free_space() local 1481 struct btrfs_fs_info *fs_info; in load_free_space_bitmaps() local [all …]
|
H A D | fs.h | 831 const struct btrfs_fs_info *fs_info, u64 csum_bytes) in btrfs_csum_bytes_to_leaves() 898 #define __btrfs_fs_incompat(fs_info, flags) \ argument 901 #define __btrfs_fs_compat_ro(fs_info, flags) \ argument 910 #define btrfs_fs_incompat(fs_info, opt) \ argument 919 #define btrfs_fs_compat_ro(fs_info, opt) \ argument 925 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument 928 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument 935 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument 942 static inline int btrfs_fs_closing(struct btrfs_fs_info *fs_info) in btrfs_fs_closing() 972 #define BTRFS_FS_ERROR(fs_info) (READ_ONCE((fs_info)->fs_error)) argument [all …]
|
H A D | export.c | 77 struct btrfs_fs_info *fs_info = btrfs_sb(sb); in btrfs_get_dentry() local 150 struct btrfs_fs_info *fs_info = btrfs_sb(dir->i_sb); in btrfs_get_parent() local 225 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_get_name() local
|
H A D | backref.c | 391 static int add_prelim_ref(const struct btrfs_fs_info *fs_info, in add_prelim_ref() 422 static int add_direct_ref(const struct btrfs_fs_info *fs_info, in add_direct_ref() 840 static int add_missing_keys(struct btrfs_fs_info *fs_info, in add_missing_keys() 1154 struct btrfs_fs_info *fs_info = extent_root->fs_info; in add_keyed_refs() local 1256 const struct btrfs_fs_info *fs_info = root->fs_info; in lookup_backref_shared_cache() local 1326 const struct btrfs_fs_info *fs_info = root->fs_info; in store_backref_shared_cache() local 1859 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_is_data_extent_shared() local 2379 static int iterate_leaf_refs(struct btrfs_fs_info *fs_info, in iterate_leaf_refs() 2846 struct btrfs_fs_info *fs_info = iter->fs_info; in btrfs_backref_iter_start() local 2994 void btrfs_backref_init_cache(struct btrfs_fs_info *fs_info, in btrfs_backref_init_cache() [all …]
|
H A D | reflink.c | 64 struct btrfs_fs_info *fs_info = inode->root->fs_info; in copy_inline_to_page() local 178 struct btrfs_fs_info *fs_info = btrfs_sb(dst->i_sb); in clone_copy_inline_extent() local 341 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_clone() local 666 struct btrfs_fs_info *fs_info = BTRFS_I(src)->root->fs_info; in btrfs_extent_same_range() local 730 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb); in btrfs_clone_files() local
|
H A D | ordered-data.c | 214 struct btrfs_fs_info *fs_info = root->fs_info; in insert_ordered_extent() local 312 struct btrfs_fs_info *fs_info = inode->root->fs_info; in can_finish_ordered_extent() local 364 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_queue_ordered_fn() local 584 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_remove_ordered_extent() local 689 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_wait_ordered_extents() local 742 void btrfs_wait_ordered_roots(struct btrfs_fs_info *fs_info, u64 nr, in btrfs_wait_ordered_roots() 1155 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_split_ordered_extent() local
|
H A D | root-tree.c | 125 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_root() local 210 int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info) in btrfs_find_orphan_roots() 508 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_subvolume_reserve_metadata() local
|
/openbmc/linux/fs/proc/ |
H A D | root.c | 145 static void proc_apply_options(struct proc_fs_info *fs_info, in proc_apply_options() 163 struct proc_fs_info *fs_info; in proc_fill_super() local 216 struct proc_fs_info *fs_info = proc_sb_info(sb); in proc_reconfigure() local 262 struct proc_fs_info *fs_info = proc_sb_info(sb); in proc_kill_sb() local
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | inode-tests.c | 220 struct btrfs_fs_info *fs_info = NULL; in test_btrfs_get_extent() local 809 struct btrfs_fs_info *fs_info = NULL; in test_hole_first() local 907 struct btrfs_fs_info *fs_info = NULL; in test_extent_accounting() local
|
H A D | qgroup-tests.c | 210 struct btrfs_fs_info *fs_info = root->fs_info; in test_no_shared_qgroup() local 322 struct btrfs_fs_info *fs_info = root->fs_info; in test_multiple_refs() local 473 struct btrfs_fs_info *fs_info = NULL; in btrfs_test_qgroups() local
|