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