Home
last modified time | relevance | path

Searched refs:btrfs_path (Results 1 – 25 of 43) sorted by relevance

12

/fs/btrfs/
Dbackref.h14 struct btrfs_path *btrfs_path; member
23 struct btrfs_path *path, struct btrfs_key *found_key,
37 struct btrfs_path *path,
46 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
53 struct btrfs_path *path);
57 u64 start_off, struct btrfs_path *path,
Dfree-space-tree.h36 struct btrfs_path *path, int cow);
39 struct btrfs_path *path, u64 start, u64 size);
42 struct btrfs_path *path, u64 start, u64 size);
45 struct btrfs_path *path);
48 struct btrfs_path *path);
50 struct btrfs_path *path, u64 offset);
Dfree-space-cache.h55 struct btrfs_path *path);
58 struct btrfs_path *path);
68 struct btrfs_path *path);
71 struct btrfs_path *path);
73 struct btrfs_path *path);
76 struct btrfs_path *path);
81 struct btrfs_path *path,
Ddir-item.c21 struct btrfs_path *path, in insert_with_overflow()
57 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item()
115 struct btrfs_path *path; in btrfs_insert_dir_item()
176 struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_match_dir()
211 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_item()
238 struct btrfs_path *path; in btrfs_check_dir_item_collision()
308 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_index_item()
328 struct btrfs_path *path, u64 dirid, in btrfs_search_dir_index_item()
376 struct btrfs_path *path, u64 dir, in btrfs_lookup_xattr()
400 struct btrfs_path *path, in btrfs_match_dir_item_name()
[all …]
Dfree-space-tree.c17 struct btrfs_path *path);
49 struct btrfs_path *path) in add_new_free_space_info()
82 struct btrfs_path *path, int cow) in search_free_space_info()
113 struct btrfs_key *key, struct btrfs_path *p, in btrfs_search_prev_slot()
184 struct btrfs_path *path) in convert_free_space_to_bitmaps()
324 struct btrfs_path *path) in convert_free_space_to_extents()
457 struct btrfs_path *path, in update_free_space_extent_count()
495 struct btrfs_path *path, u64 offset) in free_space_test_bit()
517 struct btrfs_path *path, u64 *start, u64 *size, in free_space_set_bits()
559 struct btrfs_root *root, struct btrfs_path *p) in free_space_next_bitmap()
[all …]
Dctree.h346 struct btrfs_path { struct
2517 struct btrfs_path *path, u64 min_objectid,
2520 struct btrfs_path *path, u64 min_objectid);
2522 struct btrfs_path *path,
2527 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2531 struct btrfs_path *path,
2546 void btrfs_extend_item(struct btrfs_path *path, u32 data_size);
2547 void btrfs_truncate_item(struct btrfs_path *path, u32 new_size, int from_end);
2550 struct btrfs_path *path,
2555 struct btrfs_path *path,
[all …]
Dinode-item.c76 struct btrfs_path *path, in btrfs_lookup_inode_extref()
104 struct btrfs_path *path; in btrfs_del_inode_extref()
176 struct btrfs_path *path; in btrfs_del_inode_ref()
260 struct btrfs_path *path; in btrfs_insert_inode_extref()
315 struct btrfs_path *path; in btrfs_insert_inode_ref()
390 struct btrfs_path *path, u64 objectid) in btrfs_insert_empty_inode()
404 *root, struct btrfs_path *path, in btrfs_lookup_inode()
Dtree-log.c102 struct btrfs_path *path, u64 objectid);
106 struct btrfs_path *path,
348 struct btrfs_path *path, in overwrite_item()
586 struct btrfs_path *path, in replay_one_extent()
858 struct btrfs_path *path, in drop_one_dir_item()
910 struct btrfs_path *path, in inode_in_dir()
961 struct btrfs_path *path; in backref_in_log()
1014 struct btrfs_path *path, in __add_inode_ref()
1249 struct btrfs_path *path, in unlink_old_inode_refs()
1343 struct btrfs_path *path; in btrfs_inode_ref_exists()
[all …]
Dctree.c19 *root, struct btrfs_path *path, int level);
21 const struct btrfs_key *ins_key, struct btrfs_path *path,
29 static void del_ptr(struct btrfs_root *root, struct btrfs_path *path,
54 struct btrfs_path *btrfs_alloc_path(void) in btrfs_alloc_path()
63 noinline void btrfs_set_path_blocking(struct btrfs_path *p) in btrfs_set_path_blocking()
85 void btrfs_free_path(struct btrfs_path *p) in btrfs_free_path()
99 noinline void btrfs_release_path(struct btrfs_path *p) in btrfs_release_path()
1307 tree_mod_log_rewind(struct btrfs_fs_info *fs_info, struct btrfs_path *path, in tree_mod_log_rewind()
1879 struct btrfs_path *path, int level) in balance_level()
2107 struct btrfs_path *path, int level) in push_nodes_for_insert()
[all …]
Droot-tree.c67 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root()
125 struct btrfs_path *path; in btrfs_update_root()
213 struct btrfs_path *path; in btrfs_find_orphan_roots()
333 struct btrfs_path *path; in btrfs_del_root()
357 struct btrfs_path *path; in btrfs_del_root_ref()
433 struct btrfs_path *path; in btrfs_add_root_ref()
Dorphan.c12 struct btrfs_path *path; in btrfs_insert_orphan_item()
33 struct btrfs_path *path; in btrfs_del_orphan_item()
Dbackref.c417 static int add_all_parents(struct btrfs_root *root, struct btrfs_path *path, in add_all_parents()
541 struct btrfs_path *path, u64 time_seq, in resolve_indirect_ref()
680 struct btrfs_path *path, u64 time_seq, in resolve_indirect_refs()
959 struct btrfs_path *path, u64 bytenr, in add_inline_refs()
1082 struct btrfs_path *path, u64 bytenr, in add_keyed_refs()
1204 struct btrfs_path *path;
1624 u64 start_off, struct btrfs_path *path,
1705 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
1782 struct btrfs_path *path, struct btrfs_key *found_key,
2063 struct btrfs_path *path,
[all …]
Duuid-tree.c26 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup()
88 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add()
153 struct btrfs_path *path = NULL; in btrfs_uuid_tree_remove()
255 struct btrfs_path *path; in btrfs_uuid_tree_iterate()
Dsend.c94 struct btrfs_path *left_path;
95 struct btrfs_path *right_path;
282 typedef int (*btrfs_changed_cb_t)(struct btrfs_path *left_path,
283 struct btrfs_path *right_path,
543 static struct btrfs_path *alloc_path_for_send(void) in alloc_path_for_send()
545 struct btrfs_path *path; in alloc_path_for_send()
826 static int __get_inode_info(struct btrfs_root *root, struct btrfs_path *path, in __get_inode_info()
867 struct btrfs_path *path; in get_inode_info()
891 static int iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path, in iterate_inode_ref()
899 struct btrfs_path *tmp_path; in iterate_inode_ref()
[all …]
Dfile-item.c44 struct btrfs_path *path; in btrfs_insert_file_extent()
83 struct btrfs_path *path, in btrfs_lookup_csum()
136 struct btrfs_path *path, u64 objectid, in btrfs_lookup_file_extent()
160 struct btrfs_path *path; in __btrfs_lookup_bio_sums()
308 struct btrfs_path *path; in btrfs_lookup_csums_range()
546 struct btrfs_path *path, in truncate_one_csum()
599 struct btrfs_path *path; in btrfs_del_csums()
747 struct btrfs_path *path; in btrfs_csum_file_blocks()
941 const struct btrfs_path *path, in btrfs_extent_item_to_extent_map()
Dextent-tree.c55 static int find_next_key(struct btrfs_path *path, int level,
128 struct btrfs_path *path; in btrfs_lookup_data_extent()
157 struct btrfs_path *path; in btrfs_lookup_extent_info()
477 struct btrfs_path *path, in lookup_extent_data_ref()
553 struct btrfs_path *path, in insert_extent_data_ref()
632 struct btrfs_path *path, in remove_extent_data_ref()
677 static noinline u32 extent_data_ref_count(struct btrfs_path *path, in extent_data_ref_count()
720 struct btrfs_path *path, in lookup_tree_block_ref()
744 struct btrfs_path *path, in insert_tree_block_ref()
783 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
[all …]
Ddelayed-inode.c696 struct btrfs_path *path, in btrfs_batch_insert_items()
804 struct btrfs_path *path, in btrfs_insert_delayed_item()
836 struct btrfs_path *path, in btrfs_insert_delayed_items()
876 struct btrfs_path *path, in btrfs_batch_delete_items()
938 struct btrfs_path *path, in btrfs_delete_delayed_items()
1014 struct btrfs_path *path, in __btrfs_update_delayed_inode()
1109 struct btrfs_path *path, in btrfs_update_delayed_inode()
1127 struct btrfs_path *path, in __btrfs_commit_inode_delayed_items()
1155 struct btrfs_path *path; in __btrfs_run_delayed_items()
1224 struct btrfs_path *path; in btrfs_commit_inode_delayed_items()
[all …]
Dqgroup.c331 struct btrfs_path *path = NULL; in btrfs_read_qgroup_config()
580 struct btrfs_path *path; in add_qgroup_relation_item()
604 struct btrfs_path *path; in del_qgroup_relation_item()
634 struct btrfs_path *path; in add_qgroup_item()
702 struct btrfs_path *path; in del_qgroup_item()
748 struct btrfs_path *path; in update_qgroup_limit_item()
791 struct btrfs_path *path; in update_qgroup_info_item()
836 struct btrfs_path *path; in update_qgroup_status_item()
879 struct btrfs_path *path; in btrfs_clean_quota_tree()
925 struct btrfs_path *path = NULL; in btrfs_quota_enable()
[all …]
Drelocation.c687 struct btrfs_path *path1; /* For searching extent root */ in build_backref_tree()
688 struct btrfs_path *path2; /* For searching parent of TREE_BLOCK_REF */ in build_backref_tree()
1630 struct btrfs_path *path; in get_new_location()
1799 struct btrfs_path *path, int level) in memcmp_node_keys()
1820 struct btrfs_path *path, struct btrfs_key *next_key, in replace_path()
2028 int walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_up_reloc_tree()
2065 int walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_down_reloc_tree()
2190 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
2286 struct btrfs_path *path; in merge_reloc_root()
2836 struct btrfs_path *path, int lowest) in do_relocation()
[all …]
Dfree-space-cache.c41 struct btrfs_path *path);
44 struct btrfs_path *path, in __lookup_free_space_inode()
96 struct btrfs_path *path) in lookup_free_space_inode()
133 struct btrfs_path *path, in __create_free_space_inode()
194 struct btrfs_path *path) in create_free_space_inode()
235 struct btrfs_path *path = btrfs_alloc_path(); in btrfs_truncate_free_space_cache()
668 struct btrfs_path *path, u64 offset) in __load_free_space_cache()
833 struct btrfs_path *path; in load_free_space_cache()
1005 struct btrfs_path *path, u64 offset, in update_cache_item()
1157 struct btrfs_path *path, u64 offset) in __btrfs_wait_cache_io()
[all …]
Dxattr.c28 struct btrfs_path *path; in btrfs_getxattr()
85 struct btrfs_path *path; in btrfs_setxattr()
277 struct btrfs_path *path; in btrfs_listxattr()
Dprops.h18 int btrfs_load_inode_props(struct inode *inode, struct btrfs_path *path);
Dinode-map.c35 struct btrfs_path *path; in caching_kthread()
401 struct btrfs_path *path; in btrfs_save_ino_cache()
529 struct btrfs_path *path; in btrfs_find_highest_objectid()
/fs/btrfs/tests/
Dfree-space-tree-tests.c22 struct btrfs_path *path, in __check_free_space_extents()
111 struct btrfs_path *path, in check_free_space_extents()
154 struct btrfs_path *path, in test_empty_block_group()
168 struct btrfs_path *path, in test_remove_all()
189 struct btrfs_path *path, in test_remove_beginning()
213 struct btrfs_path *path, in test_remove_end()
237 struct btrfs_path *path, in test_remove_middle()
262 struct btrfs_path *path, in test_merge_left()
300 struct btrfs_path *path, in test_merge_right()
339 struct btrfs_path *path, in test_merge_both()
[all …]
Dqgroup-tests.c21 struct btrfs_path *path; in insert_normal_tree_ref()
72 struct btrfs_path *path; in add_tree_ref()
124 struct btrfs_path *path; in remove_extent_item()
156 struct btrfs_path *path; in remove_extent_ref()

12