Lines Matching refs:fs_path

43 struct fs_path {  struct
63 (sizeof(struct fs_path) - offsetof(struct fs_path, inline_buf)) argument
328 static void fs_path_reset(struct fs_path *p) in fs_path_reset()
341 static struct fs_path *fs_path_alloc(void) in fs_path_alloc()
343 struct fs_path *p; in fs_path_alloc()
355 static struct fs_path *fs_path_alloc_reversed(void) in fs_path_alloc_reversed()
357 struct fs_path *p; in fs_path_alloc_reversed()
367 static void fs_path_free(struct fs_path *p) in fs_path_free()
376 static int fs_path_len(struct fs_path *p) in fs_path_len()
381 static int fs_path_ensure_buf(struct fs_path *p, int len) in fs_path_ensure_buf()
431 static int fs_path_prepare_for_add(struct fs_path *p, int name_len, in fs_path_prepare_for_add()
461 static int fs_path_add(struct fs_path *p, const char *name, int name_len) in fs_path_add()
475 static int fs_path_add_path(struct fs_path *p, struct fs_path *p2) in fs_path_add_path()
489 static int fs_path_add_from_extent_buffer(struct fs_path *p, in fs_path_add_from_extent_buffer()
506 static int fs_path_copy(struct fs_path *p, struct fs_path *from) in fs_path_copy()
519 static void fs_path_unreverse(struct fs_path *p) in fs_path_unreverse()
723 struct fs_path *from, struct fs_path *to) in send_rename()
748 struct fs_path *path, struct fs_path *lnk) in send_link()
772 static int send_unlink(struct send_ctx *sctx, struct fs_path *path) in send_unlink()
795 static int send_rmdir(struct send_ctx *sctx, struct fs_path *path) in send_rmdir()
872 struct fs_path *p,
892 struct fs_path *p; in iterate_inode_ref()
1117 struct fs_path *p, void *ctx) in __copy_first_ref()
1120 struct fs_path *pt = ctx; in __copy_first_ref()
1135 u64 ino, struct fs_path *path) in get_inode_path()
1482 struct fs_path *dest) in read_symlink()
1542 struct fs_path *dest) in gen_unique_name()
1741 u64 *dir, u64 *dir_gen, struct fs_path *name) in get_first_ref()
1812 struct fs_path *tmp_name; in is_first_ref()
1993 struct fs_path *name = NULL; in did_overwrite_first_ref()
2147 struct fs_path *dest) in __get_cur_name_and_parent()
2280 struct fs_path *dest) in get_cur_path()
2283 struct fs_path *name = NULL; in get_cur_path()
2438 struct fs_path *p; in send_truncate()
2468 struct fs_path *p; in send_chmod()
2498 struct fs_path *p; in send_chown()
2530 struct fs_path *p = NULL; in send_utimes()
2593 struct fs_path *p; in send_create_inode()
2767 struct fs_path *full_path;
2773 static void set_ref_path(struct recorded_ref *ref, struct fs_path *path) in set_ref_path()
2786 u64 dir_gen, struct fs_path *path) in __record_ref()
2841 struct fs_path *path) in orphanize_inode()
2844 struct fs_path *orphan; in orphanize_inode()
3174 static int path_loop(struct send_ctx *sctx, struct fs_path *name, in path_loop()
3218 struct fs_path *from_path = NULL; in apply_dir_move()
3219 struct fs_path *to_path = NULL; in apply_dir_move()
3220 struct fs_path *name = NULL; in apply_dir_move()
3552 struct fs_path *fs_path) in check_ino_in_path() argument
3564 fs_path_reset(fs_path); in check_ino_in_path()
3565 ret = get_first_ref(root, ino, &parent, &parent_gen, fs_path); in check_ino_in_path()
3584 struct fs_path *fs_path) in is_ancestor() argument
3591 if (!fs_path) { in is_ancestor()
3592 fs_path = fs_path_alloc(); in is_ancestor()
3593 if (!fs_path) in is_ancestor()
3661 parent, parent_gen, fs_path); in is_ancestor()
3671 fs_path_free(fs_path); in is_ancestor()
3683 struct fs_path *path_before = NULL; in wait_for_parent_move()
3684 struct fs_path *path_after = NULL; in wait_for_parent_move()
3781 struct fs_path *new_path; in update_ref_path()
3884 struct fs_path *valid_path = NULL; in process_recorded_refs()
4330 static int record_ref(struct btrfs_root *root, u64 dir, struct fs_path *name, in record_ref()
4335 struct fs_path *p; in record_ref()
4363 struct fs_path *name, in __record_new_ref()
4372 struct fs_path *name, in __record_deleted_ref()
4412 struct fs_path *name;
4417 struct fs_path *name, in __find_iref()
4445 u64 dir, u64 dir_gen, struct fs_path *name) in find_iref()
4467 struct fs_path *name, in __record_changed_new_ref()
4490 struct fs_path *name, in __record_changed_deleted_ref()
4610 struct fs_path *path, in send_set_xattr()
4632 struct fs_path *path, in send_remove_xattr()
4658 struct fs_path *p; in __process_new_xattr()
4703 struct fs_path *p; in __process_deleted_xattr()
5014 struct fs_path *p; in send_write()
5052 struct fs_path *p; in send_clone()
5124 struct fs_path *p; in send_update_extent()
5152 struct fs_path *p = NULL; in send_hole()
5236 struct fs_path *fspath = NULL; in send_capabilities()
6162 static int record_parent_ref(int num, u64 dir, int index, struct fs_path *name, in record_parent_ref()