Searched refs:d_partitions (Results 1 – 17 of 17) sorted by relevance
| /NextBSD/sbin/bsdlabel/ |
| HD | bsdlabel.c | 308 if (lp->d_partitions[i].p_size) in fixlabel() 312 dp = &lp->d_partitions[0]; in fixlabel() 400 if (lab.d_partitions[i].p_size) in writelabel() 401 lab.d_partitions[i].p_offset += lba_offset; in writelabel() 532 if (lab.d_partitions[i].p_size) in readlabel() 533 lba = MIN(lba, lab.d_partitions[i].p_offset); in readlabel() 535 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) { in readlabel() 537 if (lab.d_partitions[i].p_size) in readlabel() 538 lab.d_partitions[i].p_offset -= lba; in readlabel() 604 pp = lp->d_partitions; in display() [all …]
|
| /NextBSD/sys/geom/part/ |
| HD | g_part_bsd64.c | 99 } d_partitions[MAXPARTITIONS64];/* actually may be more */ member 319 ressize = offsetof(struct disklabel64, d_partitions[RESPARTITIONS64]); in g_part_bsd64_create() 518 d_partitions[basetable->gpt_entries]) - in g_part_bsd64_read() 552 v64 = le64toh(dlp->d_partitions[index].p_boffset); in g_part_bsd64_read() 553 sz = le64toh(dlp->d_partitions[index].p_bsize); in g_part_bsd64_read() 561 le_uuid_dec(&dlp->d_partitions[index].p_type_uuid, in g_part_bsd64_read() 563 le_uuid_dec(&dlp->d_partitions[index].p_stor_uuid, in g_part_bsd64_read() 565 entry->fstype = dlp->d_partitions[index].p_fstype; in g_part_bsd64_read() 648 le64enc(&dlp->d_partitions[index].p_boffset, in g_part_bsd64_write() 650 le64enc(&dlp->d_partitions[index].p_bsize, pp->sectorsize * in g_part_bsd64_write() [all …]
|
| /NextBSD/sys/boot/pc98/libpc98/ |
| HD | biosdisk.c | 380 if ((lp->d_partitions[i].p_fstype == FS_BSDFFS) || in bd_printbsdslice() 381 (lp->d_partitions[i].p_fstype == FS_SWAP) || in bd_printbsdslice() 382 (lp->d_partitions[i].p_fstype == FS_VINUM) || in bd_printbsdslice() 383 ((lp->d_partitions[i].p_fstype == FS_UNUSED) && in bd_printbsdslice() 389 (lp->d_partitions[i].p_fstype == FS_SWAP) ? "swap " : in bd_printbsdslice() 390 (lp->d_partitions[i].p_fstype == FS_VINUM) ? "vinum" : in bd_printbsdslice() 392 display_size(lp->d_partitions[i].p_size), in bd_printbsdslice() 393 lp->d_partitions[i].p_offset, in bd_printbsdslice() 394 lp->d_partitions[i].p_offset + lp->d_partitions[i].p_size); in bd_printbsdslice() 397 (lp->d_partitions[i].p_fstype == FS_SWAP) ? "swap" : in bd_printbsdslice() [all …]
|
| /NextBSD/sys/boot/arm/ixp425/boot2/ |
| HD | boot2.c | 382 !d->d_partitions[bootpart].p_size); in dskread() 383 if (!d->d_partitions[bootpart].p_size) { in dskread() 388 swap32(d->d_partitions[bootpart].p_offset), in dskread() 389 swap32(d->d_partitions[RAW_PART].p_offset)); in dskread() 390 dsk_start += swap32(d->d_partitions[bootpart].p_offset); in dskread() 391 dsk_start -= swap32(d->d_partitions[RAW_PART].p_offset); in dskread()
|
| /NextBSD/usr.bin/mkimg/ |
| HD | bsd.c | 104 dp = &d->d_partitions[RAW_PART]; in bsd_write() 108 dp = &d->d_partitions[n]; in bsd_write() 117 dp = &d->d_partitions[bsdparts]; in bsd_write()
|
| /NextBSD/sys/geom/ |
| HD | geom_bsd.c | 131 rawoffset = (off_t)dl.d_partitions[RAW_PART].p_offset * dl.d_secsize; in g_bsd_modify() 134 ppp = &dl.d_partitions[i]; in g_bsd_modify() 151 ppp = &dl.d_partitions[i]; in g_bsd_modify() 167 ppp = &dl.d_partitions[u]; in g_bsd_modify() 360 ms->ondisk.d_partitions[pp->index].p_fstype); in g_bsd_dumpconf() 363 ms->ondisk.d_partitions[pp->index].p_fstype); in g_bsd_dumpconf()
|
| HD | geom_bsd_enc.c | 131 bsd_partition_le_dec(ptr + 148 + 16 * i, &d->d_partitions[i]); in bsd_disklabel_le_dec() 190 bsd_partition_le_enc(ptr + 148 + 16 * i, &d->d_partitions[i]); in bsd_disklabel_le_enc()
|
| /NextBSD/sys/boot/arm/at91/boot2/ |
| HD | boot2.c | 318 if (!d->d_partitions[0].p_size) { in dskread() 322 dsk_start += d->d_partitions[0].p_offset; in dskread() 323 dsk_start -= d->d_partitions[RAW_PART].p_offset; in dskread()
|
| /NextBSD/sys/sys/ |
| HD | disklabel.h | 144 } d_partitions[MAXPARTITIONS]; /* actually may be more */ member 159 end = (u_int16_t *)&lp->d_partitions[lp->d_npartitions]; in dkcksum()
|
| /NextBSD/sys/boot/mips/beri/boot2/ |
| HD | boot2.c | 652 !(le32toh(d->d_partitions[dsk.part].p_size))) { in dskread() 656 dsk.start += le32toh(d->d_partitions[dsk.part].p_offset); in dskread() 657 dsk.start -= le32toh(d->d_partitions[RAW_PART].p_offset); in dskread()
|
| /NextBSD/sys/boot/i386/boot2/ |
| HD | boot2.c | 551 !d->d_partitions[dsk.part].p_size) { in dskread() 555 dsk.start += d->d_partitions[dsk.part].p_offset; in dskread() 556 dsk.start -= d->d_partitions[RAW_PART].p_offset; in dskread()
|
| /NextBSD/sbin/newfs/ |
| HD | newfs.c | 361 pp = &lp->d_partitions[RAW_PART]; in main() 363 pp = &lp->d_partitions[*cp - 'a']; in main()
|
| /NextBSD/sys/boot/pc98/boot2/ |
| HD | boot2.c | 684 !d->d_partitions[dsk.part].p_size) { in dskread() 688 dsk.start += d->d_partitions[dsk.part].p_offset; in dskread() 689 dsk.start -= d->d_partitions[RAW_PART].p_offset; in dskread()
|
| /NextBSD/sys/sys/mach/device/ |
| HD | disk_status.h | 223 } d_partitions[PARTITIONS]; /* actually may be more */ member
|
| /NextBSD/lib/libc/gen/ |
| HD | disklabel.c | 127 pp = &dp->d_partitions[0]; in getdiskbyname()
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_read_open_filename.c | 325 dl.d_partitions[DISKPART(st.st_rdev)].p_size > 0) { in file_open()
|
| /NextBSD/sys/boot/common/ |
| HD | part.c | 476 part = &dl->d_partitions[0]; in ptable_bsdread()
|