/netbsd-src/sys/arch/arm/arm/ |
H A D | disksubr_mbr.c | 108 bp->b_blkno = MBR_BBSECTOR; in mbr_label_read() 111 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in mbr_label_read() 234 bp->b_blkno = MBR_BBSECTOR; in mbr_label_locate() 237 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in mbr_label_locate()
|
/netbsd-src/sys/arch/evbmips/sbmips/ |
H A D | disksubr.c | 141 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 145 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel() 286 bp->b_blkno = MBR_BBSECTOR; in writedisklabel() 290 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in writedisklabel()
|
/netbsd-src/sys/arch/playstation2/playstation2/ |
H A D | disksubr.c | 141 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 144 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel() 285 bp->b_blkno = MBR_BBSECTOR; in writedisklabel() 288 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in writedisklabel()
|
/netbsd-src/sys/arch/sbmips/sbmips/ |
H A D | disksubr.c | 141 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 145 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel() 286 bp->b_blkno = MBR_BBSECTOR; in writedisklabel() 290 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in writedisklabel()
|
/netbsd-src/sys/arch/hpc/hpc/ |
H A D | disksubr.c | 171 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 174 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel() 337 bp->b_blkno = MBR_BBSECTOR; in writedisklabel() 340 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in writedisklabel()
|
/netbsd-src/sys/arch/sh3/sh3/ |
H A D | disksubr.c | 351 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 354 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel() 555 bp->b_blkno = MBR_BBSECTOR; in writedisklabel() 558 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in writedisklabel()
|
/netbsd-src/sbin/mbrlabel/ |
H A D | mbrlabel.c | 145 if (off != MBR_BBSECTOR) in getparts() 299 sector = MBR_BBSECTOR; in main()
|
/netbsd-src/sys/arch/ofppc/ofppc/ |
H A D | disksubr.c | 124 bp->b_blkno = MBR_BBSECTOR; in read_dos_label() 127 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in read_dos_label() 749 bp->b_blkno = MBR_BBSECTOR; in readdisklabel() 753 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in readdisklabel()
|
/netbsd-src/usr.sbin/installboot/arch/ |
H A D | landisk.c | 98 rv = pread(params->fsfd, &mbr, sizeof(mbr), MBR_BBSECTOR); in landisk_setboot()
|
/netbsd-src/sys/dev/dkwedge/ |
H A D | dkwedge_mbr.c | 186 getparts(&a, MBR_BBSECTOR, 0); in dkwedge_discover_mbr()
|
/netbsd-src/sys/arch/macppc/macppc/ |
H A D | disksubr.c | 482 bp->b_blkno = MBR_BBSECTOR; in read_dos_label() 485 bp->b_cylinder = MBR_BBSECTOR / lp->d_secpercyl; in read_dos_label()
|
/netbsd-src/sys/arch/prep/stand/installboot/ |
H A D | installboot.c | 189 if (devread(devfd, mbr, MBR_BBSECTOR, DEV_BSIZE, "MBR") != 0) in load_prep_partition()
|
/netbsd-src/sys/arch/cobalt/stand/boot/ |
H A D | wd.c | 167 if (wdstrategy(wd, F_READ, MBR_BBSECTOR, DEV_BSIZE, buf, &rsize)) in wdgetdisklabel()
|
/netbsd-src/sys/arch/bebox/stand/boot/ |
H A D | wd.c | 180 if (wdstrategy(wd, F_READ, MBR_BBSECTOR, DEV_BSIZE, buf, &rsize)) in wdgetdisklabel()
|
H A D | sd.c | 518 if (sdstrategy(sd, F_READ, MBR_BBSECTOR, DEV_BSIZE, buf, &rsize)) in sdgetdisklabel()
|
/netbsd-src/sys/arch/hpc/stand/libsa/ |
H A D | winblk.c | 206 if (error = rawread(ctx, MBR_BBSECTOR, 1, ctx->buf)) { in winblkopen()
|
/netbsd-src/sys/arch/hpcmips/stand/libsa/ |
H A D | winblk.c | 206 if (error = rawread(ctx, MBR_BBSECTOR, 1, ctx->buf)) { in winblkopen()
|
/netbsd-src/sys/arch/zaurus/stand/zboot/ |
H A D | diskprobe.c | 397 if (unixstrategy((void *)fd, F_READ, MBR_BBSECTOR, DEV_BSIZE, buf, in bios_getdospart()
|
/netbsd-src/sys/arch/mac68k/mac68k/ |
H A D | disksubr.c | 342 mbr_lbl_off = MBR_BBSECTOR * lp->d_secsize + MBR_PART_OFFSET; in read_mbr_label()
|
/netbsd-src/sys/arch/prep/stand/boot/ |
H A D | sd.c | 518 if (sdstrategy(sd, F_READ, MBR_BBSECTOR, DEV_BSIZE, buf, &rsize)) in sdgetdisklabel()
|
/netbsd-src/sys/sys/ |
H A D | bootblock.h | 194 #define MBR_BBSECTOR 0 /* MBR relative sector # */ macro
|
/netbsd-src/sys/arch/evbarm/stand/boot2440/ |
H A D | dev_sdmmc.c | 260 if (sdmmc_strategy(&sc->partitions[0], F_READ, MBR_BBSECTOR, DEV_BSIZE, in sdmmc_getdisklabel()
|