/netbsd-src/sys/arch/evbmips/sbmips/ |
H A D | disksubr.c | 42 #define NO_MBR_SIGNATURE ((struct mbr_partition *) -1) 44 static struct mbr_partition * 45 mbr_findslice(struct mbr_partition* dp, struct buf *bp); 53 struct mbr_partition * 54 mbr_findslice(struct mbr_partition *dp, struct buf *bp) in mbr_findslice() 56 struct mbr_partition *ourdp = NULL; in mbr_findslice() 98 struct mbr_partition *dp; in readdisklabel() 153 struct mbr_partition *ourdp = NULL; in readdisklabel() 269 struct mbr_partition *dp; in writedisklabel() 294 struct mbr_partition *ourdp = NULL; in writedisklabel()
|
/netbsd-src/sys/arch/playstation2/playstation2/ |
H A D | disksubr.c | 41 #define NO_MBR_SIGNATURE ((struct mbr_partition *) -1) 43 static struct mbr_partition * 44 mbr_findslice(struct mbr_partition* dp, struct buf *bp); 52 struct mbr_partition * 53 mbr_findslice(struct mbr_partition *dp, struct buf *bp) in mbr_findslice() 55 struct mbr_partition *ourdp = NULL; in mbr_findslice() 98 struct mbr_partition *dp; in readdisklabel() 152 struct mbr_partition *ourdp = NULL; in readdisklabel() 268 struct mbr_partition *dp; in writedisklabel() 292 struct mbr_partition *ourdp = NULL; in writedisklabel()
|
/netbsd-src/sys/arch/sbmips/sbmips/ |
H A D | disksubr.c | 42 #define NO_MBR_SIGNATURE ((struct mbr_partition *) -1) 44 static struct mbr_partition * 45 mbr_findslice(struct mbr_partition* dp, struct buf *bp); 53 struct mbr_partition * 54 mbr_findslice(struct mbr_partition *dp, struct buf *bp) in mbr_findslice() 56 struct mbr_partition *ourdp = NULL; in mbr_findslice() 98 struct mbr_partition *dp; in readdisklabel() 153 struct mbr_partition *ourdp = NULL; in readdisklabel() 269 struct mbr_partition *dp; in writedisklabel() 294 struct mbr_partition *ourdp = NULL; in writedisklabel()
|
/netbsd-src/sys/arch/hpc/hpc/ |
H A D | disksubr.c | 51 #define NO_MBR_SIGNATURE ((struct mbr_partition *) -1) 53 static struct mbr_partition * 54 mbr_findslice(struct mbr_partition* dp, struct buf *bp); 62 struct mbr_partition * 63 mbr_findslice(struct mbr_partition *dp, struct buf *bp) in mbr_findslice() 65 struct mbr_partition *ourdp = NULL; in mbr_findslice() 128 struct mbr_partition *dp; in readdisklabel() 182 struct mbr_partition *ourdp = NULL; in readdisklabel() 320 struct mbr_partition *dp; in writedisklabel() 344 struct mbr_partition *ourdp = NULL; in writedisklabel()
|
/netbsd-src/tests/include/sys/ |
H A D | t_bootblock.c | 60 ATF_TC_WITHOUT_HEAD(mbr_partition); 61 ATF_TC_BODY(mbr_partition, tc) in ATF_TC_BODY() argument 63 ATF_CHECK_EQ(16, sizeof(struct mbr_partition)); in ATF_TC_BODY() 70 ATF_TP_ADD_TC(tp, mbr_partition); in ATF_TP_ADD_TCS()
|
/netbsd-src/sys/arch/sh3/sh3/ |
H A D | disksubr.c | 53 #define NO_MBR_SIGNATURE ((struct mbr_partition *) -1) 64 static struct mbr_partition *mbr_findslice(struct mbr_partition *, 261 static struct mbr_partition * 262 mbr_findslice(struct mbr_partition *dp, struct buf *bp) in mbr_findslice() 264 struct mbr_partition *ourdp = NULL; in mbr_findslice() 308 struct mbr_partition *dp; in readdisklabel() 362 struct mbr_partition *ourdp = NULL; in readdisklabel() 538 struct mbr_partition *dp; in writedisklabel() 562 struct mbr_partition *ourdp = NULL; in writedisklabel()
|
/netbsd-src/sys/arch/prep/stand/installboot/ |
H A D | installboot.c | 47 int load_prep_partition(int, struct mbr_partition *); 183 load_prep_partition(int devfd, struct mbr_partition *ppp) in load_prep_partition() 186 struct mbr_partition *mbrp; in load_prep_partition() 196 mbrp = (struct mbr_partition *)&mbr[MBR_PART_OFFSET]; in load_prep_partition() 223 struct mbr_partition ppp; in main()
|
/netbsd-src/sys/arch/arm/arm/ |
H A D | disksubr_mbr.c | 91 struct mbr_partition *mbrp; in mbr_label_read() 119 struct mbr_partition *ourmbrp = NULL; in mbr_label_read() 217 struct mbr_partition *mbrp; in mbr_label_locate() 219 struct mbr_partition *ourmbrp = NULL; in mbr_label_locate()
|
/netbsd-src/usr.sbin/sysinst/ |
H A D | mbr.h | 99 void disp_cur_part(struct mbr_partition *, int, int); 100 int partsoverlap(struct mbr_partition *, int, int);
|
H A D | mbr.c | 534 struct mbr_partition *mbrp; in read_mbr() 674 struct mbr_partition *mbrp; in write_mbr() 861 const struct mbr_partition *part_a = a, in mbr_comp_part_entry() 1305 mbr_partition_to_info(const struct mbr_partition *mp, daddr_t start_off, in mbr_partition_to_info() 1322 const struct mbr_partition *mp, void *), in mbr_part_apply() 1369 const struct mbr_partition *mp, void *cookie) in mbr_do_get_part_info() 1439 const struct mbr_partition *mp, void *cookie) in get_wedge_devname() 1467 const struct mbr_partition *mp, void *cookie) in type_can_change() 1494 const struct mbr_partition *mp, void *cookie) in mbr_get_part_table_str() 1544 const struct mbr_partition *mp, void *cookie) in mbr_get_part_attr_str() [all …]
|
/netbsd-src/sys/dev/dkwedge/ |
H A D | dkwedge_bsdlabel.c | 343 scan_mbr(mbr_args_t *a, int (*actn)(mbr_args_t *, struct mbr_partition *, in scan_mbr() argument 346 struct mbr_partition ptns[MBR_PART_COUNT]; in scan_mbr() 347 struct mbr_partition *dp; in scan_mbr() 418 look_netbsd_part(mbr_args_t *a, struct mbr_partition *dp, int slot, in look_netbsd_part()
|
/netbsd-src/sys/arch/ofppc/stand/ofwboot/ |
H A D | mbr.c | 99 struct mbr_partition *p; in find_mbr_part() 113 for (p = (struct mbr_partition *)(buf + MBR_PART_OFFSET), i = 0; in find_mbr_part()
|
/netbsd-src/sys/arch/macppc/macppc/ |
H A D | disksubr.c | 470 struct mbr_partition *dp; in read_dos_label() 475 struct mbr_partition *bsdp; in read_dos_label() 496 dp = (struct mbr_partition *)((char *)bp->b_data + MBR_PART_OFFSET); in read_dos_label() 514 dp = (struct mbr_partition *)((char *)bp->b_data + in read_dos_label()
|
/netbsd-src/sys/arch/ibmnws/include/ |
H A D | disklabel.h | 52 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/sandpoint/include/ |
H A D | disklabel.h | 50 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/prep/include/ |
H A D | disklabel.h | 50 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/mvmeppc/include/ |
H A D | disklabel.h | 52 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/rs6000/include/ |
H A D | disklabel.h | 50 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/emips/include/ |
H A D | disklabel.h | 52 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/bebox/include/ |
H A D | disklabel.h | 55 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/arc/include/ |
H A D | disklabel.h | 57 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/sh3/include/ |
H A D | disklabel.h | 55 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/playstation2/include/ |
H A D | disklabel.h | 56 struct mbr_partition dosparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/landisk/include/ |
H A D | disklabel.h | 57 struct mbr_partition mbrparts[MBR_PART_COUNT];
|
/netbsd-src/sys/arch/cobalt/include/ |
H A D | disklabel.h | 56 struct mbr_partition mbrparts[MBR_PART_COUNT];
|