| /fs/btrfs/ |
| D | transaction.c | 129 static noinline void switch_commit_roots(struct btrfs_transaction *trans, in switch_commit_roots() 159 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc() 166 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec() 173 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init() 179 static inline int extwriter_counter_read(struct btrfs_transaction *trans) in extwriter_counter_read() 313 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans() 374 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root() 393 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans() 417 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked() 626 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() local [all …]
|
| D | free-space-tree.c | 60 static int add_new_free_space_info(struct btrfs_trans_handle *trans, in add_new_free_space_info() 93 search_free_space_info(struct btrfs_trans_handle *trans, in search_free_space_info() 124 static int btrfs_search_prev_slot(struct btrfs_trans_handle *trans, in btrfs_search_prev_slot() 173 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, in convert_free_space_to_bitmaps() 311 int convert_free_space_to_extents(struct btrfs_trans_handle *trans, in convert_free_space_to_extents() 461 static int update_free_space_extent_count(struct btrfs_trans_handle *trans, in update_free_space_extent_count() 566 static int free_space_next_bitmap(struct btrfs_trans_handle *trans, in free_space_next_bitmap() 591 static int modify_free_space_bitmap(struct btrfs_trans_handle *trans, in modify_free_space_bitmap() 705 static int remove_free_space_extent(struct btrfs_trans_handle *trans, in remove_free_space_extent() 792 int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, in __remove_from_free_space_tree() [all …]
|
| D | tree-log.c | 143 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans() 287 struct btrfs_trans_handle *trans; member 347 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item() 591 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent() 856 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item() 1004 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref() 1241 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref() 1373 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item() 1496 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count() 1544 static noinline int fixup_inode_link_counts(struct btrfs_trans_handle *trans, in fixup_inode_link_counts() [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() 200 static bool merge_ref(struct btrfs_trans_handle *trans, in merge_ref() 267 void btrfs_merge_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_merge_delayed_refs() 339 btrfs_select_ref_head(struct btrfs_trans_handle *trans) in btrfs_select_ref_head() 393 add_delayed_ref_tail_merge(struct btrfs_trans_handle *trans, in add_delayed_ref_tail_merge() 549 struct btrfs_trans_handle *trans, in add_delayed_ref_head() 672 struct btrfs_trans_handle *trans, in add_delayed_tree_ref() 728 struct btrfs_trans_handle *trans, in add_delayed_data_ref() 784 struct btrfs_trans_handle *trans, in btrfs_add_delayed_tree_ref() [all …]
|
| D | root-tree.c | 131 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 210 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 294 struct btrfs_trans_handle *trans; in btrfs_find_orphan_roots() local 340 int btrfs_del_root(struct btrfs_trans_handle *trans, in btrfs_del_root() 362 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, in btrfs_del_root_ref() 441 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, in btrfs_add_root_ref() 509 void btrfs_update_root_times(struct btrfs_trans_handle *trans, in btrfs_update_root_times()
|
| D | qgroup.c | 469 static int add_qgroup_relation_item(struct btrfs_trans_handle *trans, in add_qgroup_relation_item() 493 static int del_qgroup_relation_item(struct btrfs_trans_handle *trans, in del_qgroup_relation_item() 524 static int add_qgroup_item(struct btrfs_trans_handle *trans, in add_qgroup_item() 592 static int del_qgroup_item(struct btrfs_trans_handle *trans, in del_qgroup_item() 638 static int update_qgroup_limit_item(struct btrfs_trans_handle *trans, in update_qgroup_limit_item() 680 static int update_qgroup_info_item(struct btrfs_trans_handle *trans, in update_qgroup_info_item() 725 static int update_qgroup_status_item(struct btrfs_trans_handle *trans) in update_qgroup_status_item() 769 static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans, in btrfs_clean_quota_tree() 814 int btrfs_quota_enable(struct btrfs_trans_handle *trans, in btrfs_quota_enable() 945 int btrfs_quota_disable(struct btrfs_trans_handle *trans, in btrfs_quota_disable() [all …]
|
| D | delayed-inode.c | 553 static int btrfs_delayed_item_reserve_metadata(struct btrfs_trans_handle *trans, in btrfs_delayed_item_reserve_metadata() 597 struct btrfs_trans_handle *trans, in btrfs_delayed_inode_reserve_metadata() 829 static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_item() 860 static int btrfs_insert_delayed_items(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_items() 899 static int btrfs_batch_delete_items(struct btrfs_trans_handle *trans, in btrfs_batch_delete_items() 963 static int btrfs_delete_delayed_items(struct btrfs_trans_handle *trans, in btrfs_delete_delayed_items() 1035 static int __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in __btrfs_update_delayed_inode() 1118 static inline int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in btrfs_update_delayed_inode() 1137 __btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_commit_inode_delayed_items() 1161 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() 402 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, in btrfs_insert_empty_inode() 417 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | extent-tree.c | 833 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info() 1069 static int convert_extent_item_v0(struct btrfs_trans_handle *trans, in convert_extent_item_v0() 1244 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref() 1332 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref() 1412 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref() 1517 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref() 1551 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref() 1627 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref() 1891 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref() 1993 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref() [all …]
|
| D | dir-item.c | 32 static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle in insert_with_overflow() 69 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, in btrfs_insert_xattr_item() 122 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item() 193 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_item() 286 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_index_item() 357 struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans, in btrfs_lookup_xattr() 423 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 | 479 static int update_backref_cache(struct btrfs_trans_handle *trans, in update_backref_cache() 1209 static int clone_backref_node(struct btrfs_trans_handle *trans, 1391 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans, 1468 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans, 1506 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans, 1655 int replace_file_extents(struct btrfs_trans_handle *trans, 1791 int replace_path(struct btrfs_trans_handle *trans, 2176 struct btrfs_trans_handle *trans = NULL; local 2329 struct btrfs_trans_handle *trans; local 2497 static int record_reloc_root_in_trans(struct btrfs_trans_handle *trans, [all …]
|
| D | tree-log.h | 49 struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit() 55 struct btrfs_trans_handle *trans) in btrfs_need_log_full_commit()
|
| D | xattr.c | 91 static int do_setxattr(struct btrfs_trans_handle *trans, in do_setxattr() 235 int __btrfs_setxattr(struct btrfs_trans_handle *trans, in __btrfs_setxattr() 443 struct btrfs_trans_handle *trans = fs_info; in btrfs_initxattrs() local 465 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, in btrfs_xattr_security_init()
|
| D | acl.c | 72 static int __btrfs_set_acl(struct btrfs_trans_handle *trans, in __btrfs_set_acl() 144 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
|
| D | ctree.c | 240 int btrfs_copy_root(struct btrfs_trans_handle *trans, in btrfs_copy_root() 952 static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, in update_ref_for_cow() 1075 static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, in __btrfs_cow_block() 1476 static inline int should_cow_block(struct btrfs_trans_handle *trans, in should_cow_block() 1511 noinline int btrfs_cow_block(struct btrfs_trans_handle *trans, in btrfs_cow_block() 1600 int btrfs_realloc_node(struct btrfs_trans_handle *trans, in btrfs_realloc_node() 1857 static noinline int balance_level(struct btrfs_trans_handle *trans, in balance_level() 2082 static noinline int push_nodes_for_insert(struct btrfs_trans_handle *trans, in push_nodes_for_insert() 2508 setup_nodes_for_search(struct btrfs_trans_handle *trans, in setup_nodes_for_search() 2653 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_search_slot() [all …]
|
| D | uuid-tree.c | 94 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_add() 159 int btrfs_uuid_tree_rem(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_rem() 244 struct btrfs_trans_handle *trans; in btrfs_uuid_iter_rem() local
|
| D | dev-replace.c | 191 int btrfs_run_dev_replace(struct btrfs_trans_handle *trans, in btrfs_run_dev_replace() 312 struct btrfs_trans_handle *trans; in btrfs_dev_replace_start() local 485 struct btrfs_trans_handle *trans; in btrfs_dev_replace_finishing() local 720 struct btrfs_trans_handle *trans; in __btrfs_dev_replace_cancel() local
|
| D | props.c | 101 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop() 306 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props() 347 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props() 357 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props()
|
| D | inode.c | 164 static int btrfs_init_inode_security(struct btrfs_trans_handle *trans, in btrfs_init_inode_security() 181 static int insert_inline_extent(struct btrfs_trans_handle *trans, in insert_inline_extent() 287 struct btrfs_trans_handle *trans; in cow_file_range_inline() local 2085 static noinline int add_pending_csums(struct btrfs_trans_handle *trans, in add_pending_csums() 2223 static int insert_reserved_file_extent(struct btrfs_trans_handle *trans, in insert_reserved_file_extent() 2582 struct btrfs_trans_handle *trans; in relink_extent_backref() local 2978 struct btrfs_trans_handle *trans = NULL; in btrfs_finish_ordered_io() local 3340 void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, in btrfs_orphan_commit_root() 3390 int btrfs_orphan_add(struct btrfs_trans_handle *trans, in btrfs_orphan_add() 3498 static int btrfs_orphan_del(struct btrfs_trans_handle *trans, in btrfs_orphan_del() [all …]
|
| D | ioctl.c | 190 struct btrfs_trans_handle *trans; in btrfs_ioctl_setflags() local 426 struct btrfs_trans_handle *trans; in create_subvol() local 656 struct btrfs_trans_handle *trans; in create_snapshot() local 1487 struct btrfs_trans_handle *trans; in btrfs_ioctl_resize() local 1794 struct btrfs_trans_handle *trans; in btrfs_ioctl_subvol_setflags() local 2359 struct btrfs_trans_handle *trans; in btrfs_ioctl_snap_destroy() local 3300 static int clone_finish_inode_update(struct btrfs_trans_handle *trans, in clone_finish_inode_update() 3334 const struct btrfs_trans_handle *trans, in clone_update_extent_map() 3414 struct btrfs_trans_handle *trans, in clone_copy_inline_extent() 3551 struct btrfs_trans_handle *trans; in btrfs_clone() local [all …]
|
| D | volumes.c | 1504 int find_free_dev_extent(struct btrfs_trans_handle *trans, in find_free_dev_extent() 1513 static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, in btrfs_free_dev_extent() 1572 static int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_dev_extent() 1675 static int btrfs_add_device(struct btrfs_trans_handle *trans, in btrfs_add_device() 1752 struct btrfs_trans_handle *trans; in btrfs_rm_dev_item() local 2246 static int btrfs_finish_sprout(struct btrfs_trans_handle *trans, in btrfs_finish_sprout() 2321 struct btrfs_trans_handle *trans; in btrfs_init_new_device() local 2634 static noinline int btrfs_update_device(struct btrfs_trans_handle *trans, in btrfs_update_device() 2680 int btrfs_grow_device(struct btrfs_trans_handle *trans, in btrfs_grow_device() 2721 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, in btrfs_free_chunk() [all …]
|
| /fs/btrfs/tests/ |
| D | free-space-tree-tests.c | 31 static int __check_free_space_extents(struct btrfs_trans_handle *trans, in __check_free_space_extents() 120 static int check_free_space_extents(struct btrfs_trans_handle *trans, in check_free_space_extents() 163 static int test_empty_block_group(struct btrfs_trans_handle *trans, in test_empty_block_group() 177 static int test_remove_all(struct btrfs_trans_handle *trans, in test_remove_all() 198 static int test_remove_beginning(struct btrfs_trans_handle *trans, in test_remove_beginning() 222 static int test_remove_end(struct btrfs_trans_handle *trans, in test_remove_end() 246 static int test_remove_middle(struct btrfs_trans_handle *trans, in test_remove_middle() 271 static int test_merge_left(struct btrfs_trans_handle *trans, in test_merge_left() 309 static int test_merge_right(struct btrfs_trans_handle *trans, in test_merge_right() 348 static int test_merge_both(struct btrfs_trans_handle *trans, in test_merge_both() [all …]
|
| D | qgroup-tests.c | 30 struct btrfs_trans_handle trans; in insert_normal_tree_ref() local 83 struct btrfs_trans_handle trans; in add_tree_ref() local 135 struct btrfs_trans_handle trans; in remove_extent_item() local 167 struct btrfs_trans_handle trans; in remove_extent_ref() local 223 struct btrfs_trans_handle trans; in test_no_shared_qgroup() local 320 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() 329 struct xfs_trans **trans, in xfs_attr3_root_inactive() 397 struct xfs_trans *trans; in xfs_attr_inactive() local
|