Lines Matching refs:old_path
2356 static int ntfs_fuse_link(const char *old_path, const char *new_path)
2368 if (ntfs_fuse_is_named_data_stream(old_path))
2376 ni = ntfs_pathname_to_inode(ctx->vol, NULL, old_path);
2401 samedir = !strncmp(old_path, path, strlen(path))
2402 && (old_path[strlen(path)] == '/');
2405 && ((!samedir && !ntfs_allowed_dir_access(&security,old_path,
2588 static int ntfs_fuse_safe_rename(const char *old_path,
2603 ret = ntfs_fuse_link(old_path, new_path);
2607 ret = ntfs_fuse_unlink(old_path);
2636 static int ntfs_fuse_rename_existing_dest(const char *old_path, const char *new_path)
2669 ret = ntfs_fuse_safe_rename(old_path, new_path, tmp);
2673 ret = ntfs_fuse_safe_rename(old_path, new_path, tmp);
2680 static int ntfs_fuse_rename(const char *old_path, const char *new_path)
2689 ntfs_log_debug("rename: old: '%s' new: '%s'\n", old_path, new_path);
2719 stream_name_len = ntfs_fuse_parse_path(old_path,
2732 old_path, new_path);
2738 ret = ntfs_fuse_link(old_path, new_path);
2742 ret = ntfs_fuse_unlink(old_path);