Lines Matching refs:sp
29 register char* sp;
41 if (!(sp = pathreal(path, P_TOP|P_LSTAT, NiL)))
43 strncpy(buf, sp, PATH_MAX);
44 if (!(sp = pathreal(target, P_PATHONLY|P_NOOPAQUE, NiL)))
47 if ((r = RENAME(buf, sp)) && errno == ENOENT && (t = strrchr(sp, '/')))
50 r = fs3d_mkdir(sp, S_IRWXU|S_IRWXG|S_IRWXO);
55 r = RENAME(buf, sp);
63 if (sp != buf)
65 if (!(sp = pathreal(target, P_PATHONLY|P_NOOPAQUE|P_ABSOLUTE, NiL)))
67 sp = strncpy(buf, sp, PATH_MAX);
69 fscall(mp, MSG_rename, 0, path, sp);
74 if (sp != buf)
76 if (!(sp = pathreal(target, P_PATHONLY|P_NOOPAQUE|P_ABSOLUTE, NiL)))
78 sp = strncpy(buf, sp, PATH_MAX);
80 fscall(mp, MSG_rename, 0, path, sp);