| /fs/btrfs/ |
| D | transaction.c | 111 static noinline void switch_commit_roots(struct btrfs_transaction *trans, in switch_commit_roots() 141 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc() 148 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec() 155 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init() 161 static inline int extwriter_counter_read(struct btrfs_transaction *trans) in extwriter_counter_read() 296 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans() 354 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root() 372 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans() 394 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked() 599 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() local [all …]
|
| D | delayed-ref.c | 157 int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans, in btrfs_delayed_ref_lock() 181 static inline void drop_delayed_ref(struct btrfs_trans_handle *trans, in drop_delayed_ref() 198 static bool merge_ref(struct btrfs_trans_handle *trans, in merge_ref() 265 void btrfs_merge_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_merge_delayed_refs() 336 btrfs_select_ref_head(struct btrfs_trans_handle *trans) in btrfs_select_ref_head() 390 add_delayed_ref_tail_merge(struct btrfs_trans_handle *trans, in add_delayed_ref_tail_merge() 532 struct btrfs_trans_handle *trans, in add_delayed_ref_head() 645 struct btrfs_trans_handle *trans, in add_delayed_tree_ref() 699 struct btrfs_trans_handle *trans, in add_delayed_data_ref() 753 struct btrfs_trans_handle *trans, in btrfs_add_delayed_tree_ref() [all …]
|
| D | tree-log.c | 140 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans() 276 struct btrfs_trans_handle *trans; member 335 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item() 578 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent() 822 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item() 968 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref() 1197 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref() 1326 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item() 1449 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count() 1497 static noinline int fixup_inode_link_counts(struct btrfs_trans_handle *trans, in fixup_inode_link_counts() [all …]
|
| D | root-tree.c | 136 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 213 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 297 struct btrfs_trans_handle *trans; in btrfs_find_orphan_roots() local 345 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_root() 366 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, in btrfs_del_root_ref() 437 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, in btrfs_add_root_ref() 504 void btrfs_update_root_times(struct btrfs_trans_handle *trans, in btrfs_update_root_times()
|
| D | qgroup.c | 509 static int add_qgroup_relation_item(struct btrfs_trans_handle *trans, in add_qgroup_relation_item() 533 static int del_qgroup_relation_item(struct btrfs_trans_handle *trans, in del_qgroup_relation_item() 564 static int add_qgroup_item(struct btrfs_trans_handle *trans, in add_qgroup_item() 632 static int del_qgroup_item(struct btrfs_trans_handle *trans, in del_qgroup_item() 678 static int update_qgroup_limit_item(struct btrfs_trans_handle *trans, in update_qgroup_limit_item() 720 static int update_qgroup_info_item(struct btrfs_trans_handle *trans, in update_qgroup_info_item() 765 static int update_qgroup_status_item(struct btrfs_trans_handle *trans, in update_qgroup_status_item() 809 static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans, in btrfs_clean_quota_tree() 855 int btrfs_quota_enable(struct btrfs_trans_handle *trans, in btrfs_quota_enable() 986 int btrfs_quota_disable(struct btrfs_trans_handle *trans, in btrfs_quota_disable() [all …]
|
| D | extent-tree.c | 805 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info() 1042 static int convert_extent_item_v0(struct btrfs_trans_handle *trans, in convert_extent_item_v0() 1158 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref() 1245 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref() 1324 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref() 1423 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref() 1456 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref() 1531 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref() 1784 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref() 1880 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref() [all …]
|
| D | delayed-inode.c | 546 static int btrfs_delayed_item_reserve_metadata(struct btrfs_trans_handle *trans, in btrfs_delayed_item_reserve_metadata() 590 struct btrfs_trans_handle *trans, in btrfs_delayed_inode_reserve_metadata() 833 static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_item() 863 static int btrfs_insert_delayed_items(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_items() 902 static int btrfs_batch_delete_items(struct btrfs_trans_handle *trans, in btrfs_batch_delete_items() 965 static int btrfs_delete_delayed_items(struct btrfs_trans_handle *trans, in btrfs_delete_delayed_items() 1037 static int __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in __btrfs_update_delayed_inode() 1119 static inline int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in btrfs_update_delayed_inode() 1138 __btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_commit_inode_delayed_items() 1162 static int __btrfs_run_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_run_delayed_items() [all …]
|
| D | inode-item.c | 96 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, in btrfs_lookup_inode_extref() 121 static int btrfs_del_inode_extref(struct btrfs_trans_handle *trans, in btrfs_del_inode_extref() 193 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref() 270 static int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_extref() 326 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_ref() 401 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, in btrfs_insert_empty_inode() 416 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | dir-item.c | 32 static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle in insert_with_overflow() 68 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, in btrfs_insert_xattr_item() 120 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item() 191 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_item() 284 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_index_item() 354 struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans, in btrfs_lookup_xattr() 420 int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, in btrfs_delete_one_dir_name()
|
| D | orphan.c | 22 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans, in btrfs_insert_orphan_item() 43 int btrfs_del_orphan_item(struct btrfs_trans_handle *trans, in btrfs_del_orphan_item()
|
| D | relocation.c | 476 static int update_backref_cache(struct btrfs_trans_handle *trans, in update_backref_cache() 1193 static int clone_backref_node(struct btrfs_trans_handle *trans, 1373 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans, 1448 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans, 1485 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans, 1634 int replace_file_extents(struct btrfs_trans_handle *trans, 1769 int replace_path(struct btrfs_trans_handle *trans, 2126 struct btrfs_trans_handle *trans = NULL; local 2278 struct btrfs_trans_handle *trans; local 2471 static int record_reloc_root_in_trans(struct btrfs_trans_handle *trans, [all …]
|
| D | tree-log.h | 46 struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit() 52 struct btrfs_trans_handle *trans) in btrfs_need_log_full_commit()
|
| D | ctree.c | 238 int btrfs_copy_root(struct btrfs_trans_handle *trans, in btrfs_copy_root() 953 static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, in update_ref_for_cow() 1069 static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, in __btrfs_cow_block() 1489 static inline int should_cow_block(struct btrfs_trans_handle *trans, in should_cow_block() 1524 noinline int btrfs_cow_block(struct btrfs_trans_handle *trans, in btrfs_cow_block() 1611 int btrfs_realloc_node(struct btrfs_trans_handle *trans, in btrfs_realloc_node() 1861 static noinline int balance_level(struct btrfs_trans_handle *trans, in balance_level() 2079 static noinline int push_nodes_for_insert(struct btrfs_trans_handle *trans, in push_nodes_for_insert() 2419 read_block_for_search(struct btrfs_trans_handle *trans, in read_block_for_search() 2502 setup_nodes_for_search(struct btrfs_trans_handle *trans, in setup_nodes_for_search() [all …]
|
| D | xattr.c | 91 static int do_setxattr(struct btrfs_trans_handle *trans, in do_setxattr() 233 int __btrfs_setxattr(struct btrfs_trans_handle *trans, in __btrfs_setxattr() 491 struct btrfs_trans_handle *trans = fs_info; in btrfs_initxattrs() local 513 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, in btrfs_xattr_security_init()
|
| D | acl.c | 75 static int __btrfs_set_acl(struct btrfs_trans_handle *trans, in __btrfs_set_acl() 139 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
|
| D | dev-replace.c | 194 int btrfs_run_dev_replace(struct btrfs_trans_handle *trans, in btrfs_run_dev_replace() 311 struct btrfs_trans_handle *trans; in btrfs_dev_replace_start() local 468 struct btrfs_trans_handle *trans; in btrfs_dev_replace_finishing() local 707 struct btrfs_trans_handle *trans; in __btrfs_dev_replace_cancel() local
|
| D | uuid-tree.c | 93 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_add() 157 int btrfs_uuid_tree_rem(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_rem() 241 struct btrfs_trans_handle *trans; in btrfs_uuid_iter_rem() local
|
| D | props.c | 100 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop() 298 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props() 338 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props() 348 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props()
|
| D | inode.c | 119 static int btrfs_init_inode_security(struct btrfs_trans_handle *trans, in btrfs_init_inode_security() 136 static int insert_inline_extent(struct btrfs_trans_handle *trans, in insert_inline_extent() 245 struct btrfs_trans_handle *trans; in cow_file_range_inline() local 1240 struct btrfs_trans_handle *trans; in run_delalloc_nocow() local 1986 static noinline int add_pending_csums(struct btrfs_trans_handle *trans, in add_pending_csums() 2122 static int insert_reserved_file_extent(struct btrfs_trans_handle *trans, in insert_reserved_file_extent() 2479 struct btrfs_trans_handle *trans; in relink_extent_backref() local 2874 struct btrfs_trans_handle *trans = NULL; in btrfs_finish_ordered_io() local 3217 void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, in btrfs_orphan_commit_root() 3266 int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode) in btrfs_orphan_add() [all …]
|
| D | ioctl.c | 220 struct btrfs_trans_handle *trans; in btrfs_ioctl_setflags() local 442 struct btrfs_trans_handle *trans; in create_subvol() local 666 struct btrfs_trans_handle *trans; in create_snapshot() local 1488 struct btrfs_trans_handle *trans; in btrfs_ioctl_resize() local 1795 struct btrfs_trans_handle *trans; in btrfs_ioctl_subvol_setflags() local 2373 struct btrfs_trans_handle *trans; in btrfs_ioctl_snap_destroy() local 3320 static int clone_finish_inode_update(struct btrfs_trans_handle *trans, in clone_finish_inode_update() 3354 const struct btrfs_trans_handle *trans, in clone_update_extent_map() 3437 struct btrfs_trans_handle *trans, in clone_copy_inline_extent() 3572 struct btrfs_trans_handle *trans; in btrfs_clone() local [all …]
|
| D | volumes.c | 1407 int find_free_dev_extent(struct btrfs_trans_handle *trans, in find_free_dev_extent() 1416 static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, in btrfs_free_dev_extent() 1474 static int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_dev_extent() 1578 static int btrfs_add_device(struct btrfs_trans_handle *trans, in btrfs_add_device() 1656 struct btrfs_trans_handle *trans; in btrfs_rm_dev_item() local 2170 static int btrfs_finish_sprout(struct btrfs_trans_handle *trans, in btrfs_finish_sprout() 2245 struct btrfs_trans_handle *trans; in btrfs_init_new_device() local 2560 static noinline int btrfs_update_device(struct btrfs_trans_handle *trans, in btrfs_update_device() 2608 int btrfs_grow_device(struct btrfs_trans_handle *trans, in btrfs_grow_device() 2646 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, in btrfs_free_chunk() [all …]
|
| D | file-item.c | 40 int btrfs_insert_file_extent(struct btrfs_trans_handle *trans, in btrfs_insert_file_extent() 87 btrfs_lookup_csum(struct btrfs_trans_handle *trans, in btrfs_lookup_csum() 139 int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans, in btrfs_lookup_file_extent() 566 int btrfs_del_csums(struct btrfs_trans_handle *trans, in btrfs_del_csums() 683 int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans, in btrfs_csum_file_blocks()
|
| /fs/btrfs/tests/ |
| D | qgroup-tests.c | 26 static void init_dummy_trans(struct btrfs_trans_handle *trans) in init_dummy_trans() 37 struct btrfs_trans_handle trans; in insert_normal_tree_ref() local 90 struct btrfs_trans_handle trans; in add_tree_ref() local 142 struct btrfs_trans_handle trans; in remove_extent_item() local 174 struct btrfs_trans_handle trans; in remove_extent_ref() local 229 struct btrfs_trans_handle trans; in test_no_shared_qgroup() local 323 struct btrfs_trans_handle trans; in test_multiple_refs() local
|
| /fs/xfs/ |
| D | xfs_attr_inactive.c | 48 struct xfs_trans **trans, in xfs_attr3_leaf_freextent() 120 struct xfs_trans **trans, in xfs_attr3_leaf_inactive() 209 struct xfs_trans **trans, in xfs_attr3_node_inactive() 327 struct xfs_trans **trans, in xfs_attr3_root_inactive() 395 struct xfs_trans *trans; in xfs_attr_inactive() local
|
| D | xfs_log_recover.c | 1496 struct xlog_recover *trans, in xlog_recover_reorder_trans() 3262 struct xlog_recover *trans, in xlog_recover_commit_pass1() 3290 struct xlog_recover *trans, in xlog_recover_commit_pass2() 3326 struct xlog_recover *trans, in xlog_recover_items_pass2() 3352 struct xlog_recover *trans, in xlog_recover_commit_trans() 3426 struct xlog_recover *trans, in xlog_recover_add_to_cont_trans() 3482 struct xlog_recover *trans, in xlog_recover_add_to_trans() 3564 struct xlog_recover *trans) in xlog_recover_free_trans() 3588 struct xlog_recover *trans, in xlog_recovery_process_trans() 3652 struct xlog_recover *trans; in xlog_recover_ophdr_to_trans() local [all …]
|