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