part_type
part_type(type),
unsigned char part_type;
switch (mc5->part_type) {
CH_ERR(adap, "Unsupported TCAM type %d\n", mc5->part_type);
if (mc5->part_type == IDT75P52100)
else if (mc5->part_type == IDT75N43102)
mc5->part_type = (unsigned char) G_TMTYPE(cfg);
mc5->part_type |= 4;
entry->type = vol->part_type;
vol->part_type);
uint8_t part_type; /* partition type */
blk->u.vol.part_type = p[offset + 4];
partcode_path(const char *part_type, const char *fs_type)
is_scheme_bootable(const char *part_type)
if (strcmp(part_type, "GPT") == 0)
is_fs_bootable(const char *part_type, const char *fs)
bootcode_path(const char *part_type)
is_scheme_bootable(const char *part_type) {
is_fs_bootable(const char *part_type, const char *fs) {
bootpart_size(const char *part_type) {
bootcode_path(const char *part_type) {
partcode_path(const char *part_type, const char *fs_type) {
bootcode_path(const char *part_type) {
partcode_path(const char *part_type, const char *fs_type) {
if (strcmp(part_type, "APM") == 0)
is_scheme_bootable(const char *part_type) {
if (strcmp(platform, "powermac") == 0 && strcmp(part_type, "APM") == 0)
if (strcmp(platform, "powernv") == 0 && strcmp(part_type, "GPT") == 0)
(strcmp(part_type, "MBR") == 0 || strcmp(part_type, "BSD") == 0 ||
strcmp(part_type, "GPT") == 0))
if (strcmp(platform, "mpc85xx") == 0 && strcmp(part_type, "MBR") == 0)
is_fs_bootable(const char *part_type, const char *fs)
bootpart_size(const char *part_type)
if (strcmp(part_type, "APM") == 0)
if (strcmp(part_type, "BSD") == 0) /* Nothing for nested */
bootcode_path(const char *part_type)
if (strcmp(part_type, "GPT") == 0)
if (strcmp(part_type, "MBR") == 0)
if (strcmp(part_type, "BSD") == 0)
partcode_path(const char *part_type, const char *fs_type)
if (strcmp(part_type, "GPT") == 0 && strcmp(x86_bootmethod(), "UEFI") != 0) {
is_scheme_bootable(const char *part_type)
if (strcmp(part_type, "GPT") == 0)
if (strcmp(part_type, "BSD") == 0)
if (strcmp(part_type, "MBR") == 0)
is_fs_bootable(const char *part_type, const char *fs)
strcmp(part_type, "GPT") == 0 &&
long part_type;
part_type = strtol(conf->lg_val, NULL, 10);
if (part_type == HR_FREEBSD_PART_TYPE)
const char *part_name, const char *part_type)
fwrite(part_type, strlen(part_type) + 1, 1, fd);
fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR);