Lines Matching defs:thp
153 topo_hdl_t *thp;
161 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL)
163 rc = topo_fmri_expand(thp, nvl, &err);
164 fmd_fmri_topo_rele(thp);
216 struct topo_hdl *thp;
234 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL)
236 rc = topo_fmri_present(thp, nvl, &err);
237 fmd_fmri_topo_rele(thp);
284 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) {
288 if (topo_fmri_str2nvl(thp, unum, &unum_nvl, &err) == 0) {
289 rc = topo_fmri_present(thp, unum_nvl, &err);
293 fmd_fmri_topo_rele(thp);
316 struct topo_hdl *thp;
334 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL)
336 rc = topo_fmri_replaced(thp, nvl, &err);
337 fmd_fmri_topo_rele(thp);
385 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) {
389 if (topo_fmri_str2nvl(thp, unum, &unum_nvl, &err) == 0) {
390 rc = topo_fmri_replaced(thp, unum_nvl, &err);
394 fmd_fmri_topo_rele(thp);
418 struct topo_hdl *thp;
425 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL)
427 rc = topo_fmri_contains(thp, er, ee, &err);
428 fmd_fmri_topo_rele(thp);
465 topo_hdl_t *thp;
474 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL)
476 rc = topo_fmri_unusable(thp, nvl, &err1);
477 fmd_fmri_topo_rele(thp);