| /mirbsd/src/sys/arch/sparc/dev/ |
| D | presto.c | 224 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()
|
| D | xy.c | 247 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 :
|
| D | fd.c | 1817 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;
|
| D | xd.c | 307 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/ |
| D | biosdev.c | 661 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()
|
| D | diskprobe.c | 95 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/ |
| D | sd.c | 90 #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 …]
|
| D | cd.c | 97 #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/ |
| D | ramdisk.c | 85 #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()
|
| D | ccd.c | 147 (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()
|
| D | vnd.c | 117 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/ |
| D | disklabel.h | 40 #define RAW_PART 2 /* raw partition: xx?c */ macro
|
| /mirbsd/src/sys/dev/ata/ |
| D | wd.c | 120 #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/ |
| D | editor.c | 145 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/ |
| D | disklabel.h | 43 #define RAW_PART 2 /* raw partition: ie. rsd0c */ macro
|
| /mirbsd/src/sys/arch/i386/i386/ |
| D | disksubr.c | 186 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) +
|
| D | dkcsum.c | 233 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
|
| /mirbsd/src/sys/dev/isa/ |
| D | mcd.c | 97 #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;
|
| D | fd.c | 995 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/ |
| D | cd9660_vfsops.c | 511 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/ |
| D | rf_openbsdkintf.c | 271 (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/ |
| D | disk.c | 140 devno = MAKEBOOTDEV(major(devno), 0, 0, DISKUNIT(devno), RAW_PART); in DISK_getbiosmetrics()
|
| /mirbsd/src/sys/sys/ |
| D | disklabel.h | 71 (MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART))
|
| /mirbsd/src/sys/arch/sparc/sparc/ |
| D | disksubr.c | 155 lp->d_npartitions = RAW_PART+1; 156 for (i = 0; i < RAW_PART; i++) {
|
| /mirbsd/src/sys/kern/ |
| D | subr_disk.c | 461 rawdev = MAKEDISKDEV(major(rrootdev), DISKUNIT(rootdev), RAW_PART); in dk_mountroot()
|