Home
last modified time | relevance | path

Searched refs:dp_typ (Results 1 – 23 of 23) sorted by relevance

/openbsd/usr.sbin/installboot/
H A Dmacppc_installboot.c273 if (dp[i].dp_typ == DOSPTYP_UNUSED) in findmbrfat()
275 if (dp[i].dp_typ == DOSPTYP_FAT16L || in findmbrfat()
276 dp[i].dp_typ == DOSPTYP_FAT32L || in findmbrfat()
277 dp[i].dp_typ == DOSPTYP_FAT16B) in findmbrfat()
H A Docteon_installboot.c273 if (dp[i].dp_typ == DOSPTYP_UNUSED) in findmbrfat()
275 if (dp[i].dp_typ == DOSPTYP_FAT16L || in findmbrfat()
276 dp[i].dp_typ == DOSPTYP_FAT32L || in findmbrfat()
277 dp[i].dp_typ == DOSPTYP_FAT16B) in findmbrfat()
H A Dpowerpc64_installboot.c308 if (dp[i].dp_typ == DOSPTYP_UNUSED) in findmbrfat()
310 if (dp[i].dp_typ == DOSPTYP_FAT16L || in findmbrfat()
311 dp[i].dp_typ == DOSPTYP_FAT32L || in findmbrfat()
312 dp[i].dp_typ == DOSPTYP_FAT16B) in findmbrfat()
H A Defi_installboot.c448 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
451 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
583 if (dp[i].dp_typ == DOSPTYP_UNUSED) in findmbrfat()
585 if (dp[i].dp_typ == DOSPTYP_FAT16L || in findmbrfat()
586 dp[i].dp_typ == DOSPTYP_FAT32L || in findmbrfat()
587 dp[i].dp_typ == DOSPTYP_EFISYS) in findmbrfat()
H A Dloongson_installboot.c232 if (dp[i].dp_typ == DOSPTYP_UNUSED) in findmbrfat()
234 if (dp[i].dp_typ == DOSPTYP_LINUX) in findmbrfat()
H A Di386_installboot.c536 i, dp->dp_typ, dp->dp_start, dp->dp_size); in findopenbsd()
538 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
544 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
545 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
580 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
583 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
H A Dlandisk_installboot.c150 if (mbr->dmbr_parts[i].dp_typ == in md_bootstrap()
/openbsd/sys/arch/armv7/stand/efiboot/
H A Defidev.c161 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
164 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
224 dp->dp_typ, dp->dp_typ, in findopenbsd()
227 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
237 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
238 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
/openbsd/sys/arch/riscv64/stand/efiboot/
H A Defidev.c161 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
164 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
224 dp->dp_typ, dp->dp_typ, in findopenbsd()
227 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
237 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
238 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
H A Dsoftraid_riscv64.c401 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
404 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
560 if (dp->dp_typ == DOSPTYP_OPENBSD) { in sr_getdisklabel()
/openbsd/sys/arch/amd64/stand/efiboot/
H A Defidev.c171 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
174 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
234 dp->dp_typ, dp->dp_typ, in findopenbsd()
237 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
247 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
248 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defidev.c161 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
164 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
224 dp->dp_typ, dp->dp_typ, in findopenbsd()
227 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
237 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
238 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
H A Dsoftraid_arm64.c401 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
404 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
560 if (dp->dp_typ == DOSPTYP_OPENBSD) { in sr_getdisklabel()
/openbsd/sys/arch/i386/stand/libsa/
H A Dbiosdev.c407 dp->dp_typ, dp->dp_typ, in findopenbsd()
410 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
420 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
421 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
H A Dsoftraid_i386.c402 if (dp->dp_typ == DOSPTYP_OPENBSD) { in sr_getdisklabel()
/openbsd/sys/arch/amd64/stand/libsa/
H A Dbiosdev.c406 dp->dp_typ, dp->dp_typ, in findopenbsd()
409 if (dp->dp_typ == DOSPTYP_OPENBSD) { in findopenbsd()
419 if (!nextebr && (dp->dp_typ == DOSPTYP_EXTEND || in findopenbsd()
420 dp->dp_typ == DOSPTYP_EXTENDL)) { in findopenbsd()
H A Dsoftraid_amd64.c409 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
412 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
568 if (dp->dp_typ == DOSPTYP_OPENBSD) { in sr_getdisklabel()
/openbsd/sys/arch/macppc/stand/
H A Dofdev.c260 if (p->dp_typ == DOSPTYP_OPENBSD) { in search_label()
275 } else if (p->dp_typ == DOSPTYP_EXTEND) { in search_label()
/openbsd/sys/kern/
H A Dsubr_disk.c441 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
444 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()
708 mbr_get_fstype(const uint8_t dp_typ) in mbr_get_fstype() argument
710 switch (dp_typ) { in mbr_get_fstype()
781 if (obsdfound && dp[i].dp_typ == DOSPTYP_OPENBSD) in spoofmbr()
784 if (dp[i].dp_typ != DOSPTYP_OPENBSD) { in spoofmbr()
802 switch (dp[i].dp_typ) { in spoofmbr()
827 fstype = mbr_get_fstype(dp[i].dp_typ); in spoofmbr()
/openbsd/sys/arch/loongson/stand/boot/
H A Ddev.c213 if (dp[i].dp_typ == DOSPTYP_OPENBSD) { in pmon_getdisklabel()
/openbsd/sys/sys/
H A Ddisklabel.h453 u_int8_t dp_typ; /* partition type (see below) */ member
/openbsd/sbin/fdisk/
H A Dpart.c983 prt->prt_id = dp->dp_typ; in PRT_dp_to_prt()
1020 dp->dp_typ = prt->prt_id & 0xFF; in PRT_prt_to_dp()
H A Dgpt.c102 if (dp2->dp_typ == DOSPTYP_UNUSED) in gpt_chk_mbr()
105 if (dp2->dp_typ != DOSPTYP_EFI) in gpt_chk_mbr()