Lines Matching refs:tip
116 elem_parse_td(ses2_td_hdr_impl_t *tip, const char *tp, nvlist_t *nvl) in elem_parse_td() argument
122 tp, tip->sthi_text_len); in elem_parse_td()
137 ses2_td_hdr_impl_t *tip, *ftip; in ses_build_snap_skel() local
222 tip = ftip + i; in ses_build_snap_skel()
224 if (!SES_WITHIN_PAGE_STRUCT(tip, pp->ssp_page, pp->ssp_len)) in ses_build_snap_skel()
228 tip->sthi_subenclosure_id); in ses_build_snap_skel()
230 idx += tip->sthi_max_elements + 1; in ses_build_snap_skel()
231 eidx += tip->sthi_max_elements; in ses_build_snap_skel()
232 toff += tip->sthi_text_len; in ses_build_snap_skel()
236 if (tip->sthi_element_type == SES_ET_ENCLOSURE) { in ses_build_snap_skel()
237 if (tip->sthi_max_elements == 0) { in ses_build_snap_skel()
249 if (tip->sthi_text_len > 0 && in ses_build_snap_skel()
250 SES_WITHIN_PAGE(tp + toff, tip->sthi_text_len, in ses_build_snap_skel()
253 toff += tip->sthi_text_len; in ses_build_snap_skel()
260 if (enc_parse_td(tip, text, pnp->sn_props) != 0) in ses_build_snap_skel()
263 idx += tip->sthi_max_elements + 1; in ses_build_snap_skel()
264 eidx += tip->sthi_max_elements; in ses_build_snap_skel()
272 np->sn_enc_num = tip->sthi_subenclosure_id; in ses_build_snap_skel()
279 SES_PROP_ELEMENT_TYPE, tip->sthi_element_type); in ses_build_snap_skel()
281 if (tip->sthi_text_len > 0 && in ses_build_snap_skel()
282 SES_WITHIN_PAGE(tp + toff, tip->sthi_text_len, in ses_build_snap_skel()
285 toff += tip->sthi_text_len; in ses_build_snap_skel()
290 if (elem_parse_td(tip, text, np->sn_props) != 0) in ses_build_snap_skel()
293 idx += tip->sthi_max_elements + 1; in ses_build_snap_skel()
295 if (tip->sthi_max_elements == 0) in ses_build_snap_skel()
298 for (j = 0; j < tip->sthi_max_elements; j++) { in ses_build_snap_skel()
311 SES_PROP_ELEMENT_TYPE, tip->sthi_element_type); in ses_build_snap_skel()
314 eidx += tip->sthi_max_elements; in ses_build_snap_skel()