/netbsd/usr.sbin/sysinst/ |
H A D | mbr.c | 212 m->mbr.mbr_parts[i].mbrp_type, in dump_mbr() 223 m->mbr.mbr_parts[i].mbrp_type) in dump_mbr() 410 m->mbr.mbr_parts[i].mbrp_type); in find_mbr_space() 1385 switch (mp->mbrp_type) { in mbr_do_get_part_info() 1405 info->fs_sub_type = mp->mbrp_type; in mbr_do_get_part_info() 1473 if (!MBR_IS_EXTENDED(mp->mbrp_type)) in type_can_change() 1595 mp->mbrp_type = pt; in mbr_info_to_partitition() 2004 if (MBR_IS_EXTENDED(mp->mbrp_type) in mbr_do_delete_part() 2020 md->mbrp_type = MBR_PTYPE_UNUSED; in mbr_do_delete_part() 2039 .mbrp_type)) in mbr_do_delete_part() [all …]
|
/netbsd/sbin/fdisk/ |
H A D | fdisk.c | 796 if (partp->mbrp_type == 0) { in print_part() 856 if (MBR_IS_EXTENDED(partp->mbrp_type)) in print_mbr_partition() 861 printf("%s (sysid %d)\n", get_type(partp->mbrp_type), partp->mbrp_type); in print_mbr_partition() 1179 boot->mbr_parts[3].mbrp_type != 0) in get_extended_ptn() 1189 if (boot->mbr_parts[1].mbrp_type == 0) in get_extended_ptn() 1256 if (partp->mbrp_type != 0) { in get_ptn_alignmemt() 1754 if (part->mbrp_type == 0) in get_mapping() 1789 mboot.mbr_parts[part].mbrp_type = 0; in delete_ptn() 2077 sysid = partp->mbrp_type; in change_part() 2082 sysid = partp->mbrp_type; in change_part() [all …]
|
/netbsd/sys/arch/arm/arm/ |
H A D | disksubr_mbr.c | 136 if (mbrp[i].mbrp_type == MBR_PTYPE_NETBSD) in mbr_label_read() 142 if (mbrp[i].mbrp_type == MBR_PTYPE_386BSD) { in mbr_label_read() 151 if ((i == 0 && mbrp->mbrp_type == MBR_PTYPE_PMBR) in mbr_label_read() 152 || mbrp->mbrp_type == MBR_PTYPE_UNUSED) { in mbr_label_read() 167 pp->p_fstype = xlat_mbr_fstype(mbrp->mbrp_type); in mbr_label_read() 256 if (mbrp[i].mbrp_type == MBR_PTYPE_NETBSD) in mbr_label_locate() 262 if (mbrp[i].mbrp_type == MBR_PTYPE_386BSD) { in mbr_label_locate()
|
/netbsd/sys/kern/ |
H A D | subr_disk_mbr.c | 167 if (mbr->mbr_parts[0].mbrp_type == MBR_PTYPE_PMBR in scan_mbr() 168 && mbr->mbr_parts[1].mbrp_type == MBR_PTYPE_UNUSED in scan_mbr() 169 && mbr->mbr_parts[2].mbrp_type == MBR_PTYPE_UNUSED in scan_mbr() 187 if (ptns[i].mbrp_type != MBR_PTYPE_UNUSED) in scan_mbr() 202 if (dp->mbrp_type == MBR_PTYPE_UNUSED) in scan_mbr() 213 if (MBR_IS_EXTENDED(dp->mbrp_type)) { in scan_mbr() 218 if (dp->mbrp_type == MBR_PTYPE_386BSD) { in scan_mbr() 516 dp->mbrp_type == MBR_PTYPE_386BSD || in look_netbsd_part() 518 dp->mbrp_type == MBR_PTYPE_NETBSD) { in look_netbsd_part() 559 pp->p_fstype = xlat_mbr_fstype(dp->mbrp_type); in look_netbsd_part() [all …]
|
/netbsd/sys/dev/dkwedge/ |
H A D | dkwedge_mbr.c | 106 switch (dp[i].mbrp_type) { in getparts() 112 if (MBR_IS_EXTENDED(dp[i].mbrp_type)) in getparts() 119 if ((ptype = mbr_ptype_to_str(dp[i].mbrp_type)) == NULL) { in getparts() 126 dp[i].mbrp_type); in getparts() 156 dp[i].mbrp_type); in getparts() 166 if (MBR_IS_EXTENDED(dp[i].mbrp_type)) { in getparts()
|
H A D | dkwedge_bsdlabel.c | 378 if (dp->mbrp_type == 0) in scan_mbr() 380 if (MBR_IS_EXTENDED(dp->mbrp_type)) { in scan_mbr() 385 if (dp->mbrp_type == MBR_PTYPE_386BSD) { in scan_mbr() 426 dp->mbrp_type == MBR_PTYPE_386BSD || in look_netbsd_part() 428 dp->mbrp_type == MBR_PTYPE_NETBSD) { in look_netbsd_part()
|
/netbsd/sbin/mbrlabel/ |
H A D | mbrlabel.c | 158 if (parts[i].mbrp_type == 0 || in getparts() 160 MBR_IS_EXTENDED(parts[i].mbrp_type)) in getparts() 166 npe.p_fstype = xlat_mbr_fstype(parts[i].mbrp_type); in getparts() 263 if (MBR_IS_EXTENDED(parts[i].mbrp_type)) { in getparts()
|
/netbsd/sys/arch/hpc/hpc/ |
H A D | disksubr.c | 80 if (dp[i].mbrp_type == MBR_PTYPE_NETBSD) { in mbr_findslice() 90 if (dp[i].mbrp_type == MBR_PTYPE_386BSD) { in mbr_findslice() 194 if (dp->mbrp_type == *ip) in readdisklabel() 197 if (dp->mbrp_type == MBR_PTYPE_LNXEXT2) in readdisklabel() 200 if (dp->mbrp_type == MBR_PTYPE_NTFS) in readdisklabel()
|
/netbsd/usr.sbin/sysinst/arch/ofppc/ |
H A D | md.c | 508 if (part->mbrp_type == MBR_PTYPE_PREP && in md_pre_update() 511 if (part->mbrp_type == MBR_PTYPE_RESERVED_x21 && in md_pre_update() 551 if (part->mbrp_type == MBR_PTYPE_FAT12) { in md_check_mbr() 554 } else if (part->mbrp_type == MBR_PTYPE_PREP && in md_check_mbr() 560 } else if (part->mbrp_type == MBR_PTYPE_PREP && in md_check_mbr()
|
/netbsd/sys/arch/shark/stand/ofwboot/ |
H A D | ofdev.c | 205 if (p->mbrp_type == MBR_PTYPE_NETBSD in search_label() 207 || (p->mbrp_type == MBR_PTYPE_386BSD && in search_label() 226 } else if (p->mbrp_type == MBR_PTYPE_EXT) { in search_label()
|
/netbsd/sys/arch/ofppc/stand/ofwboot/ |
H A D | mbr.c | 115 if (p->mbrp_type == ptype) { in find_mbr_part() 119 else if (p->mbrp_type == MBR_PTYPE_EXT) { in find_mbr_part()
|
/netbsd/sys/arch/hpc/stand/libsa/ |
H A D | winblk.c | 215 ctx->mbr[i].mbrp_type, in winblkopen() 233 if (ctx->mbr[i].mbrp_type == MBR_PTYPE_NETBSD) { in winblkopen() 237 if (ctx->mbr[i].mbrp_type == MBR_PTYPE_386BSD) { in winblkopen()
|
/netbsd/sys/arch/hpcmips/stand/libsa/ |
H A D | winblk.c | 215 ctx->mbr[i].mbrp_type, in winblkopen() 233 if (ctx->mbr[i].mbrp_type == MBR_PTYPE_NETBSD) { in winblkopen() 237 if (ctx->mbr[i].mbrp_type == MBR_PTYPE_386BSD) { in winblkopen()
|
/netbsd/sys/arch/playstation2/playstation2/ |
H A D | disksubr.c | 69 if (dp[i].mbrp_type == MBR_PTYPE_NETBSD) { in mbr_findslice() 163 if (dp->mbrp_type == MBR_PTYPE_LNXEXT2) in readdisklabel() 166 if (dp->mbrp_type == MBR_PTYPE_LNXSWAP) in readdisklabel()
|
/netbsd/sys/arch/evbmips/sbmips/ |
H A D | disksubr.c | 70 if (dp[i].mbrp_type == MBR_PTYPE_NETBSD) { in mbr_findslice() 164 if (dp->mbrp_type == MBR_PTYPE_LNXEXT2) in readdisklabel() 167 if (dp->mbrp_type == MBR_PTYPE_LNXSWAP) in readdisklabel()
|
/netbsd/sys/arch/sbmips/sbmips/ |
H A D | disksubr.c | 70 if (dp[i].mbrp_type == MBR_PTYPE_NETBSD) { in mbr_findslice() 164 if (dp->mbrp_type == MBR_PTYPE_LNXEXT2) in readdisklabel() 167 if (dp->mbrp_type == MBR_PTYPE_LNXSWAP) in readdisklabel()
|
/netbsd/sys/arch/macppc/stand/ofwboot/ |
H A D | ofdev.c | 255 if (p->mbrp_type == MBR_PTYPE_NETBSD in search_dos_label() 257 || (p->mbrp_type == MBR_PTYPE_386BSD && in search_dos_label() 276 } else if (p->mbrp_type == MBR_PTYPE_EXT) { in search_dos_label()
|
/netbsd/sys/arch/sh3/sh3/ |
H A D | disksubr.c | 279 if (dp[i].mbrp_type == MBR_PTYPE_NETBSD) { in mbr_findslice() 374 if (dp->mbrp_type == *ip) in readdisklabel() 377 if (dp->mbrp_type == MBR_PTYPE_LNXEXT2) in readdisklabel() 380 if (dp->mbrp_type == MBR_PTYPE_NTFS) in readdisklabel()
|
/netbsd/usr.sbin/sysinst/arch/evbarm/ |
H A D | md.c | 315 if (part->mbrp_type != MBR_PTYPE_FAT16L && in md_check_mbr() 316 part->mbrp_type != MBR_PTYPE_FAT32L) in md_check_mbr()
|
/netbsd/sys/arch/macppc/macppc/ |
H A D | disksubr.c | 499 switch (dp->mbrp_type) { in read_dos_label() 517 if (!dp->mbrp_type) in read_dos_label() 528 switch (dp->mbrp_type) { in read_dos_label()
|
/netbsd/sys/arch/mac68k/mac68k/ |
H A D | disksubr.c | 346 if (dp->mbrp_type == 0) in read_mbr_label() 358 if (dp->mbrp_type == *ip) { in read_mbr_label()
|
/netbsd/usr.sbin/sysinst/arch/i386/ |
H A D | md.c | 818 if (mbrp[i].mbrp_type == MBR_PTYPE_386BSD) { in md_mbr_update_check() 821 } else if (mbrp[i].mbrp_type == MBR_PTYPE_NETBSD) in md_mbr_update_check() 826 mbrp[oldbsdpart].mbrp_type = MBR_PTYPE_NETBSD; in md_mbr_update_check()
|
/netbsd/sys/arch/ofppc/ofppc/ |
H A D | disksubr.c | 141 switch (dp->mbrp_type) { in read_dos_label() 157 if (!dp->mbrp_type) in read_dos_label() 169 switch (dp->mbrp_type) { in read_dos_label()
|
/netbsd/usr.sbin/sysinst/arch/arc/ |
H A D | md.c | 251 if (part->mbrp_type == MBR_PTYPE_FAT12) { in md_check_mbr()
|
/netbsd/usr.sbin/sysinst/arch/cobalt/ |
H A D | md.c | 266 if (part->mbrp_type == MBR_PTYPE_LNXEXT2) { in md_check_mbr()
|