Lines Matching refs:kern_path
773 char *kern_path = NULL; in cvt_to_hyper() local
860 &kern_path)) != 0) { in cvt_to_hyper()
893 if (kern_path == NULL) { in cvt_to_hyper()
942 if ((strcmp(kern_path, DIRECT_BOOT_32) == 0) || in cvt_to_hyper()
943 (strcmp(kern_path, DIRECT_BOOT_64) == 0)) { in cvt_to_hyper()
944 kern_path = HYPERVISOR_KERNEL; in cvt_to_hyper()
946 newstr = modify_path(kern_path, METAL_KERNEL_DIR, in cvt_to_hyper()
948 free(kern_path); in cvt_to_hyper()
949 kern_path = newstr; in cvt_to_hyper()
958 len = (strlen(kern_path) * 2) + WHITESPC(1) + 1; in cvt_to_hyper()
962 (void) snprintf(mod_kernel, len, "%s %s", kern_path, kern_path); in cvt_to_hyper()
965 free(kern_path); in cvt_to_hyper()
1032 char *kern_path = NULL; in cvt_to_metal() local
1089 cvt_hyper_module(module, &kern_path); in cvt_to_metal()
1121 if (kern_path == NULL) { in cvt_to_metal()
1133 newstr = modify_path(kern_path, HYPER_KERNEL_DIR, METAL_KERNEL_DIR); in cvt_to_metal()
1134 free(kern_path); in cvt_to_metal()
1135 kern_path = newstr; in cvt_to_metal()
1138 len = strlen(kern_path) + 1; in cvt_to_metal()
1142 free(kern_path); in cvt_to_metal()
1148 (void) snprintf(kernel, len, "%s", kern_path); in cvt_to_metal()
1149 free(kern_path); in cvt_to_metal()