Home
last modified time | relevance | path

Searched refs:ap_tblp (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/format/
H A Dix_altsctr.c118 if (ap->ap_tblp == NULL) {
121 ap->ap_tblp = (struct alts_parttbl *)malloc(ap->ap_tbl_secsiz);
122 if (ap->ap_tblp == NULL) {
137 ap->ap_tblp->alts_map_len = (part->p_size + 8 - 1) / 8;
138 ap->ap_map_secsiz = byte_to_secsiz(ap->ap_tblp->alts_map_len,
196 if ((badsec >= altsp_srtsec+ap->ap_tblp->alts_map_base) && in chk_badsec()
197 (badsec <= (altsp_srtsec + ap->ap_tblp->alts_map_base + in chk_badsec()
203 if ((badsec >= altsp_srtsec+ap->ap_tblp->alts_ent_base) && in chk_badsec()
204 (badsec <= (altsp_srtsec + ap->ap_tblp->alts_ent_base + in chk_badsec()
220 status = ent_bsearch(ap->ap_entp, ap->ap_tblp->alts_ent_used, in chk_badsec()
[all …]
H A Dctlr_ata.c293 if (ap->ap_tblp->alts_ent_used) { in ata_convert_list()
294 new_defect = calloc(ap->ap_tblp->alts_ent_used, in ata_convert_list()
301 list->header.count = ap->ap_tblp->alts_ent_used; in ata_convert_list()
304 for (i = 0; i < ap->ap_tblp->alts_ent_used; in ata_convert_list()
H A Dbadsec.h56 struct alts_parttbl *ap_tblp; /* alts partition table */ member
/titanic_44/usr/src/cmd/addbadsec/
H A Dix_altsctr.c123 if (ap->ap_tblp == NULL) { in read_altsctr()
126 ap->ap_tblp = (struct alts_parttbl *)malloc(ap->ap_tbl_secsiz); in read_altsctr()
127 if (ap->ap_tblp == NULL) { in read_altsctr()
142 ap->ap_tblp->alts_map_len = (part->p_size + 8 - 1) / 8; in read_altsctr()
143 ap->ap_map_secsiz = byte_to_secsiz(ap->ap_tblp->alts_map_len, in read_altsctr()
199 if ((badsec >= altsp_srtsec+ap->ap_tblp->alts_map_base) && in chk_badsec()
200 (badsec <= (altsp_srtsec + ap->ap_tblp->alts_map_base + in chk_badsec()
206 if ((badsec >= altsp_srtsec+ap->ap_tblp->alts_ent_base) && in chk_badsec()
207 (badsec <= (altsp_srtsec + ap->ap_tblp->alts_ent_base + in chk_badsec()
223 status = ent_bsearch(ap->ap_entp, ap->ap_tblp->alts_ent_used, in chk_badsec()
[all …]
H A Dbadsec.h53 struct alts_parttbl *ap_tblp; /* alts partition table */ member