Lines Matching defs:bootfs
265 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
269 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
731 } else if (strcmp(tok, "bootfs") == 0) {
732 char *bootfs = strtok(NULL, BE_WHITE_SPACE);
734 if (bootfs == NULL)
737 if (strcmp(bootfs, be_root_ds) == 0) {
743 strcmp(bootfs, be_orig_root_ds) == 0 &&
757 * and the bootfs line store these. Also
767 * Store the new bootfs line.
769 (void) snprintf(str, BUFSIZ, "bootfs %s\n",
851 (void) fprintf(menu_fp, "bootfs %s\n", be_root_ds);
1078 * entry without finding a 'bootfs' directive. We
1110 } else if (strcmp(tok, "bootfs") == 0) {
1111 char *bootfs = NULL;
1114 * Found a 'bootfs' line. See if it matches the
1117 if ((bootfs = strtok(NULL, BE_WHITE_SPACE)) == NULL ||
1118 strcmp(bootfs, be_root_ds) != 0) {
1120 * Either there's nothing after the 'bootfs'
1141 /* Write this 'bootfs' line out. */
1351 * the grub menu. If no default entry is found with a valid bootfs
1356 * def_bootfs - This is used to pass back the bootfs string. On
1455 if (strcmp(tok, "bootfs") == 0) {
1477 * no bootfs entry for the default entry.
1645 } else if (strcmp(tok, "bootfs") == 0) {
1646 char *bootfs = strtok(NULL, BE_WHITE_SPACE);
1647 if (bootfs == NULL)
1650 if (strcmp(bootfs, be_root_ds) == 0) {
1942 } else if (strcmp(c, "bootfs") == 0) {
1944 * Found a 'bootfs' line, parse out the BE root
1951 * Nothing after 'bootfs', just push
1957 * If this bootfs is the one we're renaming,
1962 sizeof (new_line), "bootfs %s\n",
2107 if (strcmp(tok, "bootfs") == 0) {
2118 * check for bootfs.