Home
last modified time | relevance | path

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

12

/linux-2.6.39/fs/btrfs/
Dtransaction.h46 struct btrfs_trans_handle { struct
69 static inline void btrfs_set_trans_block_group(struct btrfs_trans_handle *trans, in btrfs_set_trans_block_group() argument
76 struct btrfs_trans_handle *trans, in btrfs_update_inode_block_group()
82 static inline void btrfs_set_inode_last_trans(struct btrfs_trans_handle *trans, in btrfs_set_inode_last_trans()
89 int btrfs_end_transaction(struct btrfs_trans_handle *trans,
91 int btrfs_end_transaction_nolock(struct btrfs_trans_handle *trans,
93 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root,
95 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root,
97 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root,
99 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r,
[all …]
Dtree-log.h25 int btrfs_sync_log(struct btrfs_trans_handle *trans,
27 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root);
28 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans,
31 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans,
33 int btrfs_del_dir_entries_in_log(struct btrfs_trans_handle *trans,
37 int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans,
44 int btrfs_log_inode_parent(struct btrfs_trans_handle *trans,
47 void btrfs_record_unlink_dir(struct btrfs_trans_handle *trans,
50 int btrfs_log_new_name(struct btrfs_trans_handle *trans,
Dctree.h37 struct btrfs_trans_handle;
2103 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
2106 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans,
2111 int btrfs_drop_leaf_ref(struct btrfs_trans_handle *trans,
2113 int btrfs_cross_ref_exist(struct btrfs_trans_handle *trans,
2123 struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans,
2128 void btrfs_free_tree_block(struct btrfs_trans_handle *trans,
2132 struct extent_buffer *btrfs_init_new_buffer(struct btrfs_trans_handle *trans,
2136 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
2140 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans,
[all …]
Ddelayed-ref.h154 int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans,
158 int btrfs_add_delayed_data_ref(struct btrfs_trans_handle *trans,
163 int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
168 btrfs_find_delayed_ref_head(struct btrfs_trans_handle *trans, u64 bytenr);
169 int btrfs_delayed_ref_pending(struct btrfs_trans_handle *trans, u64 bytenr);
170 int btrfs_update_delayed_ref(struct btrfs_trans_handle *trans,
175 int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans,
177 int btrfs_find_ref_cluster(struct btrfs_trans_handle *trans,
Dfree-space-cache.h34 struct btrfs_trans_handle *trans,
39 struct btrfs_trans_handle *trans,
45 struct btrfs_trans_handle *trans,
59 int btrfs_find_space_cluster(struct btrfs_trans_handle *trans,
Dtransaction.c102 static noinline int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
118 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
177 static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, in start_transaction()
180 struct btrfs_trans_handle *h; in start_transaction()
255 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
260 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root, in btrfs_join_transaction()
266 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root, in btrfs_join_transaction_nolock()
272 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r, in btrfs_start_ioctl_transaction()
401 static int should_end_transaction(struct btrfs_trans_handle *trans, in should_end_transaction()
410 int btrfs_should_end_transaction(struct btrfs_trans_handle *trans, in btrfs_should_end_transaction()
[all …]
Dvolumes.h181 int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans,
193 int btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
206 int btrfs_add_device(struct btrfs_trans_handle *trans,
214 int btrfs_grow_device(struct btrfs_trans_handle *trans,
224 int find_free_dev_extent(struct btrfs_trans_handle *trans,
Ddelayed-ref.c188 int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans, in btrfs_delayed_ref_lock()
212 int btrfs_find_ref_cluster(struct btrfs_trans_handle *trans, in btrfs_find_ref_cluster()
296 int btrfs_delayed_ref_pending(struct btrfs_trans_handle *trans, u64 bytenr) in btrfs_delayed_ref_pending()
330 update_existing_ref(struct btrfs_trans_handle *trans, in update_existing_ref()
431 static noinline int add_delayed_ref_head(struct btrfs_trans_handle *trans, in add_delayed_ref_head()
509 static noinline int add_delayed_tree_ref(struct btrfs_trans_handle *trans, in add_delayed_tree_ref()
563 static noinline int add_delayed_data_ref(struct btrfs_trans_handle *trans, in add_delayed_data_ref()
621 int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans, in btrfs_add_delayed_tree_ref()
665 int btrfs_add_delayed_data_ref(struct btrfs_trans_handle *trans, in btrfs_add_delayed_data_ref()
707 int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans, in btrfs_add_delayed_extent_op()
[all …]
Ddisk-io.h45 int clean_tree_block(struct btrfs_trans_handle *trans,
51 int write_ctree_super(struct btrfs_trans_handle *trans,
99 int btrfs_init_log_root_tree(struct btrfs_trans_handle *trans,
101 int btrfs_add_log_tree(struct btrfs_trans_handle *trans,
Dtree-log.c94 static int btrfs_log_inode(struct btrfs_trans_handle *trans,
97 static int link_to_fixup_dir(struct btrfs_trans_handle *trans,
100 static noinline int replay_dir_deletes(struct btrfs_trans_handle *trans,
134 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans()
260 struct btrfs_trans_handle *trans;
305 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item()
480 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent()
656 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item()
792 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref()
931 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item()
[all …]
Dxattr.h30 extern int __btrfs_setxattr(struct btrfs_trans_handle *trans,
39 extern int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
Dinode-item.c53 btrfs_lookup_inode_ref(struct btrfs_trans_handle *trans, in btrfs_lookup_inode_ref()
79 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref()
139 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_ref()
197 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, in btrfs_insert_empty_inode()
212 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
Ddir-item.c32 static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle in insert_with_overflow()
70 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, in btrfs_insert_xattr_item()
126 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item()
211 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_item()
258 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans, in btrfs_lookup_dir_index_item()
328 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()
Dorphan.c22 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()
Dctree.c27 static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root
29 static int split_leaf(struct btrfs_trans_handle *trans, struct btrfs_root
32 static int push_node_left(struct btrfs_trans_handle *trans,
35 static int balance_node_right(struct btrfs_trans_handle *trans,
39 static int del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root,
41 static int setup_items_for_insert(struct btrfs_trans_handle *trans,
194 int btrfs_copy_root(struct btrfs_trans_handle *trans, in btrfs_copy_root()
275 static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, in update_ref_for_cow()
382 static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, in __btrfs_cow_block()
486 static inline int should_cow_block(struct btrfs_trans_handle *trans, in should_cow_block()
[all …]
Dextent-tree.c55 static int update_block_group(struct btrfs_trans_handle *trans,
58 static int __btrfs_free_extent(struct btrfs_trans_handle *trans,
67 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
72 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans,
77 static int do_chunk_alloc(struct btrfs_trans_handle *trans,
443 struct btrfs_trans_handle *trans, in cache_block_group()
686 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
891 static int convert_extent_item_v0(struct btrfs_trans_handle *trans, in convert_extent_item_v0()
1008 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
1095 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
[all …]
Droot-tree.c133 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root()
167 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_root()
327 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_root()
352 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, in btrfs_del_root_ref()
432 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, in btrfs_add_root_ref()
Dacl.c108 static int btrfs_set_acl(struct btrfs_trans_handle *trans, in btrfs_set_acl()
225 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
329 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
Dxattr.c88 static int do_setxattr(struct btrfs_trans_handle *trans, in do_setxattr()
147 int __btrfs_setxattr(struct btrfs_trans_handle *trans, in __btrfs_setxattr()
365 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, in btrfs_xattr_security_init()
Dinode.c95 static int btrfs_init_inode_security(struct btrfs_trans_handle *trans, in btrfs_init_inode_security()
112 static noinline int insert_inline_extent(struct btrfs_trans_handle *trans, in insert_inline_extent()
219 static noinline int cow_file_range_inline(struct btrfs_trans_handle *trans, in cow_file_range_inline()
326 struct btrfs_trans_handle *trans; in compress_file_range()
562 struct btrfs_trans_handle *trans; in submit_compressed_extents()
768 struct btrfs_trans_handle *trans; in cow_file_range()
1036 struct btrfs_trans_handle *trans; in run_delalloc_nocow()
1497 static noinline int add_pending_csums(struct btrfs_trans_handle *trans, in add_pending_csums()
1614 static int insert_reserved_file_extent(struct btrfs_trans_handle *trans, in insert_reserved_file_extent()
1698 struct btrfs_trans_handle *trans = NULL; in btrfs_finish_ordered_io()
[all …]
Drelocation.c460 static int update_backref_cache(struct btrfs_trans_handle *trans, in update_backref_cache()
1115 static int clone_backref_node(struct btrfs_trans_handle *trans,
1258 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans,
1326 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans,
1359 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans,
1508 int replace_file_extents(struct btrfs_trans_handle *trans,
1636 int replace_path(struct btrfs_trans_handle *trans,
1983 struct btrfs_trans_handle *trans;
2134 struct btrfs_trans_handle *trans;
2253 static int record_reloc_root_in_trans(struct btrfs_trans_handle *trans,
[all …]
Dfile-item.c37 int btrfs_insert_file_extent(struct btrfs_trans_handle *trans, in btrfs_insert_file_extent()
83 struct btrfs_csum_item *btrfs_lookup_csum(struct btrfs_trans_handle *trans, in btrfs_lookup_csum()
135 int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans, in btrfs_lookup_file_extent()
469 static noinline int truncate_one_csum(struct btrfs_trans_handle *trans, in truncate_one_csum()
526 int btrfs_del_csums(struct btrfs_trans_handle *trans, in btrfs_del_csums()
641 int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans, in btrfs_csum_file_blocks()
Dinode-map.c58 int btrfs_find_free_objectid(struct btrfs_trans_handle *trans, in btrfs_find_free_objectid()
Dvolumes.c36 static int init_first_rw_device(struct btrfs_trans_handle *trans,
795 int find_free_dev_extent(struct btrfs_trans_handle *trans, in find_free_dev_extent()
928 static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, in btrfs_free_dev_extent()
976 int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_dev_extent()
1102 int btrfs_add_device(struct btrfs_trans_handle *trans, in btrfs_add_device()
1162 struct btrfs_trans_handle *trans; in btrfs_rm_dev_item()
1386 static int btrfs_prepare_sprout(struct btrfs_trans_handle *trans, in btrfs_prepare_sprout()
1441 static int btrfs_finish_sprout(struct btrfs_trans_handle *trans, in btrfs_finish_sprout()
1516 struct btrfs_trans_handle *trans; in btrfs_init_new_device()
1671 static noinline int btrfs_update_device(struct btrfs_trans_handle *trans, in btrfs_update_device()
[all …]
Dtree-defrag.c31 int btrfs_defrag_leaves(struct btrfs_trans_handle *trans, in btrfs_defrag_leaves()

12