Lines Matching refs:ntn
193 tnode_t *ntn;
206 ntn = topo_node_bind(mod, parent, name, i, fmri);
207 if (ntn == NULL) {
217 topo_node_setspecific(ntn, priv);
219 if (topo_pgroup_create(ntn, &hb_auth_pgroup, &err) == 0) {
220 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY,
222 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY,
224 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY,
226 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY,
230 if (topo_method_register(mod, ntn, Hb_methods) < 0) {
233 topo_node_unbind(ntn);
236 return (ntn);
244 tnode_t *ntn;
248 if ((ntn = hb_tnode_create(mod, parent, HOSTBRIDGE, i, din)) == NULL)
250 if (did_props_set(ntn, pd, HB_common_props, HB_propcnt) < 0) {
251 topo_node_unbind(ntn);
257 if (child_range_add(mod, ntn, PCI_BUS, 0, MAX_HB_BUSES) < 0) {
258 topo_node_unbind(ntn);
261 return (ntn);
269 tnode_t *ntn;
273 if ((ntn = hb_tnode_create(mod, parent, HOSTBRIDGE, hi, din)) == NULL)
275 if (did_props_set(ntn, pd, ExHB_common_props, ExHB_propcnt) < 0) {
276 topo_node_unbind(ntn);
282 if (child_range_add(mod, ntn, PCIEX_ROOT, 0, MAX_HB_BUSES) < 0) {
283 topo_node_unbind(ntn);
286 return (ntn);
294 tnode_t *ntn;
299 if ((ntn = hb_tnode_create(mod, parent, PCIEX_ROOT, ri, din)) == NULL)
301 if (did_props_set(ntn, pd, RC_common_props, RC_propcnt) < 0) {
302 topo_node_unbind(ntn);
308 if (child_range_add(mod, ntn, PCIEX_BUS, 0, MAX_HB_BUSES) < 0) {
309 topo_node_range_destroy(ntn, PCIEX_BUS);
312 return (ntn);