Lines Matching refs:pathname
92 char pathname[MAXPATHLEN];
149 * get pathname of current directory and return to client
162 *sp = &pathname[0];
163 pathname[0] = '\0';
180 (void) snprintf(pathname, sizeof(pathname), "%s/%s", sp_name, sys);
182 rc = mkdir(pathname, dir_mode); /* DON'T ignore this return code */
188 if (stat(pathname, &statbuf) || !S_ISDIR(statbuf.st_mode)) {
193 pathname);
195 pathname[0] = '\0'; /* null to tell client bad vibes */
200 pathname[0] = '\0'; /* null to tell client bad vibes */
228 (void) snprintf(pathname, sizeof(pathname), "%s/%s/%s", sp_name,
235 if (stat(pathname, &statbuf)) {
243 (void) strlcat(pathname, ".spl", sizeof(pathname));
244 if (stat(pathname, &statbuf)) {
269 (void) unlink(pathname);
280 (void) strlcpy(new_pathname, pathname, sizeof(new_pathname));
291 (void) strlcpy(new_pathname, pathname, sizeof(new_pathname)); /* rebuild a new name */
296 if (rename(pathname, new_pathname)) {
304 pathname, new_pathname);
320 "rpc.pcnfsd: ps630 filter disabled for %s\n", pathname);