Lines Matching defs:d_partitions
132 } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
451 xbsd_dlabel.d_partitions[i].p_size = 0;
452 xbsd_dlabel.d_partitions[i].p_offset = 0;
453 xbsd_dlabel.d_partitions[i].p_fstype = BSD_FS_UNUSED;
455 while (xbsd_dlabel.d_partitions[xbsd_dlabel.d_npartitions-1].p_size == 0)
492 xbsd_dlabel.d_partitions[i].p_size = end - begin + 1;
493 xbsd_dlabel.d_partitions[i].p_offset = begin;
494 xbsd_dlabel.d_partitions[i].p_fstype = BSD_FS_UNUSED;
550 pp = lp->d_partitions;
791 xbsd_dlabel.d_partitions[i].p_fstype = read_hex(xbsd_fstypes);
815 if (xbsd_dlabel.d_partitions[t].p_size == 0)
829 if (xbsd_dlabel.d_partitions[*i].p_size != 0) {
850 end = (uint16_t *) &lp->d_partitions[lp->d_npartitions];
899 pp = &d->d_partitions[2]; /* Partition C should be NetBSD partition */
904 pp = &d->d_partitions[3]; /* Partition D should be whole disk */
911 pp = &d->d_partitions[2]; /* Partition C should be
955 d->d_partitions[t].p_size = 0;
956 d->d_partitions[t].p_offset = 0;
957 d->d_partitions[t].p_fstype = BSD_FS_UNUSED;
1036 xbsd_dlabel.d_partitions[i].p_size = get_nr_sects(p);
1037 xbsd_dlabel.d_partitions[i].p_offset = get_start_sect(p);
1038 xbsd_dlabel.d_partitions[i].p_fstype = xbsd_translate_fstype(p->sys_ind);