Home
last modified time | relevance | path

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

123

/linux-4.19.296/fs/btrfs/
Dtransaction.c113 static noinline void switch_commit_roots(struct btrfs_transaction *trans) in switch_commit_roots()
143 static inline void extwriter_counter_inc(struct btrfs_transaction *trans, in extwriter_counter_inc()
150 static inline void extwriter_counter_dec(struct btrfs_transaction *trans, in extwriter_counter_dec()
157 static inline void extwriter_counter_init(struct btrfs_transaction *trans, in extwriter_counter_init()
163 static inline int extwriter_counter_read(struct btrfs_transaction *trans) in extwriter_counter_read()
298 static int record_root_in_trans(struct btrfs_trans_handle *trans, in record_root_in_trans()
359 void btrfs_add_dropped_root(struct btrfs_trans_handle *trans, in btrfs_add_dropped_root()
378 int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, in btrfs_record_root_in_trans()
402 static inline int is_transaction_blocked(struct btrfs_transaction *trans) in is_transaction_blocked()
617 struct btrfs_trans_handle *trans; in btrfs_start_transaction_fallback_global_rsv() local
[all …]
Dfree-space-tree.c46 static int add_new_free_space_info(struct btrfs_trans_handle *trans, in add_new_free_space_info()
78 search_free_space_info(struct btrfs_trans_handle *trans, in search_free_space_info()
109 static int btrfs_search_prev_slot(struct btrfs_trans_handle *trans, in btrfs_search_prev_slot()
179 int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans, in convert_free_space_to_bitmaps()
318 int convert_free_space_to_extents(struct btrfs_trans_handle *trans, in convert_free_space_to_extents()
451 static int update_free_space_extent_count(struct btrfs_trans_handle *trans, in update_free_space_extent_count()
554 static int free_space_next_bitmap(struct btrfs_trans_handle *trans, in free_space_next_bitmap()
579 static int modify_free_space_bitmap(struct btrfs_trans_handle *trans, in modify_free_space_bitmap()
692 static int remove_free_space_extent(struct btrfs_trans_handle *trans, in remove_free_space_extent()
778 int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, in __remove_from_free_space_tree()
[all …]
Dtree-log.c131 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans()
272 struct btrfs_trans_handle *trans; member
332 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item()
572 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent()
837 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item()
994 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref()
1230 static int unlink_old_inode_refs(struct btrfs_trans_handle *trans, in unlink_old_inode_refs()
1367 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref()
1550 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item()
1673 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count()
[all …]
Droot-tree.c118 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root()
197 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root()
277 struct btrfs_trans_handle *trans; in btrfs_find_orphan_roots() local
323 int btrfs_del_root(struct btrfs_trans_handle *trans, in btrfs_del_root()
345 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref()
418 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref()
485 void btrfs_update_root_times(struct btrfs_trans_handle *trans, in btrfs_update_root_times()
Ddelayed-ref.c200 int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans, in btrfs_delayed_ref_lock()
224 static inline void drop_delayed_ref(struct btrfs_trans_handle *trans, in drop_delayed_ref()
239 static bool merge_ref(struct btrfs_trans_handle *trans, in merge_ref()
286 void btrfs_merge_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_merge_delayed_refs()
347 btrfs_select_ref_head(struct btrfs_trans_handle *trans) in btrfs_select_ref_head()
400 static int insert_delayed_ref(struct btrfs_trans_handle *trans, in insert_delayed_ref()
597 add_delayed_ref_head(struct btrfs_trans_handle *trans, in add_delayed_ref_head()
709 int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans, in btrfs_add_delayed_tree_ref()
790 int btrfs_add_delayed_data_ref(struct btrfs_trans_handle *trans, in btrfs_add_delayed_data_ref()
869 struct btrfs_trans_handle *trans, in btrfs_add_delayed_extent_op()
Ddelayed-inode.c540 static int btrfs_delayed_item_reserve_metadata(struct btrfs_trans_handle *trans, in btrfs_delayed_item_reserve_metadata()
596 struct btrfs_trans_handle *trans, in btrfs_delayed_inode_reserve_metadata()
798 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()
1008 static int __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in __btrfs_update_delayed_inode()
1103 static inline int btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, in btrfs_update_delayed_inode()
1122 __btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, in __btrfs_commit_inode_delayed_items()
1146 static int __btrfs_run_delayed_items(struct btrfs_trans_handle *trans, int nr) in __btrfs_run_delayed_items()
[all …]
Dqgroup.c533 static int add_qgroup_relation_item(struct btrfs_trans_handle *trans, u64 src, in add_qgroup_relation_item()
557 static int del_qgroup_relation_item(struct btrfs_trans_handle *trans, u64 src, in del_qgroup_relation_item()
588 static int add_qgroup_item(struct btrfs_trans_handle *trans, in add_qgroup_item()
656 static int del_qgroup_item(struct btrfs_trans_handle *trans, u64 qgroupid) in del_qgroup_item()
702 static int update_qgroup_limit_item(struct btrfs_trans_handle *trans, in update_qgroup_limit_item()
744 static int update_qgroup_info_item(struct btrfs_trans_handle *trans, in update_qgroup_info_item()
790 static int update_qgroup_status_item(struct btrfs_trans_handle *trans) in update_qgroup_status_item()
834 static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans, in btrfs_clean_quota_tree()
889 struct btrfs_trans_handle *trans = NULL; in btrfs_quota_enable() local
1077 struct btrfs_trans_handle *trans = NULL; in btrfs_quota_disable() local
[all …]
Dinode-item.c81 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, in btrfs_lookup_inode_extref()
108 static int btrfs_del_inode_extref(struct btrfs_trans_handle *trans, in btrfs_del_inode_extref()
181 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref()
259 static int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_extref()
317 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, in btrfs_insert_inode_ref()
396 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, in btrfs_insert_empty_inode()
411 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
Ddir-item.c18 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, struct btrfs_root 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()
Dorphan.c9 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()
Dextent-tree.c805 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
1130 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
1206 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
1285 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref()
1373 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref()
1397 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref()
1472 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref()
1730 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref()
1829 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref()
1855 static int insert_extent_backref(struct btrfs_trans_handle *trans, in insert_extent_backref()
[all …]
Drelocation.c466 static int update_backref_cache(struct btrfs_trans_handle *trans, in update_backref_cache()
1156 static int clone_backref_node(struct btrfs_trans_handle *trans, in clone_backref_node()
1337 static struct btrfs_root *create_reloc_root(struct btrfs_trans_handle *trans, in create_reloc_root()
1414 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans, in btrfs_init_reloc_root()
1452 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans, in btrfs_update_reloc_root()
1602 int replace_file_extents(struct btrfs_trans_handle *trans, in replace_file_extents()
1738 int replace_path(struct btrfs_trans_handle *trans, in replace_path()
2130 struct btrfs_trans_handle *trans = NULL; in merge_reloc_root() local
2283 struct btrfs_trans_handle *trans; in prepare_to_merge() local
2465 static int record_reloc_root_in_trans(struct btrfs_trans_handle *trans, in record_reloc_root_in_trans()
[all …]
Dtree-log.h36 struct btrfs_trans_handle *trans) in btrfs_set_log_full_commit()
42 struct btrfs_trans_handle *trans) in btrfs_need_log_full_commit()
Dacl.c55 static int __btrfs_set_acl(struct btrfs_trans_handle *trans, in __btrfs_set_acl()
122 int btrfs_init_acl(struct btrfs_trans_handle *trans, in btrfs_init_acl()
Dxattr.c79 static int do_setxattr(struct btrfs_trans_handle *trans, in do_setxattr()
223 int btrfs_setxattr(struct btrfs_trans_handle *trans, in btrfs_setxattr()
428 struct btrfs_trans_handle *trans = fs_info; in btrfs_initxattrs() local
457 int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, in btrfs_xattr_security_init()
Duuid-tree.c82 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type, in btrfs_uuid_tree_add()
147 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type, in btrfs_uuid_tree_remove()
232 struct btrfs_trans_handle *trans; in btrfs_uuid_iter_rem() local
Dctree.c225 int btrfs_copy_root(struct btrfs_trans_handle *trans, in btrfs_copy_root()
894 static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, in update_ref_for_cow()
1006 struct btrfs_trans_handle *trans, in alloc_tree_block_no_bg_flush()
1059 static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, in __btrfs_cow_block()
1492 static inline int should_cow_block(struct btrfs_trans_handle *trans, in should_cow_block()
1527 noinline int btrfs_cow_block(struct btrfs_trans_handle *trans, in btrfs_cow_block()
1616 int btrfs_realloc_node(struct btrfs_trans_handle *trans, in btrfs_realloc_node()
1875 static noinline int balance_level(struct btrfs_trans_handle *trans, in balance_level()
2104 static noinline int push_nodes_for_insert(struct btrfs_trans_handle *trans, in push_nodes_for_insert()
2547 setup_nodes_for_search(struct btrfs_trans_handle *trans, in setup_nodes_for_search()
[all …]
Dprops.c88 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop()
286 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props()
327 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props()
337 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props()
Ddev-replace.c299 int btrfs_run_dev_replace(struct btrfs_trans_handle *trans, in btrfs_run_dev_replace()
428 struct btrfs_trans_handle *trans; in btrfs_dev_replace_start() local
594 struct btrfs_trans_handle *trans; in btrfs_dev_replace_finishing() local
817 struct btrfs_trans_handle *trans; in btrfs_dev_replace_cancel() local
Dvolumes.c1530 int find_free_dev_extent(struct btrfs_trans_handle *trans, in find_free_dev_extent()
1539 static int btrfs_free_dev_extent(struct btrfs_trans_handle *trans, in btrfs_free_dev_extent()
1598 static int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_dev_extent()
1701 static int btrfs_add_dev_item(struct btrfs_trans_handle *trans, in btrfs_add_dev_item()
1776 struct btrfs_trans_handle *trans; in btrfs_rm_dev_item() local
2278 static int btrfs_finish_sprout(struct btrfs_trans_handle *trans, in btrfs_finish_sprout()
2354 struct btrfs_trans_handle *trans; in btrfs_init_new_device() local
2577 static noinline int btrfs_update_device(struct btrfs_trans_handle *trans, in btrfs_update_device()
2623 int btrfs_grow_device(struct btrfs_trans_handle *trans, in btrfs_grow_device()
2664 static int btrfs_free_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset) in btrfs_free_chunk()
[all …]
/linux-4.19.296/fs/btrfs/tests/
Dfree-space-tree-tests.c18 static int __check_free_space_extents(struct btrfs_trans_handle *trans, in __check_free_space_extents()
107 static int check_free_space_extents(struct btrfs_trans_handle *trans, in check_free_space_extents()
150 static int test_empty_block_group(struct btrfs_trans_handle *trans, in test_empty_block_group()
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()
209 static int test_remove_end(struct btrfs_trans_handle *trans, in test_remove_end()
233 static int test_remove_middle(struct btrfs_trans_handle *trans, in test_remove_middle()
258 static int test_merge_left(struct btrfs_trans_handle *trans, in test_merge_left()
296 static int test_merge_right(struct btrfs_trans_handle *trans, in test_merge_right()
335 static int test_merge_both(struct btrfs_trans_handle *trans, in test_merge_both()
[all …]
Dqgroup-tests.c17 struct btrfs_trans_handle trans; in insert_normal_tree_ref() local
70 struct btrfs_trans_handle trans; in add_tree_ref() local
122 struct btrfs_trans_handle trans; in remove_extent_item() local
154 struct btrfs_trans_handle trans; in remove_extent_ref() local
210 struct btrfs_trans_handle trans; in test_no_shared_qgroup() local
313 struct btrfs_trans_handle trans; in test_multiple_refs() local
/linux-4.19.296/fs/xfs/
Dxfs_attr_inactive.c37 struct xfs_trans **trans, in xfs_attr3_leaf_freextent()
109 struct xfs_trans **trans, in xfs_attr3_leaf_inactive()
198 struct xfs_trans **trans, in xfs_attr3_node_inactive()
315 struct xfs_trans **trans, in xfs_attr3_root_inactive()
383 struct xfs_trans *trans; in xfs_attr_inactive() local
/linux-4.19.296/drivers/hid/
Dhid-icade.c170 const struct icade_key *trans; in icade_event() local
195 const struct icade_key *trans; in icade_input_mapping() local
Dhid-apple.c172 const struct apple_key_translation *trans; in apple_find_translation() local
186 const struct apple_key_translation *trans, *table; in hidinput_apple_event() local
331 const struct apple_key_translation *trans; in apple_setup_input() local

123