Home
last modified time | relevance | path

Searched +defs:path +defs:root (Results 1 – 25 of 130) sorted by relevance

123456

/linux-6.14.4/fs/btrfs/
Ddir-item.c23 struct btrfs_root *root, in insert_with_overflow()
24 struct btrfs_path *path, in insert_with_overflow()
56 struct btrfs_root *root, in btrfs_insert_xattr_item()
57 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item()
113 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() local
114 struct btrfs_path *path; in btrfs_insert_dir_item() local
176 struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_match_dir()
210 struct btrfs_root *root, in btrfs_lookup_dir_item()
211 struct btrfs_path *path, u64 dir, in btrfs_lookup_dir_item()
230 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision()
[all …]
Dctree.c187 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node()
216 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list()
243 struct btrfs_root *root, in btrfs_copy_root()
307 struct btrfs_root *root, in btrfs_block_can_be_shared()
344 struct btrfs_root *root, in update_ref_for_cow()
468 struct btrfs_root *root, in btrfs_force_cow_block()
606 struct btrfs_root *root, in should_cow_block()
641 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block()
795 static void root_add_used_bytes(struct btrfs_root *root) in root_add_used_bytes()
803 static void root_sub_used_bytes(struct btrfs_root *root) in root_sub_used_bytes()
[all …]
Dtree-log.c141 static struct inode *btrfs_iget_logging(u64 objectid, struct btrfs_root *root) in btrfs_iget_logging()
166 struct btrfs_root *root, in start_log_trans()
253 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans()
282 void btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans()
291 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans()
393 struct btrfs_root *root, in overwrite_item()
394 struct btrfs_path *path, in overwrite_item()
616 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode()
640 struct btrfs_root *root, in replay_one_extent()
641 struct btrfs_path *path, in replay_one_extent()
[all …]
Dfree-space-tree.c71 struct btrfs_path *path) in add_new_free_space_info()
73 struct btrfs_root *root = btrfs_free_space_root(block_group); in add_new_free_space_info() local
103 struct btrfs_path *path, int cow) in search_free_space_info()
106 struct btrfs_root *root = btrfs_free_space_root(block_group); in search_free_space_info() local
133 struct btrfs_root *root, in btrfs_search_prev_slot()
206 struct btrfs_path *path) in convert_free_space_to_bitmaps()
209 struct btrfs_root *root = btrfs_free_space_root(block_group); in convert_free_space_to_bitmaps() local
342 struct btrfs_path *path) in convert_free_space_to_extents()
345 struct btrfs_root *root = btrfs_free_space_root(block_group); in convert_free_space_to_extents() local
473 struct btrfs_path *path, in update_free_space_extent_count()
[all …]
Droot-tree.c67 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root()
68 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root()
128 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root()
133 struct btrfs_path *path; in btrfs_update_root() local
205 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root()
219 struct btrfs_path *path; in btrfs_find_orphan_roots() local
221 struct btrfs_root *root; in btrfs_find_orphan_roots() local
320 struct btrfs_root *root = trans->fs_info->tree_root; in btrfs_del_root() local
321 struct btrfs_path *path; in btrfs_del_root() local
347 struct btrfs_path *path; in btrfs_del_root_ref() local
[all …]
Drelocation.c235 static bool reloc_root_is_dead(const struct btrfs_root *root) in reloc_root_is_dead()
256 static bool have_reloc_root(const struct btrfs_root *root) in have_reloc_root()
265 bool btrfs_should_ignore_reloc_root(const struct btrfs_root *root) in btrfs_should_ignore_reloc_root()
299 struct btrfs_root *root = NULL; in find_reloc_root() local
401 struct btrfs_path *path; in build_backref_tree() local
467 static int __add_reloc_root(struct btrfs_root *root) in __add_reloc_root()
500 static void __del_reloc_root(struct btrfs_root *root) in __del_reloc_root()
544 static int __update_reloc_root(struct btrfs_root *root) in __update_reloc_root()
575 struct btrfs_root *root, u64 objectid) in create_reloc_root()
678 struct btrfs_root *root) in btrfs_init_reloc_root()
[all …]
Dinode-item.c83 struct btrfs_root *root, in btrfs_lookup_inode_extref()
84 struct btrfs_path *path, in btrfs_lookup_inode_extref()
107 struct btrfs_root *root, in btrfs_del_inode_extref()
112 struct btrfs_path *path; in btrfs_del_inode_extref() local
178 struct btrfs_root *root, const struct fscrypt_str *name, in btrfs_del_inode_ref()
181 struct btrfs_path *path; in btrfs_del_inode_ref() local
254 struct btrfs_root *root, in btrfs_insert_inode_extref()
263 struct btrfs_path *path; in btrfs_insert_inode_extref() local
308 struct btrfs_root *root, const struct fscrypt_str *name, in btrfs_insert_inode_ref()
312 struct btrfs_path *path; in btrfs_insert_inode_ref() local
[all …]
Dfile-item.c160 struct btrfs_root *root, in btrfs_insert_hole_extent()
166 struct btrfs_path *path; in btrfs_insert_hole_extent() local
200 struct btrfs_root *root, in btrfs_lookup_csum()
201 struct btrfs_path *path, in btrfs_lookup_csum()
253 struct btrfs_root *root, in btrfs_lookup_file_extent()
254 struct btrfs_path *path, u64 objectid, in btrfs_lookup_file_extent()
278 struct btrfs_path *path, u64 disk_bytenr, in search_csum_tree()
344 struct btrfs_path *path; in btrfs_lookup_bio_sums() local
465 int btrfs_lookup_csums_list(struct btrfs_root *root, u64 start, u64 end, in btrfs_lookup_csums_list()
470 struct btrfs_path *path; in btrfs_lookup_csums_list() local
[all …]
Ddelayed-inode.c55 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node()
70 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local
127 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local
175 static void btrfs_queue_delayed_node(struct btrfs_delayed_root *root, in btrfs_queue_delayed_node()
196 static void btrfs_dequeue_delayed_node(struct btrfs_delayed_root *root, in btrfs_dequeue_delayed_node()
276 struct btrfs_root *root = delayed_node->root; in __btrfs_release_delayed_node() local
349 struct rb_root *root, in __btrfs_lookup_delayed_item()
387 struct rb_root_cached *root; in __btrfs_add_delayed_item() local
421 struct rb_root_cached *root; in __btrfs_remove_delayed_item() local
532 static void btrfs_delayed_item_release_metadata(struct btrfs_root *root, in btrfs_delayed_item_release_metadata()
[all …]
Dextent-tree.c72 struct btrfs_root *root = btrfs_extent_root(fs_info, start); in btrfs_lookup_data_extent() local
75 struct btrfs_path *path; in btrfs_lookup_data_extent() local
106 struct btrfs_path *path; in btrfs_lookup_extent_info() local
428 struct btrfs_path *path, in lookup_extent_data_ref()
433 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in lookup_extent_data_ref() local
503 struct btrfs_path *path, in insert_extent_data_ref()
507 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in insert_extent_data_ref() local
580 struct btrfs_root *root, in remove_extent_data_ref()
581 struct btrfs_path *path, in remove_extent_data_ref()
624 static noinline u32 extent_data_ref_count(struct btrfs_path *path, in extent_data_ref_count()
[all …]
Dverity.c111 struct btrfs_root *root = inode->root; in drop_verity_items() local
112 struct btrfs_path *path; in drop_verity_items() local
220 struct btrfs_path *path; in write_key_bytes() local
221 struct btrfs_root *root = inode->root; in write_key_bytes() local
299 struct btrfs_path *path; in read_key_bytes() local
300 struct btrfs_root *root = inode->root; in read_key_bytes() local
427 struct btrfs_root *root = inode->root; in del_orphan() local
460 struct btrfs_root *root = inode->root; in rollback_verity() local
527 struct btrfs_root *root = inode->root; in finish_verity() local
584 struct btrfs_root *root = inode->root; in btrfs_begin_enable_verity() local
Dinode.c77 struct btrfs_root *root; member
90 struct btrfs_path path; member
124 u64 root, void *warn_ctx) in data_reloc_print_warning_inode()
216 struct btrfs_path path = { 0 }; in print_data_reloc_error() local
307 struct btrfs_root *root = inode->root; in btrfs_print_data_csum_error() local
451 struct btrfs_path *path, in insert_inline_extent()
458 struct btrfs_root *root = inode->root; in insert_inline_extent() local
616 struct btrfs_root *root = inode->root; in __cow_file_range_inline() local
621 struct btrfs_path *path; in __cow_file_range_inline() local
1110 struct btrfs_root *root = inode->root; in submit_one_async_extent() local
[all …]
Dbackref.c144 struct rb_root_cached root; member
166 struct btrfs_root *root; member
295 struct rb_root_cached *root; in prelim_ref_insert() local
468 struct btrfs_root *root, struct btrfs_path *path, in add_all_parents()
591 struct btrfs_path *path, in resolve_indirect_ref()
595 struct btrfs_root *root; in resolve_indirect_ref() local
732 struct btrfs_path *path, in resolve_indirect_refs()
1007 struct btrfs_path *path, in add_inline_refs()
1095 u64 root; in add_inline_refs() local
1141 struct btrfs_path *path, in add_keyed_refs()
[all …]
Dsend.c76 struct btrfs_root *root; member
631 struct btrfs_path *path; in alloc_path_for_send() local
845 struct fs_path *path, struct fs_path *lnk) in send_link()
869 static int send_unlink(struct send_ctx *sctx, struct fs_path *path) in send_unlink()
892 static int send_rmdir(struct send_ctx *sctx, struct fs_path *path) in send_rmdir()
926 static int get_inode_info(struct btrfs_root *root, u64 ino, in get_inode_info()
930 struct btrfs_path *path; in get_inode_info() local
971 static int get_inode_gen(struct btrfs_root *root, u64 ino, u64 *gen) in get_inode_gen()
993 static int iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path, in iterate_inode_ref()
1114 static int iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path, in iterate_dir_item()
[all …]
Dctree.h325 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
331 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
337 static inline u64 btrfs_root_id(const struct btrfs_root *root) in btrfs_root_id()
342 static inline int btrfs_get_root_log_transid(const struct btrfs_root *root) in btrfs_get_root_log_transid()
347 static inline void btrfs_set_root_log_transid(struct btrfs_root *root, int log_transid) in btrfs_set_root_log_transid()
352 static inline int btrfs_get_root_last_log_commit(const struct btrfs_root *root) in btrfs_get_root_last_log_commit()
357 static inline void btrfs_set_root_last_log_commit(struct btrfs_root *root, int commit_id) in btrfs_set_root_last_log_commit()
362 static inline u64 btrfs_get_root_last_trans(const struct btrfs_root *root) in btrfs_get_root_last_trans()
367 static inline void btrfs_set_root_last_trans(struct btrfs_root *root, u64 transid) in btrfs_set_root_last_trans()
384 static inline u64 btrfs_root_origin_generation(const struct btrfs_root *root) in btrfs_root_origin_generation()
[all …]
Dref-verify.c53 u64 root; member
78 static struct block_entry *insert_block_entry(struct rb_root *root, in insert_block_entry()
101 static struct block_entry *lookup_block_entry(struct rb_root *root, u64 bytenr) in lookup_block_entry()
119 static struct root_entry *insert_root_entry(struct rb_root *root, in insert_root_entry()
164 static struct ref_entry *insert_ref_entry(struct rb_root *root, in insert_ref_entry()
190 static struct root_entry *lookup_root_entry(struct rb_root *root, u64 objectid) in lookup_root_entry()
433 struct btrfs_path *path, struct btrfs_key *key, in process_extent_item()
508 static int process_leaf(struct btrfs_root *root, in process_leaf()
509 struct btrfs_path *path, u64 *bytenr, u64 *num_bytes, in process_leaf()
563 static int walk_down_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_down_tree()
[all …]
Dxattr.c31 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_getxattr() local
32 struct btrfs_path *path; in btrfs_getxattr() local
87 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr() local
88 struct btrfs_path *path; in btrfs_setxattr() local
230 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr_trans() local
280 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr() local
281 struct btrfs_path *path; in btrfs_listxattr() local
438 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_xattr_handler_set_prop() local
Dexport.c77 struct btrfs_root *root; in btrfs_get_dentry() local
150 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_parent() local
151 struct btrfs_path *path; in btrfs_get_parent() local
225 struct btrfs_path *path; in btrfs_get_name() local
226 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_name() local
/linux-6.14.4/fs/btrfs/tests/
Dqgroup-tests.c16 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref()
23 struct btrfs_path *path; in insert_normal_tree_ref() local
68 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref()
73 struct btrfs_path *path; in add_tree_ref() local
119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item()
124 struct btrfs_path *path; in remove_extent_item() local
150 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref()
155 struct btrfs_path *path; in remove_extent_ref() local
205 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup()
317 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs()
[all …]
Dinode-tests.c16 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent()
20 struct btrfs_path path; in insert_extent() local
55 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key()
57 struct btrfs_path path; in insert_inode_item_key() local
96 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents()
222 struct btrfs_root *root = NULL; in test_btrfs_get_extent() local
799 struct btrfs_root *root = NULL; in test_hole_first() local
897 struct btrfs_root *root = NULL; in test_extent_accounting() local
/linux-6.14.4/fs/
Dd_path.c105 const struct path *root, struct prepend_buffer *p) in __prepend_path()
156 static int prepend_path(const struct path *path, in prepend_path()
157 const struct path *root, in prepend_path()
215 char *__d_path(const struct path *path, in __d_path()
216 const struct path *root, in __d_path()
227 char *d_absolute_path(const struct path *path, in d_absolute_path()
230 struct path root = {}; in d_absolute_path() local
239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu()
265 char *d_path(const struct path *path, char *buf, int buflen) in d_path()
268 struct path root; in d_path() local
[all …]
Dfhandle.c17 static long do_sys_name_to_handle(const struct path *path, in do_sys_name_to_handle()
133 struct path path; in SYSCALL_DEFINE5() local
171 static int get_path_from_fd(int fd, struct path *root) in get_path_from_fd()
194 struct dentry *d, *root = ctx->root.dentry; in vfs_dentry_acceptable() local
248 static int do_handle_to_path(struct file_handle *handle, struct path *path, in do_handle_to_path()
274 struct path *root = &ctx->root; in may_decode_fh() local
322 struct path *path, unsigned int o_flags) in handle_to_path()
/linux-6.14.4/fs/autofs/
Dexpire.c33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy() local
95 struct dentry *root) in get_next_positive_subdir()
113 struct dentry *root) in get_next_positive_dentry()
276 struct dentry *root = dget(sb->s_root); in autofs_expire_direct() local
423 struct dentry *root = sb->s_root; in autofs_expire_indirect() local
489 int autofs_expire_wait(const struct path *path, int rcu_walk) in autofs_expire_wait()
588 const struct path path = { .mnt = mnt, .dentry = dentry }; in autofs_do_expire_multi() local
/linux-6.14.4/include/linux/
Dsysctl.h173 struct ctl_table_root *root; member
194 struct rb_root root; member
210 #define register_sysctl(path, table) \ argument
232 #define register_sysctl_init(path, table) \ argument
252 static inline void register_sysctl_init(const char *path, const struct ctl_table *table) in register_sysctl_init()
256 static inline struct ctl_table_header *register_sysctl_mount_point(const char *path) in register_sysctl_mount_point()
261 static inline struct ctl_table_header *register_sysctl_sz(const char *path, in register_sysctl_sz()
273 struct ctl_table_root *root, in setup_sysctl_set()
/linux-6.14.4/fs/vboxsf/
Dshfl_hostintf.h492 struct vmmdev_hgcm_function_parameter path; member
498 struct vmmdev_hgcm_function_parameter root; member
524 struct vmmdev_hgcm_function_parameter root; member
538 struct vmmdev_hgcm_function_parameter root; member
544 struct vmmdev_hgcm_function_parameter path; member
564 struct vmmdev_hgcm_function_parameter root; member
584 struct vmmdev_hgcm_function_parameter root; member
622 struct vmmdev_hgcm_function_parameter root; member
668 struct vmmdev_hgcm_function_parameter root; member
692 struct vmmdev_hgcm_function_parameter path; member
[all …]

123456