Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dbackref.h27 struct btrfs_path *btrfs_path; member
36 struct btrfs_path *path, struct btrfs_key *found_key,
49 struct btrfs_path *path,
57 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
64 struct btrfs_path *path);
68 u64 start_off, struct btrfs_path *path,
Dfree-space-cache.h55 *block_group, struct btrfs_path *path);
59 struct btrfs_path *path);
73 struct btrfs_path *path, u64 offset);
77 struct btrfs_path *path);
79 struct btrfs_path *path);
82 struct btrfs_path *path);
87 struct btrfs_path *path,
Ddir-item.c35 struct btrfs_path *path, in insert_with_overflow()
70 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item()
127 struct btrfs_path *path; in btrfs_insert_dir_item()
193 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_item()
225 struct btrfs_path *path; in btrfs_check_dir_item_collision()
286 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_index_item()
309 struct btrfs_path *path, u64 dirid, in btrfs_search_dir_index_item()
356 struct btrfs_path *path, u64 dir, in btrfs_lookup_xattr()
383 struct btrfs_path *path, in btrfs_match_dir_item_name()
422 struct btrfs_path *path, in btrfs_delete_one_dir_name()
Dinode-item.c25 static int find_name_in_backref(struct btrfs_path *path, const char *name, in find_name_in_backref()
54 int btrfs_find_name_in_ext_backref(struct btrfs_path *path, u64 ref_objectid, in btrfs_find_name_in_ext_backref()
98 struct btrfs_path *path, in btrfs_lookup_inode_extref()
127 struct btrfs_path *path; in btrfs_del_inode_extref()
198 struct btrfs_path *path; in btrfs_del_inode_ref()
279 struct btrfs_path *path; in btrfs_insert_inode_extref()
331 struct btrfs_path *path; in btrfs_insert_inode_ref()
403 struct btrfs_path *path, u64 objectid) in btrfs_insert_empty_inode()
417 *root, struct btrfs_path *path, in btrfs_lookup_inode()
Dctree.h593 struct btrfs_path { struct
3523 struct btrfs_path *path, u64 min_objectid,
3526 struct btrfs_path *path, u64 min_objectid);
3528 struct btrfs_path *path,
3532 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
3536 struct btrfs_path *path,
3546 struct btrfs_path *left_path,
3547 struct btrfs_path *right_path,
3564 void btrfs_extend_item(struct btrfs_root *root, struct btrfs_path *path,
3566 void btrfs_truncate_item(struct btrfs_root *root, struct btrfs_path *path,
[all …]
Dorphan.c25 struct btrfs_path *path; in btrfs_insert_orphan_item()
46 struct btrfs_path *path; in btrfs_del_orphan_item()
Dctree.c29 *root, struct btrfs_path *path, int level);
32 struct btrfs_path *path, int data_size, int extend);
40 static void del_ptr(struct btrfs_root *root, struct btrfs_path *path,
45 struct btrfs_path *btrfs_alloc_path(void) in btrfs_alloc_path()
47 struct btrfs_path *path; in btrfs_alloc_path()
56 noinline void btrfs_set_path_blocking(struct btrfs_path *p) in btrfs_set_path_blocking()
78 noinline void btrfs_clear_path_blocking(struct btrfs_path *p, in btrfs_clear_path_blocking()
107 void btrfs_free_path(struct btrfs_path *p) in btrfs_free_path()
121 noinline void btrfs_release_path(struct btrfs_path *p) in btrfs_release_path()
1352 tree_mod_log_rewind(struct btrfs_fs_info *fs_info, struct btrfs_path *path, in tree_mod_log_rewind()
[all …]
Droot-tree.c82 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root()
139 struct btrfs_path *path; in btrfs_update_root()
225 struct btrfs_path *path; in btrfs_find_orphan_roots()
330 struct btrfs_path *path; in btrfs_del_root()
354 struct btrfs_path *path; in btrfs_del_root_ref()
426 struct btrfs_path *path; in btrfs_add_root_ref()
Dtree-log.c104 struct btrfs_path *path, u64 objectid);
108 struct btrfs_path *path,
343 struct btrfs_path *path, in overwrite_item()
586 struct btrfs_path *path, in replay_one_extent()
776 struct btrfs_path *path, in drop_one_dir_item()
825 struct btrfs_path *path, in inode_in_dir()
871 struct btrfs_path *path; in backref_in_log()
922 struct btrfs_path *path, in __add_inode_ref()
1152 struct btrfs_path *path, in add_inode_ref()
1291 struct inode *inode, struct btrfs_path *path) in count_inode_extrefs()
[all …]
Dbackref.c224 static int add_all_parents(struct btrfs_root *root, struct btrfs_path *path, in add_all_parents()
309 struct btrfs_path *path, u64 time_seq, in __resolve_indirect_ref()
381 struct btrfs_path *path, u64 time_seq, in __resolve_indirect_refs()
679 struct btrfs_path *path, u64 bytenr, in __add_inline_refs()
792 struct btrfs_path *path, u64 bytenr, in __add_keyed_refs()
894 struct btrfs_path *path;
1267 u64 start_off, struct btrfs_path *path,
1348 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
1425 struct btrfs_path *path, struct btrfs_key *found_key,
1687 struct btrfs_path *path,
[all …]
Duuid-tree.c38 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup()
98 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add()
162 struct btrfs_path *path = NULL; in btrfs_uuid_tree_rem()
264 struct btrfs_path *path; in btrfs_uuid_tree_iterate()
Dfile-item.c50 struct btrfs_path *path; in btrfs_insert_file_extent()
89 struct btrfs_path *path, in btrfs_lookup_csum()
141 struct btrfs_path *path, u64 objectid, in btrfs_lookup_file_extent()
169 struct btrfs_path *path; in __btrfs_lookup_bio_sums()
311 struct btrfs_path *path; in btrfs_lookup_csums_range()
517 struct btrfs_path *path, in truncate_one_csum()
569 struct btrfs_path *path; in btrfs_del_csums()
689 struct btrfs_path *path; in btrfs_csum_file_blocks()
880 const struct btrfs_path *path, in btrfs_extent_item_to_extent_map()
Dprops.h32 int btrfs_load_inode_props(struct inode *inode, struct btrfs_path *path);
Dsend.c100 struct btrfs_path *left_path;
101 struct btrfs_path *right_path;
496 static struct btrfs_path *alloc_path_for_send(void) in alloc_path_for_send()
498 struct btrfs_path *path; in alloc_path_for_send()
785 static int __get_inode_info(struct btrfs_root *root, struct btrfs_path *path, in __get_inode_info()
826 struct btrfs_path *path; in get_inode_info()
850 static int iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path, in iterate_inode_ref()
858 struct btrfs_path *tmp_path; in iterate_inode_ref()
970 static int iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path, in iterate_dir_item()
1106 struct btrfs_path *p; in get_inode_path()
[all …]
Ddelayed-inode.c720 struct btrfs_path *path, in btrfs_batch_insert_items()
831 struct btrfs_path *path, in btrfs_insert_delayed_item()
860 struct btrfs_path *path, in btrfs_insert_delayed_items()
900 struct btrfs_path *path, in btrfs_batch_delete_items()
962 struct btrfs_path *path, in btrfs_delete_delayed_items()
1035 struct btrfs_path *path, in __btrfs_update_delayed_inode()
1117 struct btrfs_path *path, in btrfs_update_delayed_inode()
1135 struct btrfs_path *path, in __btrfs_commit_inode_delayed_items()
1163 struct btrfs_path *path; in __btrfs_run_delayed_items()
1221 struct btrfs_path *path; in btrfs_commit_inode_delayed_items()
[all …]
Dxattr.c40 struct btrfs_path *path; in __btrfs_getxattr()
97 struct btrfs_path *path; in do_setxattr()
266 struct btrfs_path *path; in btrfs_listxattr()
Drelocation.c684 struct btrfs_path *path1;
685 struct btrfs_path *path2;
1581 struct btrfs_path *path;
1742 struct btrfs_path *path, int level)
1763 struct btrfs_path *path, struct btrfs_key *next_key,
1934 int walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path,
1971 int walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path,
2088 static int find_next_key(struct btrfs_path *path, int level,
2119 struct btrfs_path *path;
2639 struct btrfs_path *path, int lowest)
[all …]
Dinode-map.c35 struct btrfs_path *path; in caching_kthread()
396 struct btrfs_path *path; in btrfs_save_ino_cache()
520 struct btrfs_path *path; in btrfs_find_highest_objectid()
Dextent-tree.c104 static int find_next_key(struct btrfs_path *path, int level,
385 struct btrfs_path *path; in caching_thread()
719 struct btrfs_path *path; in btrfs_lookup_data_extent()
749 struct btrfs_path *path; in btrfs_lookup_extent_info()
982 struct btrfs_path *path, in convert_extent_item_v0()
1098 struct btrfs_path *path, in lookup_extent_data_ref()
1185 struct btrfs_path *path, in insert_extent_data_ref()
1264 struct btrfs_path *path, in remove_extent_data_ref()
1321 struct btrfs_path *path, in extent_data_ref_count()
1364 struct btrfs_path *path, in lookup_tree_block_ref()
[all …]
Dqgroup.c273 struct btrfs_path *path = NULL; in btrfs_read_qgroup_config()
482 struct btrfs_path *path; in add_qgroup_relation_item()
506 struct btrfs_path *path; in del_qgroup_relation_item()
536 struct btrfs_path *path; in add_qgroup_item()
604 struct btrfs_path *path; in del_qgroup_item()
650 struct btrfs_path *path; in update_qgroup_limit_item()
692 struct btrfs_path *path; in update_qgroup_info_item()
737 struct btrfs_path *path; in update_qgroup_status_item()
780 struct btrfs_path *path; in btrfs_clean_quota_tree()
828 struct btrfs_path *path = NULL; in btrfs_quota_enable()
[all …]
Dtree-defrag.c35 struct btrfs_path *path = NULL; in btrfs_defrag_leaves()
Dexport.c157 struct btrfs_path *path; in btrfs_get_parent()
225 struct btrfs_path *path; in btrfs_get_name()
Dfree-space-cache.c47 struct btrfs_path *path, in __lookup_free_space_inode()
96 *block_group, struct btrfs_path *path) in lookup_free_space_inode()
133 struct btrfs_path *path, in __create_free_space_inode()
195 struct btrfs_path *path) in create_free_space_inode()
233 struct btrfs_path *path = btrfs_alloc_path(); in btrfs_truncate_free_space_cache()
672 struct btrfs_path *path, u64 offset) in __load_free_space_cache()
834 struct btrfs_path *path; in load_free_space_cache()
985 struct btrfs_path *path, u64 offset, in update_cache_item()
1149 struct btrfs_path *path, u64 offset) in btrfs_wait_cache_io()
1228 struct btrfs_path *path, u64 offset) in __btrfs_write_out_cache()
[all …]
Dprops.c160 struct btrfs_path *path, in iterate_object_props()
289 int btrfs_load_inode_props(struct inode *inode, struct btrfs_path *path) in btrfs_load_inode_props()
Dvolumes.c978 struct btrfs_path *path; in btrfs_account_dev_extents_size()
1118 struct btrfs_path *path; in find_free_dev_extent()
1276 struct btrfs_path *path; in btrfs_free_dev_extent()
1335 struct btrfs_path *path; in btrfs_alloc_dev_extent()
1397 struct btrfs_path *path; in find_next_devid()
1438 struct btrfs_path *path; in btrfs_add_device()
1509 struct btrfs_path *path; in btrfs_rm_dev_item()
2027 struct btrfs_path *path; in btrfs_finish_sprout()
2415 struct btrfs_path *path; in btrfs_update_device()
2502 struct btrfs_path *path; in btrfs_free_chunk()
[all …]
Dinode.c137 struct btrfs_path *path, int extent_inserted, in insert_inline_extent()
252 struct btrfs_path *path; in cow_file_range_inline()
1213 struct btrfs_path *path; in run_delalloc_nocow()
2060 struct btrfs_path *path; in insert_reserved_file_extent()
2153 struct btrfs_path *path;
2228 struct btrfs_path *path = new->path; in record_one_backref()
2342 static noinline bool record_extent_backrefs(struct btrfs_path *path, in record_extent_backrefs()
2395 static noinline int relink_extent_backref(struct btrfs_path *path, in relink_extent_backref()
2612 struct btrfs_path *path; in relink_file_extents()
2667 struct btrfs_path *path; in record_old_file_extents()
[all …]
Dioctl.c922 struct btrfs_path *path; in find_new_extents()
1855 struct btrfs_path *path; in may_destroy_subvol()
1928 struct btrfs_path *path, in copy_to_sk()
2053 struct btrfs_path *path; in search_ioctl()
2199 struct btrfs_path *path; in btrfs_search_path_in_tree()
3118 const struct btrfs_path *path, in clone_update_extent_map()
3201 struct btrfs_path *path, in clone_copy_inline_extent()
3333 struct btrfs_path *path = NULL; in btrfs_clone()
3908 struct btrfs_path *path; in btrfs_ioctl_default_subvol()
4345 struct btrfs_path *path; in btrfs_ioctl_ino_to_path()
[all …]
Ddev-replace.c63 struct btrfs_path *path = NULL; in btrfs_init_dev_replace()
200 struct btrfs_path *path; in btrfs_run_dev_replace()
Dfile.c693 struct btrfs_path *path, u64 start, u64 end, in __btrfs_drop_extents()
1021 struct btrfs_path *path; in btrfs_drop_extents()
1078 struct btrfs_path *path; in btrfs_mark_extent_written()
2129 struct btrfs_path *path, u64 offset, u64 end) in fill_holes()
2261 struct btrfs_path *path; in btrfs_punch_hole()
Dscrub.c234 struct btrfs_path *path;
612 struct btrfs_path *path; in scrub_print_warning()
803 struct btrfs_path *path; in scrub_fixup_nodatasum()
2757 struct btrfs_path *path, in scrub_raid56_parity()
2963 struct btrfs_path *path, *ppath; in scrub_stripe()
3371 struct btrfs_path *path; in scrub_enumerate_chunks()
3952 struct btrfs_path *path; in copy_nocow_pages_worker()
Dsuper.c851 struct btrfs_path *path; in get_default_root()
Ddisk-io.c1484 struct btrfs_path *path; in btrfs_read_tree_root()
1640 struct btrfs_path *path; in btrfs_get_fs_root()
Dtransaction.c1264 struct btrfs_path *path; in create_pending_snapshot()
Dextent_io.c4407 struct btrfs_path *path; in extent_fiemap()
/linux-4.1.27/fs/btrfs/tests/
Dqgroup-tests.c40 struct btrfs_path *path; in insert_normal_tree_ref()
91 struct btrfs_path *path; in add_tree_ref()
143 struct btrfs_path *path; in remove_extent_item()
175 struct btrfs_path *path; in remove_extent_ref()
Dextent-buffer-tests.c27 struct btrfs_path *path; in test_btrfs_split_item()
Dinode-tests.c30 struct btrfs_path path; in insert_extent()
64 struct btrfs_path path; in insert_inode_item_key()