Home
last modified time | relevance | path

Searched refs:btrfs_trans_handle (Results 1 – 25 of 71) sorted by relevance

123

/linux/fs/btrfs/
A Dtree-log.h19 struct btrfs_trans_handle;
62 static inline void btrfs_set_log_full_commit(struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit()
73 int btrfs_sync_log(struct btrfs_trans_handle *trans,
76 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans,
79 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans,
82 void btrfs_del_dir_entries_in_log(struct btrfs_trans_handle *trans,
86 void btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans,
92 void btrfs_record_unlink_dir(struct btrfs_trans_handle *trans,
95 void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans,
97 void btrfs_record_new_subvolume(const struct btrfs_trans_handle *trans,
[all …]
A Dtransaction.h142 struct btrfs_trans_handle { struct
258 int btrfs_end_transaction(struct btrfs_trans_handle *trans);
261 struct btrfs_trans_handle *btrfs_start_transaction_fallback_global_rsv(
268 struct btrfs_trans_handle *btrfs_attach_transaction_barrier(
275 int btrfs_commit_transaction(struct btrfs_trans_handle *trans);
276 void btrfs_commit_transaction_async(struct btrfs_trans_handle *trans);
278 int btrfs_end_transaction_throttle(struct btrfs_trans_handle *trans);
279 bool btrfs_should_end_transaction(struct btrfs_trans_handle *trans);
281 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
288 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans,
[all …]
A Dextent-tree.h105 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes);
110 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans,
114 int btrfs_pin_extent(struct btrfs_trans_handle *trans, u64 bytenr, u64 num,
116 int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans,
130 int btrfs_free_tree_block(struct btrfs_trans_handle *trans,
134 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
138 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans,
148 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans,
156 int btrfs_pin_reserved_extent(struct btrfs_trans_handle *trans,
158 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans);
[all …]
A Dfree-space-tree.h15 struct btrfs_trans_handle;
30 int add_block_group_free_space(struct btrfs_trans_handle *trans,
32 int remove_block_group_free_space(struct btrfs_trans_handle *trans,
34 int add_to_free_space_tree(struct btrfs_trans_handle *trans,
36 int remove_from_free_space_tree(struct btrfs_trans_handle *trans,
41 search_free_space_info(struct btrfs_trans_handle *trans,
44 int __add_to_free_space_tree(struct btrfs_trans_handle *trans,
47 int __remove_from_free_space_tree(struct btrfs_trans_handle *trans,
50 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans,
53 int convert_free_space_to_extents(struct btrfs_trans_handle *trans,
A Dqgroup.h22 struct btrfs_trans_handle;
335 int btrfs_del_qgroup_relation(struct btrfs_trans_handle *trans, u64 src,
337 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid);
340 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid,
349 int btrfs_qgroup_trace_extent_post(struct btrfs_trans_handle *trans,
353 int btrfs_qgroup_trace_leaf_items(struct btrfs_trans_handle *trans,
355 int btrfs_qgroup_trace_subtree(struct btrfs_trans_handle *trans,
361 int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans);
362 int btrfs_run_qgroups(struct btrfs_trans_handle *trans);
366 int btrfs_qgroup_inherit(struct btrfs_trans_handle *trans, u64 srcid,
[all …]
A Droot-tree.h16 struct btrfs_trans_handle;
21 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
24 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
27 int btrfs_del_root(struct btrfs_trans_handle *trans, const struct btrfs_key *key);
28 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
31 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
40 void btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root);
A Dblock-group.h21 struct btrfs_trans_handle;
317 struct btrfs_trans_handle *btrfs_start_trans_remove_block_group(
320 int btrfs_remove_block_group(struct btrfs_trans_handle *trans,
331 void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans);
335 int btrfs_start_dirty_block_groups(struct btrfs_trans_handle *trans);
336 int btrfs_write_dirty_block_groups(struct btrfs_trans_handle *trans);
337 int btrfs_setup_space_cache(struct btrfs_trans_handle *trans);
338 int btrfs_update_block_group(struct btrfs_trans_handle *trans,
345 int btrfs_chunk_alloc(struct btrfs_trans_handle *trans, u64 flags,
347 int btrfs_force_chunk_alloc(struct btrfs_trans_handle *trans, u64 type);
[all …]
A Ddir-item.h14 struct btrfs_trans_handle;
18 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans,
21 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans,
26 struct btrfs_trans_handle *trans,
33 int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans,
37 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans,
42 struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans,
A Dinode-item.h11 struct btrfs_trans_handle;
88 int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
91 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans,
94 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans,
97 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans,
100 int btrfs_lookup_inode(struct btrfs_trans_handle *trans,
105 struct btrfs_trans_handle *trans,
A Dctree.h27 struct btrfs_trans_handle;
546 void btrfs_set_item_key_safe(struct btrfs_trans_handle *trans,
559 int btrfs_cow_block(struct btrfs_trans_handle *trans,
564 int btrfs_force_cow_block(struct btrfs_trans_handle *trans,
571 int btrfs_copy_root(struct btrfs_trans_handle *trans,
575 bool btrfs_block_can_be_shared(struct btrfs_trans_handle *trans,
580 void btrfs_extend_item(struct btrfs_trans_handle *trans,
582 void btrfs_truncate_item(struct btrfs_trans_handle *trans,
584 int btrfs_split_item(struct btrfs_trans_handle *trans,
589 int btrfs_duplicate_item(struct btrfs_trans_handle *trans,
[all …]
A Drelocation.h11 struct btrfs_trans_handle;
16 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root);
17 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans,
21 int btrfs_reloc_cow_block(struct btrfs_trans_handle *trans,
27 int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans,
A Ddelayed-inode.h25 struct btrfs_trans_handle;
110 int btrfs_insert_delayed_dir_index(struct btrfs_trans_handle *trans,
116 int btrfs_delete_delayed_dir_index(struct btrfs_trans_handle *trans,
121 int btrfs_run_delayed_items(struct btrfs_trans_handle *trans);
122 int btrfs_run_delayed_items_nr(struct btrfs_trans_handle *trans, int nr);
126 int btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans,
134 int btrfs_delayed_update_inode(struct btrfs_trans_handle *trans,
A Dacl.h8 struct btrfs_trans_handle;
18 int __btrfs_set_acl(struct btrfs_trans_handle *trans, struct inode *inode,
25 struct btrfs_trans_handle;
29 static inline int __btrfs_set_acl(struct btrfs_trans_handle *trans, in __btrfs_set_acl()
A Dfile-item.h15 struct btrfs_trans_handle;
52 int btrfs_del_csums(struct btrfs_trans_handle *trans,
55 int btrfs_insert_hole_extent(struct btrfs_trans_handle *trans,
58 int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans,
62 int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
A Ddisk-io.h21 struct btrfs_trans_handle;
114 void btrfs_mark_buffer_dirty(struct btrfs_trans_handle *trans,
122 int btrfs_alloc_log_tree_node(struct btrfs_trans_handle *trans,
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,
A Dorphan.h8 struct btrfs_trans_handle;
11 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
13 int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
A Dfree-space-cache.h20 struct btrfs_trans_handle;
116 int create_free_space_inode(struct btrfs_trans_handle *trans,
119 int btrfs_remove_free_space_inode(struct btrfs_trans_handle *trans,
123 int btrfs_truncate_free_space_cache(struct btrfs_trans_handle *trans,
127 int btrfs_wait_cache_io(struct btrfs_trans_handle *trans,
130 int btrfs_write_out_cache(struct btrfs_trans_handle *trans,
A Duuid-tree.h8 struct btrfs_trans_handle;
11 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
13 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
A Dfile.h19 struct btrfs_trans_handle;
24 int btrfs_drop_extents(struct btrfs_trans_handle *trans,
31 struct btrfs_trans_handle **trans_out);
32 int btrfs_mark_extent_written(struct btrfs_trans_handle *trans,
A Dprops.h14 struct btrfs_trans_handle;
18 int btrfs_set_prop(struct btrfs_trans_handle *trans, struct btrfs_inode *inode,
27 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans,
A Dxattr.h13 struct btrfs_trans_handle;
19 int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
25 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
A Draid-stripe-tree.h22 struct btrfs_trans_handle;
24 int btrfs_delete_raid_extent(struct btrfs_trans_handle *trans, u64 start, u64 length);
28 int btrfs_insert_raid_extent(struct btrfs_trans_handle *trans,
A Dtransaction.c399 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
460 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
479 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
588 static struct btrfs_trans_handle *
596 struct btrfs_trans_handle *h; in start_transaction()
873 struct btrfs_trans_handle *
876 struct btrfs_trans_handle *trans; in btrfs_attach_transaction_barrier()
1102 int btrfs_end_transaction(struct btrfs_trans_handle *trans) in btrfs_end_transaction()
1283 static int update_cowonly_root(struct btrfs_trans_handle *trans, in update_cowonly_root()
1998 struct btrfs_trans_handle *trans; in btrfs_commit_current_transaction()
[all …]
A Dbtrfs_inode.h34 struct btrfs_trans_handle;
534 int btrfs_unlink_inode(struct btrfs_trans_handle *trans,
537 int btrfs_add_link(struct btrfs_trans_handle *trans,
567 int btrfs_create_new_inode(struct btrfs_trans_handle *trans,
593 int btrfs_update_inode(struct btrfs_trans_handle *trans,
595 int btrfs_update_inode_fallback(struct btrfs_trans_handle *trans,
597 int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct btrfs_inode *inode);
607 struct btrfs_trans_handle *trans, int mode,
/linux/fs/btrfs/tests/
A Dfree-space-tree-tests.c20 static int __check_free_space_extents(struct btrfs_trans_handle *trans, in __check_free_space_extents()
164 static int test_remove_all(struct btrfs_trans_handle *trans, in test_remove_all()
185 static int test_remove_beginning(struct btrfs_trans_handle *trans, in test_remove_beginning()
208 static int test_remove_end(struct btrfs_trans_handle *trans, in test_remove_end()
231 static int test_remove_middle(struct btrfs_trans_handle *trans, in test_remove_middle()
255 static int test_merge_left(struct btrfs_trans_handle *trans, in test_merge_left()
292 static int test_merge_right(struct btrfs_trans_handle *trans, in test_merge_right()
330 static int test_merge_both(struct btrfs_trans_handle *trans, in test_merge_both()
373 static int test_merge_none(struct btrfs_trans_handle *trans, in test_merge_none()
418 typedef int (*test_func_t)(struct btrfs_trans_handle *,
[all …]

Completed in 46 milliseconds

123