Lines Matching refs:filename
2466 * Generate a filename based on the fmri and the given name and return
2468 * If temp_filename is non-zero, also generate a temporary, unique filename
2474 * -1 if filename would exceed MAXPATHLEN or
2475 * -2 if unable to create directory to filename path
2478 gen_filenms_from_fmri(const char *fmri, const char *name, char *filename,
2493 (void) strcpy(filename, SMF_SPEEDY_FILES_PATH);
2494 (void) strcat(filename, fmri);
2495 if (mkdirp(filename, 0755) == -1) {
2501 (void) strcat(filename, "/");
2502 (void) strcat(filename, name);
2505 (void) strcpy(temp_filename, filename);