Lines Matching refs:grubroot
5025 char *grubroot; /* (hd#,#,#) */
5090 grubroot = s_calloc(1, 10);
5097 (void) snprintf(grubroot, 10, "(hd%s,%d,%c)",
5100 (void) snprintf(grubroot, 10, "(hd%s,%d)",
5104 assert(strncmp(grubroot, "(hd", strlen("(hd")) == 0);
5105 return (grubroot);
7652 char *grubroot;
7672 grubroot = get_grubroot(osroot, physical, NULL);
7674 INJECT_ERROR1("IS_BOOTDISK_GRUBROOT", grubroot = NULL);
7675 if (grubroot == NULL) {
7680 ret = grubroot[3] == '0';
7681 free(grubroot);
8156 char *grubroot;
8190 grubroot = get_grubroot(osroot, osdev, menu_root);
8191 INJECT_ERROR1("GET_GRUBROOT_FAIL", grubroot = NULL);
8192 if (grubroot) {
8204 entry = update_boot_entry(mp, title, grubsign, grubroot,
8211 grubroot, XEN_MENU, bam_zfs ?
8219 entry = update_boot_entry(mp, title, grubsign, grubroot,
8260 grubroot, failsafe_kernel, NULL, FAILSAFE_ARCHIVE,
8266 free(grubroot);