Lines Matching refs:part
95 updatebadsec(part, init_flag)
97 struct dkl_partition *part;
102 (void) read_altsctr(part);
115 read_altsctr(part)
116 struct dkl_partition *part;
132 if ((ap->ap_memmapp = (uchar_t *)malloc(part->p_size)) == NULL) {
137 ap->ap_tblp->alts_map_len = (part->p_size + 8 - 1) / 8;
147 (void) memset(ap->ap_memmapp, 0, part->p_size);
149 ap->part = *part; /* struct copy */
179 blkaddr_t altsp_srtsec = ap->part.p_start;
180 blkaddr_t altsp_endsec = ap->part.p_start + ap->part.p_size - 1;
241 blkaddr_t altsp_srtsec = ap->part.p_start;
242 blkaddr_t altsp_endsec = ap->part.p_start + ap->part.p_size - 1;
249 ap->ap_tblp->alts_map_len = (ap->part.p_size + 8 - 1) / 8;
253 ap->ap_tblp->alts_resv_base = ap->part.p_size - 1;
273 ap->part.p_size, ap->ap_map_sectot, ALTS_MAP_UP);
359 perror("Unable to write with ata_rdwr the alt sector part: ");
497 ap->ap_map_sectot, (blkaddr_t)ap->part.p_size,
528 altsmap_alloc(ap->part.p_size-1, ap->ap_tblp->alts_map_base +
537 (ap->ap_entp)[i].good_start = alts_ind +ap->part.p_start;
554 for (i = 0; i < ap->part.p_size; i++) {
571 for (i = 0, bytesz = 7; i < ap->part.p_size; i++) {