Lines Matching refs:common_path
240 char common_path[PATH_MAX];
247 (void) snprintf(common_path, PATH_MAX, "%s/%s", path, "container");
249 dprintf("path = %s\n", common_path);
250 fd = open(common_path, O_WRONLY | O_CREAT | O_TRUNC,
254 ucode_perror(common_path, EM_SYS);
260 ucode_perror(common_path, EM_SYS);
272 (void) snprintf(common_path, PATH_MAX, "%s/%s", path,
276 dprintf("path = %s\n", common_path);
277 fd = open(common_path, O_WRONLY | O_CREAT | O_TRUNC,
281 ucode_perror(common_path, EM_SYS);
287 ucode_perror(common_path, EM_SYS);
308 (void) snprintf(common_path, PATH_MAX, "%s/%04X-%02X", path,
317 char common_path[PATH_MAX];
321 (void) snprintf(common_path, PATH_MAX, "%s/%s", path,
324 if (mkdirp(common_path, 0755) == -1 && errno != EEXIST) {
325 ucode_perror(common_path, EM_SYS);
346 common_path, uhp->uh_signature, uhp->uh_proc_flags);
446 if ((dirp = opendir(common_path)) == NULL) {
447 ucode_perror(common_path, EM_SYS);
456 "%s/%s", common_path, dp->d_name);