Home
last modified time | relevance | path

Searched refs:mbrp_type (Results 1 – 25 of 41) sorted by relevance

12

/netbsd/usr.sbin/sysinst/
H A Dmbr.c212 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 Dfdisk.c796 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 Ddisksubr_mbr.c136 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 Dsubr_disk_mbr.c167 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 Ddkwedge_mbr.c106 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 Ddkwedge_bsdlabel.c378 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 Dmbrlabel.c158 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 Ddisksubr.c80 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 Dmd.c508 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 Dofdev.c205 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 Dmbr.c115 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 Dwinblk.c215 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 Dwinblk.c215 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 Ddisksubr.c69 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 Ddisksubr.c70 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 Ddisksubr.c70 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 Dofdev.c255 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 Ddisksubr.c279 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 Dmd.c315 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 Ddisksubr.c499 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 Ddisksubr.c346 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 Dmd.c818 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 Ddisksubr.c141 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 Dmd.c251 if (part->mbrp_type == MBR_PTYPE_FAT12) { in md_check_mbr()
/netbsd/usr.sbin/sysinst/arch/cobalt/
H A Dmd.c266 if (part->mbrp_type == MBR_PTYPE_LNXEXT2) { in md_check_mbr()

12