/openbsd/sys/arch/i386/stand/libsa/ |
H A D | diskprobe.c | 104 dip->bios_info.bsd_dev = MAKEBOOTDEV(2, 0, 0, i, RAW_PART); in floppyprobe() 176 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in hardprobe() 232 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in efi_hardprobe() 325 MAKEBOOTDEV(6, 0, 0, 0, RAW_PART); in cdprobe() 349 DL_SETPOFFSET(&dip->disklabel.d_partitions[RAW_PART], 0); in cdprobe() 350 DL_SETPSIZE(&dip->disklabel.d_partitions[RAW_PART], 100); in cdprobe() 351 dip->disklabel.d_partitions[RAW_PART].p_fstype = FS_UNUSED; in cdprobe()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | diskprobe.c | 100 dip->bios_info.bsd_dev = MAKEBOOTDEV(2, 0, 0, i, RAW_PART); in floppyprobe() 172 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in hardprobe() 250 MAKEBOOTDEV(6, 0, 0, 0, RAW_PART); in cdprobe() 274 DL_SETPOFFSET(&dip->disklabel.d_partitions[RAW_PART], 0); in cdprobe() 275 DL_SETPSIZE(&dip->disklabel.d_partitions[RAW_PART], 100); in cdprobe() 276 dip->disklabel.d_partitions[RAW_PART].p_fstype = FS_UNUSED; in cdprobe()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | disksubr.c | 173 pp = &lp->d_partitions[RAW_PART + 1]; in readliflabel() 183 DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp)); in readliflabel() 184 DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0); in readliflabel() 185 lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in readliflabel()
|
/openbsd/sys/kern/ |
H A D | subr_disk.c | 150 for (i = 0; i < RAW_PART; i++) { in initdisklabel() 154 if (DL_GETPSIZE(&lp->d_partitions[RAW_PART]) == 0) in initdisklabel() 156 DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0); in initdisklabel() 292 DL_GETPSIZE(&lp->d_partitions[RAW_PART])); in checkdisklabel() 295 DL_GETPOFFSET(&lp->d_partitions[RAW_PART])); in checkdisklabel() 298 DL_SETPSIZE(&lp->d_partitions[RAW_PART], disksize); in checkdisklabel() 299 DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0); in checkdisklabel() 364 nlp.d_partitions[RAW_PART] = lp->d_partitions[RAW_PART]; in readdoslabel() 931 npp = &nlp->d_partitions[RAW_PART]; in setdisklabel() 1183 if (part != RAW_PART && (!haslabel || in disk_openpart() [all …]
|
/openbsd/sys/isofs/udf/ |
H A D | udf_subr.c | 171 DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp)); in udf_disklabelspoof() 172 lp->d_partitions[RAW_PART].p_fstype = FS_UDF; in udf_disklabelspoof()
|
/openbsd/sbin/disklabel/ |
H A D | editor.c | 216 pp = &newlab.d_partitions[RAW_PART]; in editor() 217 if (newlab.d_npartitions <= RAW_PART || DL_GETPSIZE(pp) == 0) { in editor() 219 if (newlab.d_npartitions <= RAW_PART) in editor() 220 newlab.d_npartitions = RAW_PART + 1; in editor() 532 if (i == RAW_PART) in editor_allocspace() 599 if (partno == RAW_PART) in allocate_partition() 676 if (i == RAW_PART) in allocate_space() 756 if (i == RAW_PART) in editor_resize() 1012 if (partno == RAW_PART) in getpartno() 1803 DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp)); in zero_partitions()
|
H A D | disklabel.c | 1053 if (i != RAW_PART && DL_GETPSIZE(pp) % lp->d_secpercyl) in checklabel() 1056 if (i != RAW_PART && DL_GETPOFFSET(pp) % lp->d_secpercyl) in checklabel()
|
/openbsd/sys/arch/armv7/stand/efiboot/ |
H A D | efidev.c | 475 DL_SETPOFFSET(&label->d_partitions[RAW_PART], 0); in efi_getdisklabel_cd9660() 476 DL_SETPSIZE(&label->d_partitions[RAW_PART], 100); in efi_getdisklabel_cd9660() 477 label->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in efi_getdisklabel_cd9660()
|
/openbsd/sys/arch/riscv64/stand/efiboot/ |
H A D | efidev.c | 475 DL_SETPOFFSET(&label->d_partitions[RAW_PART], 0); in efi_getdisklabel_cd9660() 476 DL_SETPSIZE(&label->d_partitions[RAW_PART], 100); in efi_getdisklabel_cd9660() 477 label->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in efi_getdisklabel_cd9660()
|
/openbsd/sys/sys/ |
H A D | disklabel.h | 67 #define RAW_PART 2 /* 'c' partition */ macro 73 (MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART))
|
/openbsd/usr.sbin/installboot/ |
H A D | bootstrap.c | 91 if (i == RAW_PART) in bootstrap()
|
H A D | landisk_installboot.c | 176 if (i == RAW_PART) in md_bootstrap()
|
/openbsd/sys/arch/amd64/stand/efiboot/ |
H A D | efidev.c | 485 DL_SETPOFFSET(&label->d_partitions[RAW_PART], 0); in efi_getdisklabel_cd9660() 486 DL_SETPSIZE(&label->d_partitions[RAW_PART], 100); in efi_getdisklabel_cd9660() 487 label->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in efi_getdisklabel_cd9660()
|
H A D | diskprobe.c | 128 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in efi_hardprobe()
|
/openbsd/sys/arch/arm64/stand/efiboot/ |
H A D | efidev.c | 475 DL_SETPOFFSET(&label->d_partitions[RAW_PART], 0); in efi_getdisklabel_cd9660() 476 DL_SETPSIZE(&label->d_partitions[RAW_PART], 100); in efi_getdisklabel_cd9660() 477 label->d_partitions[RAW_PART].p_fstype = FS_UNUSED; in efi_getdisklabel_cd9660()
|
/openbsd/sys/arch/i386/i386/ |
H A D | disksubr.c | 81 RAW_PART)); in readdisklabel()
|
H A D | dkcsum.c | 223 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
|
H A D | conf.c | 388 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | disksubr.c | 81 RAW_PART)); in readdisklabel()
|
H A D | dkcsum.c | 223 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
|
H A D | conf.c | 404 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
/openbsd/sys/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 505 DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0); in iso_disklabelspoof() 506 DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp)); in iso_disklabelspoof() 507 lp->d_partitions[RAW_PART].p_fstype = FS_ISO9660; in iso_disklabelspoof()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | conf.c | 352 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | conf.c | 350 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
/openbsd/sys/arch/sparc64/stand/ofwboot/ |
H A D | softraid_sparc64.c | 189 0, 0, diskno, RAW_PART); in srprobe()
|