Searched refs:fullnewpath (Results 1 – 2 of 2) sorted by relevance
/third_party/NuttX/fs/vfs/ |
D | fs_rename.c | 91 static int check_path_invalid(const char *fulloldpath, const char *fullnewpath) in check_path_invalid() argument 104 if (strncmp(fulloldpath, fullnewpath, len)) in check_path_invalid() 109 if (fullnewpath[len] != '/') in check_path_invalid() 124 char *fullnewpath = NULL; in do_rename() local 140 ret = vfs_normalize_pathat(newfd, newpath, &fullnewpath); in do_rename() 146 newname = strrchr(fullnewpath, '/') + 1; in do_rename() 147 ret = check_path_invalid(fulloldpath, fullnewpath); in do_rename() 160 ret = VnodeLookup(fullnewpath, &new_vnode, 0); in do_rename() 179 free(fullnewpath); in do_rename() 196 old_vnode->filePath = strdup(fullnewpath); in do_rename() [all …]
|
D | fs_link.c | 43 char *fullnewpath = NULL; in do_link() local 59 ret = vfs_normalize_pathat(newfd, newpath, &fullnewpath); in do_link() 74 newname = strrchr(fullnewpath, '/') + 1; in do_link() 108 ret = VnodeLookup(fullnewpath, &new_parent_vnode, 0); in do_link() 137 free(fullnewpath); in do_link() 145 free(fullnewpath); in do_link()
|