Home
last modified time | relevance | path

Searched refs:RAW_PART (Results 1 – 25 of 31) sorted by relevance

12

/mirbsd/src/sys/arch/sparc/dev/
Dpresto.c224 if (part != RAW_PART && in prestoopen()
299 if (part != RAW_PART && in prestostrategy()
395 lp->d_partitions[RAW_PART].p_offset = 0; in presto_getdisklabel()
396 lp->d_partitions[RAW_PART].p_size = in presto_getdisklabel()
398 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in presto_getdisklabel()
399 lp->d_npartitions = RAW_PART + 1; in presto_getdisklabel()
Dxy.c247 err = readdisklabel(MAKEDISKDEV(0, xy->sc_dev.dv_unit, RAW_PART),
853 error = writedisklabel(MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART),
909 if (part != RAW_PART &&
1021 if (xy->state != XY_DRIVE_ONLINE && DISKPART(bp->b_dev) != RAW_PART) {
1291 block = bp->b_blkno + ((partno == RAW_PART) ? 0 :
Dfd.c1817 lp->d_partitions[RAW_PART].p_offset = 0;
1818 lp->d_partitions[RAW_PART].p_size = lp->d_secpercyl * lp->d_ncylinders;
1819 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED;
1820 lp->d_npartitions = RAW_PART + 1;
Dxd.c307 err = readdisklabel(MAKEDISKDEV(0, xd->sc_dev.dv_unit, RAW_PART),
892 error = writedisklabel(MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART),
946 if (part != RAW_PART &&
1059 if (xd->state != XD_DRIVE_ONLINE && DISKPART(bp->b_dev) != RAW_PART) {
1433 block = bp->b_blkno + ((partno == RAW_PART) ? 0 :
/mirbsd/src/sys/arch/i386/stand/libsa/
Dbiosdev.c661 dip->disklabel.d_partitions[RAW_PART].p_offset = 0; in disk_trylabel()
662 dip->disklabel.d_partitions[RAW_PART].p_size = totsiz; in disk_trylabel()
663 dip->disklabel.d_partitions[RAW_PART].p_fstype = FS_UNUSED; in disk_trylabel()
668 dip->disklabel.d_partitions[RAW_PART+i+1].p_offset = in disk_trylabel()
670 dip->disklabel.d_partitions[RAW_PART+i+1].p_size = in disk_trylabel()
672 dip->disklabel.d_partitions[RAW_PART+i+1].p_fstype = in disk_trylabel()
733 dip->disklabel.d_partitions[RAW_PART].p_offset = 0; in disk_trylabel()
734 dip->disklabel.d_partitions[RAW_PART].p_size = totsiz; in disk_trylabel()
735 dip->disklabel.d_partitions[RAW_PART].p_fstype = FS_UNUSED; in disk_trylabel()
Ddiskprobe.c95 dip->bios_info.bsd_dev = MAKEBOOTDEV(2, 0, 0, i, RAW_PART); in floppyprobe()
197 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in hardprobe_one()
/mirbsd/src/sys/scsi/
Dsd.c90 #define SDLABELDEV(dev) (MAKESDDEV(major(dev), SDUNIT(dev), RAW_PART))
374 if (part == RAW_PART && fmt == S_IFCHR)
386 (part == RAW_PART && fmt == S_IFCHR) ? SCSI_SILENT : 0 |
396 if (part == RAW_PART && fmt == S_IFCHR) {
427 if (part != RAW_PART &&
561 if (SDPART(bp->b_dev) != RAW_PART &&
677 if (SDPART(bp->b_dev) != RAW_PART) {
845 if (part == RAW_PART)
946 if (part != RAW_PART) {
1023 lp->d_partitions[RAW_PART].p_offset = 0;
[all …]
Dcd.c97 #define CDLABELDEV(dev) (MAKECDDEV(major(dev), CDUNIT(dev), RAW_PART))
302 rawopen = (part == RAW_PART) && (fmt == S_IFCHR);
375 if (part != RAW_PART && (part >= cd->sc_dk.dk_label->d_npartitions ||
504 if (CDPART(bp->b_dev) != RAW_PART &&
618 if (CDPART(bp->b_dev) != RAW_PART) {
818 if (part == RAW_PART)
1135 if (CDPART(dev) != RAW_PART) {
1203 lp->d_partitions[RAW_PART].p_offset = 0;
1204 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit;
1205 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED;
[all …]
/mirbsd/src/sys/dev/
Dramdisk.c85 #define RD_IS_CTRL(dev) (DISKPART(dev) == RAW_PART)
324 if (part != RAW_PART && in rdstrategy()
478 lp->d_partitions[RAW_PART].p_offset = 0; in rdgetdisklabel()
479 lp->d_partitions[RAW_PART].p_size = in rdgetdisklabel()
481 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in rdgetdisklabel()
482 lp->d_npartitions = RAW_PART + 1; in rdgetdisklabel()
Dccd.c147 (MAKEDISKDEV(major((dev)), ccdunit((dev)), RAW_PART))
630 if (part != RAW_PART) { in ccdopen()
727 if (DISKPART(bp->b_dev) != RAW_PART && in ccdstrategy()
770 if (DISKPART(bp->b_dev) != RAW_PART) { in ccdstart()
1576 lp->d_partitions[RAW_PART].p_offset = 0; in ccdgetdisklabel()
1577 lp->d_partitions[RAW_PART].p_size = cs->sc_size; in ccdgetdisklabel()
1578 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in ccdgetdisklabel()
1579 lp->d_npartitions = RAW_PART + 1; in ccdgetdisklabel()
1614 lp->d_partitions[RAW_PART].p_fstype = FS_BSDFFS; in ccdmakedisklabel()
Dvnd.c117 makedev(major(dev), DISKMINOR(vndunit(dev), RAW_PART) | \
355 if (part != RAW_PART && in vndopen()
408 lp->d_partitions[RAW_PART].p_offset = 0; in vndgetdisklabel()
409 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; in vndgetdisklabel()
410 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in vndgetdisklabel()
411 lp->d_npartitions = RAW_PART + 1; in vndgetdisklabel()
/mirbsd/src/sys/arch/sparc/include/
Ddisklabel.h40 #define RAW_PART 2 /* raw partition: xx?c */ macro
/mirbsd/src/sys/dev/ata/
Dwd.c120 #define WDLABELDEV(dev) (MAKEWDDEV(major(dev), WDUNIT(dev), RAW_PART))
495 if (WDPART(bp->b_dev) != RAW_PART && in wdstrategy()
553 if (WDPART(bp->b_dev) != RAW_PART) in __wdstart()
753 if (part != RAW_PART && in wdopen()
857 lp->d_partitions[RAW_PART].p_offset = 0; in wdgetdefaultlabel()
858 lp->d_partitions[RAW_PART].p_size = in wdgetdefaultlabel()
860 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in wdgetdefaultlabel()
861 lp->d_npartitions = RAW_PART + 1; in wdgetdefaultlabel()
/mirbsd/src/sbin/disklabel/
Deditor.c145 pp = &label.d_partitions[RAW_PART]; in editor()
443 if (partno < 0 || partno == RAW_PART || in editor_add()
460 partno != RAW_PART) in editor_add()
736 if (c == RAW_PART) in editor_delete()
757 else if (c == RAW_PART) in editor_delete()
899 if (partno == RAW_PART && newsize + in editor_change()
1134 if (npartitions < RAW_PART) { in has_overlap()
1604 struct partition *pp = &lp->d_partitions[RAW_PART]; in find_bounds()
2030 if (partno == RAW_PART && in get_size()
2279 devno = MAKEBOOTDEV(major(devno), 0, 0, DISKUNIT(devno), RAW_PART); in get_geometry()
[all …]
/mirbsd/src/sys/arch/i386/include/
Ddisklabel.h43 #define RAW_PART 2 /* raw partition: ie. rsd0c */ macro
/mirbsd/src/sys/arch/i386/i386/
Ddisksubr.c186 lp->d_npartitions = RAW_PART + 1; in readdisklabel()
187 for (i = 0; i < RAW_PART; i++) { in readdisklabel()
557 int labelsector = blockpersec(lp->d_partitions[RAW_PART].p_offset, lp) +
Ddkcsum.c233 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
/mirbsd/src/sys/dev/isa/
Dmcd.c97 #define MCDLABELDEV(dev) (MAKEMCDDEV(major(dev), MCDUNIT(dev), RAW_PART))
388 if (part != RAW_PART &&
499 if (MCDPART(bp->b_dev) != RAW_PART &&
566 if (MCDPART(bp->b_dev) != RAW_PART) {
749 lp->d_partitions[RAW_PART].p_offset = 0;
750 lp->d_partitions[RAW_PART].p_size =
752 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED;
753 lp->d_npartitions = RAW_PART + 1;
Dfd.c995 lp->d_partitions[RAW_PART].p_offset = 0;
996 lp->d_partitions[RAW_PART].p_size =
998 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED;
999 lp->d_npartitions = RAW_PART + 1;
/mirbsd/src/sys/isofs/cd9660/
Dcd9660_vfsops.c511 lp->d_partitions[RAW_PART].p_offset = 0;
512 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit;
513 lp->d_partitions[RAW_PART].p_fstype = FS_ISO9660;
514 lp->d_npartitions = RAW_PART + 1;
/mirbsd/src/sys/dev/raidframe/
Drf_openbsdkintf.c271 (MAKEDISKDEV(major((dev)), raidunit((dev)), RAW_PART))
674 if (part != RAW_PART) { in raidopen()
817 if (DISKPART(bp->b_dev) != RAW_PART) in raidstrategy()
1783 if (DISKPART(bp->b_dev) != RAW_PART) { in raidstart()
2138 lp->d_partitions[RAW_PART].p_offset = 0; in raidgetdefaultlabel()
2139 lp->d_partitions[RAW_PART].p_size = raidPtr->totalSectors; in raidgetdefaultlabel()
2140 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in raidgetdefaultlabel()
2141 lp->d_npartitions = RAW_PART + 1; in raidgetdefaultlabel()
2222 lp->d_partitions[RAW_PART].p_fstype = FS_BSDFFS; in raidmakedisklabel()
2795 dev = MAKEDISKDEV(major, dv->dv_unit, RAW_PART); in rf_find_raid_components()
[all …]
/mirbsd/src/sbin/fdisk/
Ddisk.c140 devno = MAKEBOOTDEV(major(devno), 0, 0, DISKUNIT(devno), RAW_PART); in DISK_getbiosmetrics()
/mirbsd/src/sys/sys/
Ddisklabel.h71 (MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART))
/mirbsd/src/sys/arch/sparc/sparc/
Ddisksubr.c155 lp->d_npartitions = RAW_PART+1;
156 for (i = 0; i < RAW_PART; i++) {
/mirbsd/src/sys/kern/
Dsubr_disk.c461 rawdev = MAKEDISKDEV(major(rrootdev), DISKUNIT(rootdev), RAW_PART); in dk_mountroot()

12