oldfile 197 kern/vfs/vfspath.c struct vnode *oldfile;
oldfile 202 kern/vfs/vfspath.c result = vfs_lookup(oldpath, &oldfile);
oldfile 208 kern/vfs/vfspath.c VOP_DECREF(oldfile);
oldfile 212 kern/vfs/vfspath.c if (oldfile->vn_fs==NULL || newdir->vn_fs==NULL ||
oldfile 213 kern/vfs/vfspath.c oldfile->vn_fs != newdir->vn_fs) {
oldfile 215 kern/vfs/vfspath.c VOP_DECREF(oldfile);
oldfile 219 kern/vfs/vfspath.c result = VOP_LINK(newdir, newname, oldfile);
oldfile 222 kern/vfs/vfspath.c VOP_DECREF(oldfile);
oldfile 65 user/bin/ln/ln.c dohardlink(const char *oldfile, const char *newfile)
oldfile 67 user/bin/ln/ln.c if (link(oldfile, newfile)) {
oldfile 68 user/bin/ln/ln.c err(1, "%s or %s", oldfile, newfile);
oldfile 49 user/bin/mv/mv.c dorename(const char *oldfile, const char *newfile)
oldfile 51 user/bin/mv/mv.c if (rename(oldfile, newfile)) {
oldfile 52 user/bin/mv/mv.c err(1, "%s or %s", oldfile, newfile);
oldfile 143 user/include/unistd.h int rename(const char *oldfile, const char *newfile);
oldfile 144 user/include/unistd.h int link(const char *oldfile, const char *newfile);