Lines Matching defs:newpath
1598 const char *newpath, unsigned int flags)
1603 fuse_log(FUSE_LOG_DEBUG, "rename %s %s 0x%x\n", oldpath, newpath,
1606 return fs->op.rename(oldpath, newpath, flags);
1651 int fuse_fs_link(struct fuse_fs *fs, const char *oldpath, const char *newpath)
1656 fuse_log(FUSE_LOG_DEBUG, "link %s %s\n", oldpath, newpath);
1658 return fs->op.link(oldpath, newpath);
2373 char *newpath;
2391 res = try_get_path(f, dir, newname, &newpath, NULL, false);
2397 res = fuse_fs_getattr(f->fs, newpath, &buf, NULL);
2400 free(newpath);
2401 newpath = NULL;
2404 return newpath;
2411 char *newpath;
2414 newpath = hidden_name(f, dir, oldname, newname, sizeof(newname));
2415 if (newpath) {
2416 err = fuse_fs_rename(f->fs, oldpath, newpath, 0);
2419 free(newpath);
3040 char *newpath;
3046 &oldpath, &newpath, &wnode1, &wnode2);
3053 err = hide_node(f, newpath, newdir, newname);
3055 err = fuse_fs_rename(f->fs, oldpath, newpath, flags);
3067 free_path2(f, olddir, newdir, wnode1, wnode2, oldpath, newpath);
3078 char *newpath;
3082 &oldpath, &newpath, NULL, NULL);
3087 err = fuse_fs_link(f->fs, oldpath, newpath);
3089 err = lookup_path(f, newparent, newname, newpath,
3092 free_path2(f, ino, newparent, NULL, NULL, oldpath, newpath);