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

/freebsd-current/usr.bin/mkimg/
H A Dbsd.c98 dp = &d->d_partitions[BSD_PART_RAW];
102 dp = &d->d_partitions[n];
111 dp = &d->d_partitions[bsdparts];
/freebsd-current/sbin/bsdlabel/
H A Dbsdlabel.c298 if (lp->d_partitions[i].p_size)
302 dp = &lp->d_partitions[0];
388 if (lab.d_partitions[i].p_size)
389 lab.d_partitions[i].p_offset += lba_offset;
489 if (lab.d_partitions[i].p_size)
490 lba = MIN(lba, lab.d_partitions[i].p_offset);
492 if (lba != 0 && lab.d_partitions[RAW_PART].p_offset == lba) {
494 if (lab.d_partitions[i].p_size)
495 lab.d_partitions[i].p_offset -= lba;
561 pp = lp->d_partitions;
[all...]
/freebsd-current/sys/sys/
H A Ddisklabel.h81 end = (u_int16_t *)&lp->d_partitions[lp->d_npartitions];
/freebsd-current/sys/geom/part/
H A Dg_part_bsd64.c97 } d_partitions[MAXPARTITIONS64];/* actually may be more */ member in struct:disklabel64
318 ressize = offsetof(struct disklabel64, d_partitions[RESPARTITIONS64]);
517 d_partitions[basetable->gpt_entries]) -
551 v64 = le64toh(dlp->d_partitions[index].p_boffset);
552 sz = le64toh(dlp->d_partitions[index].p_bsize);
560 le_uuid_dec(&dlp->d_partitions[index].p_type_uuid,
562 le_uuid_dec(&dlp->d_partitions[index].p_stor_uuid,
564 entry->fstype = dlp->d_partitions[index].p_fstype;
644 le64enc(&dlp->d_partitions[index].p_boffset,
646 le64enc(&dlp->d_partitions[inde
[all...]
/freebsd-current/stand/efi/boot1/
H A Dufs_module.c119 dl->d_partitions[0].p_offset == 0)
121 devinfo->partoff = dl->d_partitions[0].p_offset;
/freebsd-current/sys/sys/disk/
H A Dbsd.h126 } d_partitions[BSD_NPARTS_MIN]; /* actually may be more */ member in struct:disklabel
/freebsd-current/sys/geom/
H A Dgeom_bsd_enc.c130 bsd_partition_le_dec(ptr + 148 + 16 * i, &d->d_partitions[i]);
189 bsd_partition_le_enc(ptr + 148 + 16 * i, &d->d_partitions[i]);
/freebsd-current/lib/libc/gen/
H A Ddisklabel.c123 pp = &dp->d_partitions[0];
/freebsd-current/stand/i386/boot2/
H A Dboot2.c519 !d->d_partitions[dsk.part].p_size) {
523 dsk.start += d->d_partitions[dsk.part].p_offset;
524 dsk.start -= d->d_partitions[RAW_PART].p_offset;
/freebsd-current/sbin/newfs/
H A Dnewfs.c356 pp = &lp->d_partitions[RAW_PART];
358 pp = &lp->d_partitions[*cp - 'a'];
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c361 dl.d_partitions[DISKPART(st.st_rdev)].p_size > 0) {
/freebsd-current/stand/common/
H A Dpart.c492 part = &dl->d_partitions[0];

Completed in 239 milliseconds