Lines Matching refs:eip
29 #define NEXT_ED(eip) \
30 ((ses2_ed_impl_t *)((uint8_t *)(eip) + \
31 ((eip)->st_hdr.sehi_ed_len + sizeof (ses2_ed_hdr_impl_t))))
136 ses2_ed_impl_t *eip;
172 for (eip = (ses2_ed_impl_t *)pip->scpi_data, i = 0;
174 i++, eip = NEXT_ED(eip)) {
175 if (!SES_WITHIN_PAGE_STRUCT(eip, pp->ssp_page, pp->ssp_len))
178 n_etds += eip->st_hdr.sehi_n_etd_hdrs;
180 ftip = (ses2_td_hdr_impl_t *)eip;
194 for (eip = (ses2_ed_impl_t *)pip->scpi_data, i = 0;
196 i++, eip = NEXT_ED(eip)) {
197 if (!SES_WITHIN_PAGE_STRUCT(eip, pp->ssp_page, pp->ssp_len))
204 np->sn_enc_num = eip->st_hdr.sehi_subenclosure_id;
206 if (!SES_WITHIN_PAGE(eip, eip->st_hdr.sehi_ed_len +
211 if (enc_parse_ed(eip, np->sn_props) != 0)