| /Linux-v5.4/fs/btrfs/ |
| D | transaction.h | 109 struct btrfs_trans_handle { struct 146 static inline void btrfs_set_inode_last_trans(struct btrfs_trans_handle *trans, in btrfs_set_inode_last_trans() argument 160 static inline void btrfs_set_skip_qgroup(struct btrfs_trans_handle *trans, in btrfs_set_skip_qgroup() 170 static inline void btrfs_clear_skip_qgroup(struct btrfs_trans_handle *trans) in btrfs_clear_skip_qgroup() 179 int btrfs_end_transaction(struct btrfs_trans_handle *trans); 180 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 182 struct btrfs_trans_handle *btrfs_start_transaction_fallback_global_rsv( 186 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 187 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root); 188 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root); [all …]
|
| D | tree-log.h | 33 static inline void btrfs_set_log_full_commit(struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit() 38 static inline int btrfs_need_log_full_commit(struct btrfs_trans_handle *trans) in btrfs_need_log_full_commit() 44 int btrfs_sync_log(struct btrfs_trans_handle *trans, 46 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); 47 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, 50 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, 55 int btrfs_del_dir_entries_in_log(struct btrfs_trans_handle *trans, 59 int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, 65 void btrfs_record_unlink_dir(struct btrfs_trans_handle *trans, 68 void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans, [all …]
|
| D | free-space-tree.h | 23 int add_block_group_free_space(struct btrfs_trans_handle *trans, 25 int remove_block_group_free_space(struct btrfs_trans_handle *trans, 27 int add_to_free_space_tree(struct btrfs_trans_handle *trans, 29 int remove_from_free_space_tree(struct btrfs_trans_handle *trans, 34 search_free_space_info(struct btrfs_trans_handle *trans, 37 int __add_to_free_space_tree(struct btrfs_trans_handle *trans, 40 int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, 43 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, 46 int convert_free_space_to_extents(struct btrfs_trans_handle *trans,
|
| D | qgroup.h | 241 int btrfs_add_qgroup_relation(struct btrfs_trans_handle *trans, u64 src, 243 int btrfs_del_qgroup_relation(struct btrfs_trans_handle *trans, u64 src, 245 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid); 246 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid); 247 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid, 306 int btrfs_qgroup_trace_extent(struct btrfs_trans_handle *trans, u64 bytenr, 315 int btrfs_qgroup_trace_leaf_items(struct btrfs_trans_handle *trans, 327 int btrfs_qgroup_trace_subtree(struct btrfs_trans_handle *trans, 330 int btrfs_qgroup_account_extent(struct btrfs_trans_handle *trans, u64 bytenr, 333 int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans); [all …]
|
| D | block-group.h | 197 struct btrfs_trans_handle *btrfs_start_trans_remove_block_group( 200 int btrfs_remove_block_group(struct btrfs_trans_handle *trans, 205 int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 bytes_used, 207 void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans); 210 int btrfs_start_dirty_block_groups(struct btrfs_trans_handle *trans); 211 int btrfs_write_dirty_block_groups(struct btrfs_trans_handle *trans); 212 int btrfs_setup_space_cache(struct btrfs_trans_handle *trans); 213 int btrfs_update_block_group(struct btrfs_trans_handle *trans, 219 int btrfs_chunk_alloc(struct btrfs_trans_handle *trans, u64 flags, 221 int btrfs_force_chunk_alloc(struct btrfs_trans_handle *trans, u64 type); [all …]
|
| D | delayed-inode.h | 88 int btrfs_insert_delayed_dir_index(struct btrfs_trans_handle *trans, 94 int btrfs_delete_delayed_dir_index(struct btrfs_trans_handle *trans, 99 int btrfs_run_delayed_items(struct btrfs_trans_handle *trans); 100 int btrfs_run_delayed_items_nr(struct btrfs_trans_handle *trans, int nr); 104 int btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, 112 int btrfs_delayed_update_inode(struct btrfs_trans_handle *trans,
|
| D | free-space-cache.h | 56 int create_free_space_inode(struct btrfs_trans_handle *trans, 62 int btrfs_truncate_free_space_cache(struct btrfs_trans_handle *trans, 66 int btrfs_wait_cache_io(struct btrfs_trans_handle *trans, 69 int btrfs_write_out_cache(struct btrfs_trans_handle *trans, 75 struct btrfs_trans_handle *trans, 80 struct btrfs_trans_handle *trans,
|
| D | ctree.h | 36 struct btrfs_trans_handle; 2401 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, 2407 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, 2417 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, 2423 void btrfs_free_tree_block(struct btrfs_trans_handle *trans, 2427 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, 2431 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, 2437 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, 2439 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, 2441 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, [all …]
|
| D | props.h | 13 int btrfs_set_prop(struct btrfs_trans_handle *trans, struct inode *inode, 20 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, 24 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans,
|
| D | delayed-ref.h | 335 int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans, 339 int btrfs_add_delayed_data_ref(struct btrfs_trans_handle *trans, 343 int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans, 346 void btrfs_merge_delayed_refs(struct btrfs_trans_handle *trans, 368 void btrfs_update_delayed_refs_rsv(struct btrfs_trans_handle *trans); 374 int btrfs_should_throttle_delayed_refs(struct btrfs_trans_handle *trans);
|
| D | transaction.c | 140 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_chunk_metadata() 280 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans() 341 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root() 360 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans() 438 static struct btrfs_trans_handle * 445 struct btrfs_trans_handle *h; in start_transaction() 608 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 615 struct btrfs_trans_handle *btrfs_start_transaction_fallback_global_rsv( in btrfs_start_transaction_fallback_global_rsv() 621 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() 656 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction() [all …]
|
| D | free-space-tree.c | 15 static int __add_block_group_free_space(struct btrfs_trans_handle *trans, 47 static int add_new_free_space_info(struct btrfs_trans_handle *trans, in add_new_free_space_info() 80 struct btrfs_trans_handle *trans, in search_free_space_info() 111 static int btrfs_search_prev_slot(struct btrfs_trans_handle *trans, in btrfs_search_prev_slot() 182 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, in convert_free_space_to_bitmaps() 322 int convert_free_space_to_extents(struct btrfs_trans_handle *trans, in convert_free_space_to_extents() 455 static int update_free_space_extent_count(struct btrfs_trans_handle *trans, in update_free_space_extent_count() 558 static int free_space_next_bitmap(struct btrfs_trans_handle *trans, in free_space_next_bitmap() 583 static int modify_free_space_bitmap(struct btrfs_trans_handle *trans, in modify_free_space_bitmap() 696 static int remove_free_space_extent(struct btrfs_trans_handle *trans, in remove_free_space_extent() [all …]
|
| D | xattr.h | 15 int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode, 21 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
|
| D | dir-item.c | 18 static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle in insert_with_overflow() 55 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, in btrfs_insert_xattr_item() 108 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, const char *name, in btrfs_insert_dir_item() 179 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_item() 272 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_index_item() 343 struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans, in btrfs_lookup_xattr() 407 int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, in btrfs_delete_one_dir_name()
|
| D | inode-item.c | 74 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, in btrfs_lookup_inode_extref() 98 static int btrfs_del_inode_extref(struct btrfs_trans_handle *trans, in btrfs_del_inode_extref() 171 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref() 251 static int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_extref() 309 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_ref() 388 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, in btrfs_insert_empty_inode() 403 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | root-tree.c | 120 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 199 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 281 struct btrfs_trans_handle *trans; in btrfs_find_orphan_roots() 329 int btrfs_del_root(struct btrfs_trans_handle *trans, in btrfs_del_root() 351 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref() 422 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref() 489 void btrfs_update_root_times(struct btrfs_trans_handle *trans, in btrfs_update_root_times()
|
| D | orphan.c | 9 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans, in btrfs_insert_orphan_item() 30 int btrfs_del_orphan_item(struct btrfs_trans_handle *trans, in btrfs_del_orphan_item()
|
| D | tree-log.c | 94 static int btrfs_log_inode(struct btrfs_trans_handle *trans, 100 static int link_to_fixup_dir(struct btrfs_trans_handle *trans, 103 static noinline int replay_dir_deletes(struct btrfs_trans_handle *trans, 137 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans() 282 struct btrfs_trans_handle *trans; 342 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item() 580 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent() 849 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item() 998 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref() 1227 static int unlink_old_inode_refs(struct btrfs_trans_handle *trans, in unlink_old_inode_refs() [all …]
|
| D | disk-io.h | 124 int btrfs_init_log_root_tree(struct btrfs_trans_handle *trans, 126 int btrfs_add_log_tree(struct btrfs_trans_handle *trans, 132 struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans,
|
| D | extent-tree.c | 39 static int __btrfs_free_extent(struct btrfs_trans_handle *trans, 47 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans, 51 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans, 150 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info() 476 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref() 552 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref() 631 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref() 719 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref() 743 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref() 818 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_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() 602 struct btrfs_trans_handle *trans, in btrfs_delayed_inode_reserve_metadata() 801 static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_item() 831 static int btrfs_insert_delayed_items(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_items() 870 static int btrfs_batch_delete_items(struct btrfs_trans_handle *trans, in btrfs_batch_delete_items() 933 static int btrfs_delete_delayed_items(struct btrfs_trans_handle *trans, in btrfs_delete_delayed_items() 1005 static int __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in __btrfs_update_delayed_inode() 1088 static inline int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in btrfs_update_delayed_inode() 1107 __btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_commit_inode_delayed_items() 1131 static int __btrfs_run_delayed_items(struct btrfs_trans_handle *trans, int nr) in __btrfs_run_delayed_items() [all …]
|
| D | block-rsv.h | 6 struct btrfs_trans_handle; 82 struct btrfs_block_rsv *btrfs_use_block_rsv(struct btrfs_trans_handle *trans,
|
| /Linux-v5.4/fs/btrfs/tests/ |
| D | free-space-tree-tests.c | 19 static int __check_free_space_extents(struct btrfs_trans_handle *trans, in __check_free_space_extents() 108 static int check_free_space_extents(struct btrfs_trans_handle *trans, in check_free_space_extents() 151 static int test_empty_block_group(struct btrfs_trans_handle *trans, in test_empty_block_group() 165 static int test_remove_all(struct btrfs_trans_handle *trans, in test_remove_all() 186 static int test_remove_beginning(struct btrfs_trans_handle *trans, in test_remove_beginning() 210 static int test_remove_end(struct btrfs_trans_handle *trans, in test_remove_end() 234 static int test_remove_middle(struct btrfs_trans_handle *trans, in test_remove_middle() 259 static int test_merge_left(struct btrfs_trans_handle *trans, in test_merge_left() 297 static int test_merge_right(struct btrfs_trans_handle *trans, in test_merge_right() 336 static int test_merge_both(struct btrfs_trans_handle *trans, in test_merge_both() [all …]
|
| D | btrfs-tests.h | 31 struct btrfs_trans_handle; 47 void btrfs_init_dummy_trans(struct btrfs_trans_handle *trans,
|
| D | qgroup-tests.c | 17 struct btrfs_trans_handle trans; in insert_normal_tree_ref() 70 struct btrfs_trans_handle trans; in add_tree_ref() 122 struct btrfs_trans_handle trans; in remove_extent_item() 154 struct btrfs_trans_handle trans; in remove_extent_ref() 210 struct btrfs_trans_handle trans; in test_no_shared_qgroup() 311 struct btrfs_trans_handle trans; in test_multiple_refs()
|