Lines Matching refs:d_npartitions
122 uint16_t d_npartitions; /* number of partitions in following */
450 i = xbsd_get_part_index(xbsd_dlabel.d_npartitions);
454 if (xbsd_dlabel.d_npartitions == i + 1)
455 while (xbsd_dlabel.d_partitions[xbsd_dlabel.d_npartitions-1].p_size == 0)
456 xbsd_dlabel.d_npartitions--;
548 printf("\n%d partitions:\n", lp->d_npartitions);
551 for (i = 0; i < lp->d_npartitions; i++, pp++) {
790 i = xbsd_get_part_index(xbsd_dlabel.d_npartitions);
811 if (xbsd_dlabel.d_npartitions == BSD_MAXPARTITIONS) {
826 if (*i >= xbsd_dlabel.d_npartitions)
827 xbsd_dlabel.d_npartitions = (*i) + 1;
850 end = (uint16_t *) &lp->d_partitions[lp->d_npartitions];
898 d->d_npartitions = 4;
910 d->d_npartitions = 3;
954 for (t = d->d_npartitions; t < BSD_MAXPARTITIONS; t++) {
960 if (d->d_npartitions > BSD_MAXPARTITIONS)
962 d->d_npartitions, BSD_MAXPARTITIONS);