Lines Matching refs:d_partitions

128 	} d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */  member
447 xbsd_dlabel.d_partitions[i].p_size = 0; in xbsd_delete_part()
448 xbsd_dlabel.d_partitions[i].p_offset = 0; in xbsd_delete_part()
449 xbsd_dlabel.d_partitions[i].p_fstype = BSD_FS_UNUSED; in xbsd_delete_part()
451 while (xbsd_dlabel.d_partitions[xbsd_dlabel.d_npartitions-1].p_size == 0) in xbsd_delete_part()
488 xbsd_dlabel.d_partitions[i].p_size = end - begin + 1; in xbsd_new_part()
489 xbsd_dlabel.d_partitions[i].p_offset = begin; in xbsd_new_part()
490 xbsd_dlabel.d_partitions[i].p_fstype = BSD_FS_UNUSED; in xbsd_new_part()
543 pp = lp->d_partitions; in xbsd_print_disklabel()
785 xbsd_dlabel.d_partitions[i].p_fstype = read_hex(xbsd_fstypes); in xbsd_change_fstype()
809 if (xbsd_dlabel.d_partitions[t].p_size == 0) in xbsd_check_new_partition()
823 if (xbsd_dlabel.d_partitions[*i].p_size != 0) { in xbsd_check_new_partition()
844 end = (uint16_t *) &lp->d_partitions[lp->d_npartitions]; in xbsd_dkcksum()
893 pp = &d->d_partitions[2]; /* Partition C should be NetBSD partition */ in xbsd_initlabel()
898 pp = &d->d_partitions[3]; /* Partition D should be whole disk */ in xbsd_initlabel()
905 pp = &d->d_partitions[2]; /* Partition C should be the whole disk */ in xbsd_initlabel()
947 d->d_partitions[t].p_size = 0; in xbsd_readlabel()
948 d->d_partitions[t].p_offset = 0; in xbsd_readlabel()
949 d->d_partitions[t].p_fstype = BSD_FS_UNUSED; in xbsd_readlabel()
1026 xbsd_dlabel.d_partitions[i].p_size = get_nr_sects(p); in xbsd_link_part()
1027 xbsd_dlabel.d_partitions[i].p_offset = get_start_sect(p); in xbsd_link_part()
1028 xbsd_dlabel.d_partitions[i].p_fstype = xbsd_translate_fstype(p->sys_ind); in xbsd_link_part()