Lines Matching refs:bootcode
338 get_part_metadata(lg_name, 1)->bootcode = 1;
411 const char *bootcode;
421 * Write default bootcode to the newly partitioned disk, if that
431 bootcode = bootcode_path(scheme);
432 if (bootcode == NULL)
435 bootfd = open(bootcode, O_RDONLY);
454 gctl_ro_param(r, "verb", -1, "bootcode");
455 gctl_ro_param(r, "bootcode", bootsize, boot);
492 snprintf(command, sizeof(command), "gpart bootcode -p %s -i %s %s",
761 md->bootcode = 1;
965 if (bootmount == NULL && (md == NULL || !md->bootcode))
1529 /* Add bootcode if necessary, before the commit */
1531 if (md != NULL && md->bootcode)
1537 if (md == NULL || !md->bootcode)