Searched refs:prt_id (Results 1 – 7 of 7) sorted by relevance
761 head = (prt_id == DOSPTYP_EFI) ? 255 : 254; in chs_to_dp()983 prt->prt_id = dp->dp_typ; in PRT_dp_to_prt()985 if ((prt->prt_id == DOSPTYP_EXTEND) || (prt->prt_id == DOSPTYP_EXTENDL)) in PRT_dp_to_prt()994 if (prt->prt_id == DOSPTYP_EFI && prt->prt_ns == UINT32_MAX) in PRT_dp_to_prt()1005 if (prt->prt_ns == 0 || prt->prt_id == DOSPTYP_UNUSED) { in PRT_prt_to_dp()1010 if ((prt->prt_id == DOSPTYP_EXTEND) || (prt->prt_id == DOSPTYP_EXTENDL)) in PRT_prt_to_dp()1020 dp->dp_typ = prt->prt_id & 0xFF; in PRT_prt_to_dp()1024 if (prt->prt_id == DOSPTYP_EFI && (prt->prt_bs + prt->prt_ns) > in PRT_prt_to_dp()1053 desc = find_mbr_desc(find_mbr_type(prt->prt_id)); in PRT_print_part()1057 prt->prt_id, start.chs_cyl, start.chs_head, start.chs_sect, in PRT_print_part()[all …]
219 oldid = pp->prt_id; in edit()224 if (pp->prt_id == DOSPTYP_UNUSED) { in edit()338 pp->prt_id = ask_pid(pp->prt_id); in setpid()384 if ((mbr->mbr_prt[pn].prt_id != DOSPTYP_EXTEND) && in Xselect()385 (mbr->mbr_prt[pn].prt_id != DOSPTYP_EXTENDL)) { in Xselect()428 if (mbr->mbr_prt[i].prt_id == DOSPTYP_OPENBSD) in Xwrite()
164 if (mbr.mbr_prt[i].prt_id == DOSPTYP_EXTEND || in USER_print_disk()165 mbr.mbr_prt[i].prt_id == DOSPTYP_EXTENDL) { in USER_print_disk()
82 if (disk.dk_bootprt.prt_id != DOSPTYP_EFISYS) in main()257 disk.dk_bootprt.prt_id = partitiontype; in parse_bootprt()
29 unsigned char prt_id; member
91 obsdprt.prt_id = DOSPTYP_OPENBSD; in MBR_init()210 id = mbr->mbr_prt[i].prt_id; in MBR_valid_prt()
569 gmbr.mbr_prt[0].prt_id = DOSPTYP_EFI; in init_gh()