Lines Matching refs:thp
46 topo_hdl_t *thp; in fmd_fmri_nvl2str() local
49 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) in fmd_fmri_nvl2str()
51 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { in fmd_fmri_nvl2str()
52 fmd_fmri_topo_rele(thp); in fmd_fmri_nvl2str()
59 topo_hdl_strfree(thp, str); in fmd_fmri_nvl2str()
60 fmd_fmri_topo_rele(thp); in fmd_fmri_nvl2str()
151 topo_hdl_t *thp; in fmd_fmri_expand() local
160 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) in fmd_fmri_expand()
163 rc = topo_fmri_expand(thp, nvl, &err); in fmd_fmri_expand()
164 fmd_fmri_topo_rele(thp); in fmd_fmri_expand()
209 topo_hdl_t *thp; in fmd_fmri_present() local
218 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) in fmd_fmri_present()
220 rc = topo_fmri_present(thp, nvl, &err); in fmd_fmri_present()
221 fmd_fmri_topo_rele(thp); in fmd_fmri_present()
262 topo_hdl_t *thp; in fmd_fmri_replaced() local
271 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) in fmd_fmri_replaced()
273 rc = topo_fmri_replaced(thp, nvl, &err); in fmd_fmri_replaced()
274 fmd_fmri_topo_rele(thp); in fmd_fmri_replaced()
319 topo_hdl_t *thp; in fmd_fmri_unusable() local
329 if ((thp = fmd_fmri_topo_hold(TOPO_VERSION)) == NULL) in fmd_fmri_unusable()
331 rc = topo_fmri_unusable(thp, nvl, &err); in fmd_fmri_unusable()
332 fmd_fmri_topo_rele(thp); in fmd_fmri_unusable()