Searched refs:bootid (Results 1 – 10 of 10) sorted by relevance
139 if (iparts[i].bootid == ACTIVE && in partition_get_assocs()476 (unsigned int)iparts[part_num - 1].bootid) != 0) { in get_attrs()672 iparts[j].bootid = log_drv->parts[0].bootid; in get_parts()753 if (iparts[pnum].bootid == ACTIVE && in has_slices()762 if (iparts[i].bootid == ACTIVE && in has_slices()
127 partp->bootid = getbyte((uchar_t **)&bootptr); in fill_ipart()546 ip.bootid = 0;552 ipart->bootid = ip.bootid;611 ipart->bootid = ip.bootid;764 ip.bootid = 0;
927 if (fdisk.part[i].bootid == ACTIVE) in check_vtoc_sanity()1199 fdisk->part[i].bootid = part->bootid; in get_fdisk()1200 if (part->bootid && (part->bootid != ACTIVE)) { in get_fdisk()1211 DPRINTF1("\tboot id 0x%x\n", part->bootid); in get_fdisk()1378 parts[i].bootid = 0; in write_default_label()1385 parts[0].bootid = ACTIVE; in write_default_label()1539 if (fdisk.part[i].bootid == ACTIVE) in overwrite_metadata()1542 } else if ((fdisk.part[i].bootid == ACTIVE) && in overwrite_metadata()
142 uint8_t bootid; /* Bootable? (Active/Inactive) */ member
1258 Table[0].bootid = ACTIVE; in main()2030 Table[i].bootid == act && in load()2059 temp->parts[0].bootid == act && in load()2320 Table[i].bootid = (uchar_t)act; in insert_tbl()2379 Old_Table[i].bootid == act && in entry_from_old_table()2509 Table[i].bootid, in verify_tbl()2519 Table[j].bootid, in verify_tbl()2981 Table[j].bootid = ACTIVE;2988 Table[j].bootid = 0;2992 Table[i].bootid = 0;[all …]
76 unsigned char bootid; /* bootable or not */ member
120 if (part->bootid == 128) in main()
901 part->bootid = 0; in fdisk_add_logical_drive()938 part->bootid = 0; in fdisk_add_logical_drive()
873 if (!log_part && part->bootid != 128 && !write_mbr) { in get_start_sector()
2474 fdp->systid, fdp->bootid);2609 if ((uidx == -1) || (fdp->bootid == ACTIVE)) {