Home
last modified time | relevance | path

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

12

/openbsd/sys/arch/i386/stand/libsa/
H A Ddiskprobe.c104 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 Ddiskprobe.c100 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 Ddisksubr.c173 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 Dsubr_disk.c150 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 Dudf_subr.c171 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 Deditor.c216 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 Ddisklabel.c1053 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 Defidev.c475 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 Defidev.c475 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 Ddisklabel.h67 #define RAW_PART 2 /* 'c' partition */ macro
73 (MAKEDISKDEV(major(dev), DISKUNIT(dev), RAW_PART))
/openbsd/usr.sbin/installboot/
H A Dbootstrap.c91 if (i == RAW_PART) in bootstrap()
H A Dlandisk_installboot.c176 if (i == RAW_PART) in md_bootstrap()
/openbsd/sys/arch/amd64/stand/efiboot/
H A Defidev.c485 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 Ddiskprobe.c128 MAKEBOOTDEV(type, 0, 0, bsdunit, RAW_PART); in efi_hardprobe()
/openbsd/sys/arch/arm64/stand/efiboot/
H A Defidev.c475 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 Ddisksubr.c81 RAW_PART)); in readdisklabel()
H A Ddkcsum.c223 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
H A Dconf.c388 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
/openbsd/sys/arch/amd64/amd64/
H A Ddisksubr.c81 RAW_PART)); in readdisklabel()
H A Ddkcsum.c223 DISKUNIT(bp->b_dev), RAW_PART); in dkcsumattach()
H A Dconf.c404 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
/openbsd/sys/isofs/cd9660/
H A Dcd9660_vfsops.c505 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 Dconf.c352 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
/openbsd/sys/arch/riscv64/riscv64/
H A Dconf.c350 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dsoftraid_sparc64.c189 0, 0, diskno, RAW_PART); in srprobe()

12