Searched refs:d_partitions (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/usr.bin/mkimg/
H A Dbsd.c100 dp = &d->d_partitions[BSD_PART_RAW];
104 dp = &d->d_partitions[n];
113 dp = &d->d_partitions[bsdparts];
/freebsd-13-stable/sbin/bsdlabel/
H A Dbsdlabel.c309 if (lp->d_partitions[i].p_size)
313 dp = &lp->d_partitions[0];
399 if (lab.d_partitions[i].p_size)
400 lab.d_partitions[i].p_offset += lba_offset;
500 if (lab.d_partitions[i].p_size)
501 lba = MIN(lba, lab.d_partitions[i].p_offset);
503 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) {
505 if (lab.d_partitions[i].p_size)
506 lab.d_partitions[i].p_offset -= lba;
572 pp = lp->d_partitions;
[all...]
/freebsd-13-stable/sys/sys/
H A Ddisklabel.h84 end = (u_int16_t *)&lp->d_partitions[lp->d_npartitions];
/freebsd-13-stable/sys/geom/part/
H A Dg_part_bsd64.c100 } d_partitions[MAXPARTITIONS64];/* actually may be more */ member in struct:disklabel64
321 ressize = offsetof(struct disklabel64, d_partitions[RESPARTITIONS64]);
520 d_partitions[basetable->gpt_entries]) -
554 v64 = le64toh(dlp->d_partitions[index].p_boffset);
555 sz = le64toh(dlp->d_partitions[index].p_bsize);
563 le_uuid_dec(&dlp->d_partitions[index].p_type_uuid,
565 le_uuid_dec(&dlp->d_partitions[index].p_stor_uuid,
567 entry->fstype = dlp->d_partitions[index].p_fstype;
647 le64enc(&dlp->d_partitions[index].p_boffset,
649 le64enc(&dlp->d_partitions[inde
[all...]
/freebsd-13-stable/stand/efi/boot1/
H A Dufs_module.c121 dl->d_partitions[0].p_offset == 0)
123 devinfo->partoff = dl->d_partitions[0].p_offset;
/freebsd-13-stable/sys/sys/disk/
H A Dbsd.h127 } d_partitions[BSD_NPARTS_MIN]; /* actually may be more */ member in struct:disklabel
/freebsd-13-stable/sys/geom/
H A Dgeom_bsd_enc.c133 bsd_partition_le_dec(ptr + 148 + 16 * i, &d->d_partitions[i]);
192 bsd_partition_le_enc(ptr + 148 + 16 * i, &d->d_partitions[i]);
/freebsd-13-stable/stand/mips/beri/boot2/
H A Dboot2.c604 !(le32toh(d->d_partitions[dsk.part].p_size))) {
608 dsk.start += le32toh(d->d_partitions[dsk.part].p_offset);
609 dsk.start -= le32toh(d->d_partitions[RAW_PART].p_offset);
/freebsd-13-stable/lib/libc/gen/
H A Ddisklabel.c127 pp = &dp->d_partitions[0];
/freebsd-13-stable/stand/i386/boot2/
H A Dboot2.c522 !d->d_partitions[dsk.part].p_size) {
526 dsk.start += d->d_partitions[dsk.part].p_offset;
527 dsk.start -= d->d_partitions[RAW_PART].p_offset;
/freebsd-13-stable/sbin/newfs/
H A Dnewfs.c366 pp = &lp->d_partitions[RAW_PART];
368 pp = &lp->d_partitions[*cp - 'a'];
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c331 dl.d_partitions[DISKPART(st.st_rdev)].p_size > 0) {
/freebsd-13-stable/stand/common/
H A Dpart.c497 part = &dl->d_partitions[0];

Completed in 218 milliseconds