Lines Matching refs:fs_path
52 struct fs_path { struct
72 (sizeof(struct fs_path) - offsetof(struct fs_path, inline_buf)) argument
426 static void fs_path_reset(struct fs_path *p) in fs_path_reset()
439 static struct fs_path *fs_path_alloc(void) in fs_path_alloc()
441 struct fs_path *p; in fs_path_alloc()
453 static struct fs_path *fs_path_alloc_reversed(void) in fs_path_alloc_reversed()
455 struct fs_path *p; in fs_path_alloc_reversed()
465 static void fs_path_free(struct fs_path *p) in fs_path_free()
474 static int fs_path_len(struct fs_path *p) in fs_path_len()
479 static int fs_path_ensure_buf(struct fs_path *p, int len) in fs_path_ensure_buf()
530 static int fs_path_prepare_for_add(struct fs_path *p, int name_len, in fs_path_prepare_for_add()
560 static int fs_path_add(struct fs_path *p, const char *name, int name_len) in fs_path_add()
574 static int fs_path_add_path(struct fs_path *p, struct fs_path *p2) in fs_path_add_path()
588 static int fs_path_add_from_extent_buffer(struct fs_path *p, in fs_path_add_from_extent_buffer()
605 static int fs_path_copy(struct fs_path *p, struct fs_path *from) in fs_path_copy()
613 static void fs_path_unreverse(struct fs_path *p) in fs_path_unreverse()
815 struct fs_path *from, struct fs_path *to) in send_rename()
840 struct fs_path *path, struct fs_path *lnk) in send_link()
864 static int send_unlink(struct send_ctx *sctx, struct fs_path *path) in send_unlink()
887 static int send_rmdir(struct send_ctx *sctx, struct fs_path *path) in send_rmdir()
979 struct fs_path *p,
998 struct fs_path *p; in iterate_inode_ref()
1218 struct fs_path *p, void *ctx) in __copy_first_ref()
1221 struct fs_path *pt = ctx; in __copy_first_ref()
1236 u64 ino, struct fs_path *path) in get_inode_path()
1737 struct fs_path *dest) in read_symlink()
1797 struct fs_path *dest) in gen_unique_name()
2005 u64 *dir, u64 *dir_gen, struct fs_path *name) in get_first_ref()
2075 struct fs_path *tmp_name; in is_first_ref()
2244 struct fs_path *name = NULL; in did_overwrite_first_ref()
2291 struct fs_path *dest) in __get_cur_name_and_parent()
2423 struct fs_path *dest) in get_cur_path()
2426 struct fs_path *name = NULL; in get_cur_path()
2581 struct fs_path *p; in send_truncate()
2611 struct fs_path *p; in send_chmod()
2641 struct fs_path *p; in send_fileattr()
2674 struct fs_path *p; in send_chown()
2706 struct fs_path *p = NULL; in send_utimes()
2827 struct fs_path *p; in send_create_inode()
3005 struct fs_path *full_path;
3036 static void set_ref_path(struct recorded_ref *ref, struct fs_path *path) in set_ref_path()
3079 struct fs_path *path) in orphanize_inode()
3082 struct fs_path *orphan; in orphanize_inode()
3461 static int path_loop(struct send_ctx *sctx, struct fs_path *name, in path_loop()
3505 struct fs_path *from_path = NULL; in apply_dir_move()
3506 struct fs_path *to_path = NULL; in apply_dir_move()
3507 struct fs_path *name = NULL; in apply_dir_move()
3839 struct fs_path *fs_path) in check_ino_in_path() argument
3851 fs_path_reset(fs_path); in check_ino_in_path()
3852 ret = get_first_ref(root, ino, &parent, &parent_gen, fs_path); in check_ino_in_path()
3871 struct fs_path *fs_path) in is_ancestor() argument
3879 if (!fs_path) { in is_ancestor()
3880 fs_path = fs_path_alloc(); in is_ancestor()
3881 if (!fs_path) in is_ancestor()
3934 parent, parent_gen, fs_path); in is_ancestor()
3946 fs_path_free(fs_path); in is_ancestor()
3958 struct fs_path *path_before = NULL; in wait_for_parent_move()
3959 struct fs_path *path_after = NULL; in wait_for_parent_move()
4054 struct fs_path *new_path; in update_ref_path()
4157 struct fs_path *valid_path = NULL; in process_recorded_refs()
4642 struct fs_path *name, u64 dir, u64 dir_gen, in record_ref_in_tree()
4646 struct fs_path *path = NULL; in record_ref_in_tree()
4684 struct fs_path *name, void *ctx) in record_new_ref_if_needed()
4714 struct fs_path *name, void *ctx) in record_deleted_ref_if_needed()
4855 struct fs_path *path, in send_set_xattr()
4877 struct fs_path *path, in send_remove_xattr()
4902 struct fs_path *p; in __process_new_xattr()
4946 struct fs_path *p; in __process_deleted_xattr()
5136 static int send_verity(struct send_ctx *sctx, struct fs_path *path, in send_verity()
5167 struct fs_path *p; in process_verity()
5321 struct fs_path *p; in send_write()
5359 struct fs_path *p; in send_clone()
5430 struct fs_path *p; in send_update_extent()
5458 struct fs_path *p = NULL; in send_hole()
5518 struct fs_path *fspath; in send_encoded_inline_extent()
5583 struct fs_path *fspath; in send_encoded_extent()
5807 struct fs_path *fspath = NULL; in send_capabilities()