Home
last modified time | relevance | path

Searched defs:trans (Results 1 – 25 of 46) sorted by relevance

12

/fs/btrfs/
Dtransaction.c129 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()
372 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
390 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
412 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked()
615 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() local
[all …]
Ddelayed-ref.c157 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()
536 struct btrfs_trans_handle *trans, in add_delayed_ref_head()
647 struct btrfs_trans_handle *trans, in add_delayed_tree_ref()
701 struct btrfs_trans_handle *trans, in add_delayed_data_ref()
755 struct btrfs_trans_handle *trans, in btrfs_add_delayed_tree_ref()
[all …]
Dfree-space-tree.c60 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()
174 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, in convert_free_space_to_bitmaps()
312 int convert_free_space_to_extents(struct btrfs_trans_handle *trans, in convert_free_space_to_extents()
462 static int update_free_space_extent_count(struct btrfs_trans_handle *trans, in update_free_space_extent_count()
565 static int free_space_next_bitmap(struct btrfs_trans_handle *trans, in free_space_next_bitmap()
590 static int modify_free_space_bitmap(struct btrfs_trans_handle *trans, in modify_free_space_bitmap()
704 static int remove_free_space_extent(struct btrfs_trans_handle *trans, in remove_free_space_extent()
791 int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, in __remove_from_free_space_tree()
[all …]
Dtree-log.c143 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans()
279 struct btrfs_trans_handle *trans; member
338 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item()
581 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent()
840 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item()
986 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref()
1215 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref()
1344 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item()
1467 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count()
1515 static noinline int fixup_inode_link_counts(struct btrfs_trans_handle *trans, in fixup_inode_link_counts()
[all …]
Droot-tree.c131 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root()
209 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root()
293 struct btrfs_trans_handle *trans; in btrfs_find_orphan_roots() local
339 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_root()
360 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, in btrfs_del_root_ref()
431 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, in btrfs_add_root_ref()
498 void btrfs_update_root_times(struct btrfs_trans_handle *trans, in btrfs_update_root_times()
Dqgroup.c506 static int add_qgroup_relation_item(struct btrfs_trans_handle *trans, in add_qgroup_relation_item()
530 static int del_qgroup_relation_item(struct btrfs_trans_handle *trans, in del_qgroup_relation_item()
561 static int add_qgroup_item(struct btrfs_trans_handle *trans, in add_qgroup_item()
629 static int del_qgroup_item(struct btrfs_trans_handle *trans, in del_qgroup_item()
675 static int update_qgroup_limit_item(struct btrfs_trans_handle *trans, in update_qgroup_limit_item()
717 static int update_qgroup_info_item(struct btrfs_trans_handle *trans, in update_qgroup_info_item()
762 static int update_qgroup_status_item(struct btrfs_trans_handle *trans, in update_qgroup_status_item()
806 static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans, in btrfs_clean_quota_tree()
852 int btrfs_quota_enable(struct btrfs_trans_handle *trans, in btrfs_quota_enable()
983 int btrfs_quota_disable(struct btrfs_trans_handle *trans, in btrfs_quota_disable()
[all …]
Ddelayed-inode.c537 static int btrfs_delayed_item_reserve_metadata(struct btrfs_trans_handle *trans, in btrfs_delayed_item_reserve_metadata()
581 struct btrfs_trans_handle *trans, in btrfs_delayed_inode_reserve_metadata()
811 static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_item()
841 static int btrfs_insert_delayed_items(struct btrfs_trans_handle *trans, in btrfs_insert_delayed_items()
880 static int btrfs_batch_delete_items(struct btrfs_trans_handle *trans, in btrfs_batch_delete_items()
943 static int btrfs_delete_delayed_items(struct btrfs_trans_handle *trans, in btrfs_delete_delayed_items()
1015 static int __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in __btrfs_update_delayed_inode()
1097 static inline int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in btrfs_update_delayed_inode()
1116 __btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_commit_inode_delayed_items()
1140 static int __btrfs_run_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_run_delayed_items()
[all …]
Dinode-item.c96 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()
Dextent-tree.c809 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
1046 static int convert_extent_item_v0(struct btrfs_trans_handle *trans, in convert_extent_item_v0()
1162 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
1249 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
1328 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref()
1427 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref()
1460 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref()
1535 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref()
1788 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref()
1884 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref()
[all …]
Ddir-item.c32 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()
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()
Drelocation.c478 static int update_backref_cache(struct btrfs_trans_handle *trans, in update_backref_cache()
1200 static int clone_backref_node(struct btrfs_trans_handle *trans,
1380 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans,
1464 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans,
1501 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans,
1649 int replace_file_extents(struct btrfs_trans_handle *trans,
1784 int replace_path(struct btrfs_trans_handle *trans,
2142 struct btrfs_trans_handle *trans = NULL; local
2294 struct btrfs_trans_handle *trans; local
2473 static int record_reloc_root_in_trans(struct btrfs_trans_handle *trans,
[all …]
Dctree.c237 int btrfs_copy_root(struct btrfs_trans_handle *trans, in btrfs_copy_root()
975 static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, in update_ref_for_cow()
1091 static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, in __btrfs_cow_block()
1490 static inline int should_cow_block(struct btrfs_trans_handle *trans, in should_cow_block()
1525 noinline int btrfs_cow_block(struct btrfs_trans_handle *trans, in btrfs_cow_block()
1612 int btrfs_realloc_node(struct btrfs_trans_handle *trans, in btrfs_realloc_node()
1868 static noinline int balance_level(struct btrfs_trans_handle *trans, in balance_level()
2093 static noinline int push_nodes_for_insert(struct btrfs_trans_handle *trans, in push_nodes_for_insert()
2434 read_block_for_search(struct btrfs_trans_handle *trans, in read_block_for_search()
2519 setup_nodes_for_search(struct btrfs_trans_handle *trans, in setup_nodes_for_search()
[all …]
Dtree-log.h49 struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit()
55 struct btrfs_trans_handle *trans) in btrfs_need_log_full_commit()
Dxattr.c91 static int do_setxattr(struct btrfs_trans_handle *trans, in do_setxattr()
233 int __btrfs_setxattr(struct btrfs_trans_handle *trans, in __btrfs_setxattr()
440 struct btrfs_trans_handle *trans = fs_info; in btrfs_initxattrs() local
462 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, in btrfs_xattr_security_init()
Dacl.c71 static int __btrfs_set_acl(struct btrfs_trans_handle *trans, in __btrfs_set_acl()
135 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
Dinode.c127 static int btrfs_init_inode_security(struct btrfs_trans_handle *trans, in btrfs_init_inode_security()
144 static int insert_inline_extent(struct btrfs_trans_handle *trans, in insert_inline_extent()
253 struct btrfs_trans_handle *trans; in cow_file_range_inline() local
1249 struct btrfs_trans_handle *trans; in run_delalloc_nocow() local
1991 static noinline int add_pending_csums(struct btrfs_trans_handle *trans, in add_pending_csums()
2128 static int insert_reserved_file_extent(struct btrfs_trans_handle *trans, in insert_reserved_file_extent()
2485 struct btrfs_trans_handle *trans; in relink_extent_backref() local
2880 struct btrfs_trans_handle *trans = NULL; in btrfs_finish_ordered_io() local
3216 void btrfs_orphan_commit_root(struct btrfs_trans_handle *trans, in btrfs_orphan_commit_root()
3265 int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode) in btrfs_orphan_add()
[all …]
Duuid-tree.c94 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_add()
158 int btrfs_uuid_tree_rem(struct btrfs_trans_handle *trans, in btrfs_uuid_tree_rem()
243 struct btrfs_trans_handle *trans; in btrfs_uuid_iter_rem() local
Ddev-replace.c191 int btrfs_run_dev_replace(struct btrfs_trans_handle *trans, in btrfs_run_dev_replace()
310 struct btrfs_trans_handle *trans; in btrfs_dev_replace_start() local
481 struct btrfs_trans_handle *trans; in btrfs_dev_replace_finishing() local
685 struct btrfs_trans_handle *trans; in __btrfs_dev_replace_cancel() local
Dprops.c101 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop()
299 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props()
339 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props()
349 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props()
Dioctl.c221 struct btrfs_trans_handle *trans; in btrfs_ioctl_setflags() local
440 struct btrfs_trans_handle *trans; in create_subvol() local
667 struct btrfs_trans_handle *trans; in create_snapshot() local
1493 struct btrfs_trans_handle *trans; in btrfs_ioctl_resize() local
1800 struct btrfs_trans_handle *trans; in btrfs_ioctl_subvol_setflags() local
2362 struct btrfs_trans_handle *trans; in btrfs_ioctl_snap_destroy() local
3283 static int clone_finish_inode_update(struct btrfs_trans_handle *trans, in clone_finish_inode_update()
3317 const struct btrfs_trans_handle *trans, in clone_update_extent_map()
3400 struct btrfs_trans_handle *trans, in clone_copy_inline_extent()
3535 struct btrfs_trans_handle *trans; in btrfs_clone() local
[all …]
Dvolumes.c1499 int find_free_dev_extent(struct btrfs_trans_handle *trans, in find_free_dev_extent()
1508 static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, in btrfs_free_dev_extent()
1566 static int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_dev_extent()
1670 static int btrfs_add_device(struct btrfs_trans_handle *trans, in btrfs_add_device()
1747 struct btrfs_trans_handle *trans; in btrfs_rm_dev_item() local
2244 static int btrfs_finish_sprout(struct btrfs_trans_handle *trans, in btrfs_finish_sprout()
2319 struct btrfs_trans_handle *trans; in btrfs_init_new_device() local
2633 static noinline int btrfs_update_device(struct btrfs_trans_handle *trans, in btrfs_update_device()
2681 int btrfs_grow_device(struct btrfs_trans_handle *trans, in btrfs_grow_device()
2719 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, in btrfs_free_chunk()
[all …]
/fs/btrfs/tests/
Dfree-space-tree-tests.c31 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 …]
Dqgroup-tests.c30 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/
Dxfs_attr_inactive.c48 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

12