Lines Matching defs:tmppath
774 char *tmppath = NULL;
782 tmppath = (char *)malloc(MAXPATHLEN);
783 if (tmppath == NULL) {
784 syslog(LOG_ERR, "tmppath malloc failed. Exiting");
791 dss_mkleafdir(p, NFS4_DSS_STATE_LEAF, tmppath);
792 dss_mkleafdir(p, NFS4_DSS_OLDSTATE_LEAF, tmppath);
795 free(tmppath);
803 dss_mkleafdir(char *dir, char *leaf, char *tmppath)
812 (void) snprintf(tmppath, MAXPATHLEN, "%s/%s", dir, leaf);
815 if (mkdir(tmppath, NFS4_DSS_DIR_MODE) == -1 && errno != EEXIST) {
817 "%s: %s. Exiting", strerror(errno), tmppath);