/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/ |
H A D | zambezi.c | 96 tnode_t *ntn; local 110 ntn = topo_node_bind(mod, parent, name, i, fmri); 112 if (ntn == NULL) { 121 topo_node_setspecific(ntn, priv); 122 if (topo_pgroup_create(ntn, &zambezi_auth_pgroup, &err) == 0) { 123 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 125 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 127 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 129 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 132 return (ntn); 140 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 98 tnode_t *ntn; local 123 ntn = topo_node_bind(mp, parent, name, i, fmri); 124 if (ntn == NULL) { 134 topo_node_setspecific(ntn, priv); 136 return (ntn);
|
H A D | pcibus.c | 127 tnode_t *ntn; local 129 if ((ntn = tnode_create(mod, parent, name, i, priv)) == NULL) 131 if (topo_method_register(mod, ntn, Pci_methods) < 0) { 134 topo_node_unbind(ntn); 137 return (ntn); 164 tnode_t *ntn, *ptn; local 228 if ((ntn = pci_tnode_create(mod, parent, PCIEX_FUNCTION, i, dn)) 231 if (did_props_set(ntn, pd, Fn_common_props, Fn_propcnt) < 0) { 232 topo_node_unbind(ntn); 238 if (child_range_add(mod, ntn, PCIEX_BU 255 tnode_t *ntn; local 284 tnode_t *ntn; local 311 tnode_t *ntn; local 338 tnode_t *ntn; local 367 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/ |
H A D | xfp.c | 90 tnode_t *ntn; local 104 ntn = topo_node_bind(mod, parent, name, i, fmri); 106 if (ntn == NULL) { 115 topo_node_setspecific(ntn, priv); 116 if (topo_pgroup_create(ntn, &xfp_auth_pgroup, &err) == 0) { 117 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 119 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 121 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 123 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 126 return (ntn); 181 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/ |
H A D | hostbridge.c | 193 tnode_t *ntn; local 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_method 244 tnode_t *ntn; local 269 tnode_t *ntn; local 294 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/ |
H A D | ioboard.c | 166 tnode_t *ntn; local 177 ntn = topo_node_bind(mod, parent, name, i, fmri); 178 if (ntn == NULL) { 188 topo_node_setspecific(ntn, priv); 190 if (topo_method_register(mod, ntn, Iob_methods) < 0) { 193 topo_node_unbind(ntn); 196 return (ntn); 202 tnode_t *ntn; local 204 if ((ntn = iob_tnode_create(mod, parent, IOBOARD, i, priv)) == NULL) 206 if (did_props_set(ntn, pri [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 128 tnode_t *ntn; local 170 ntn = topo_node_bind(mod, parent, name, i, fmri); 171 if (ntn == NULL) { 181 topo_node_setspecific(ntn, priv); 183 if (topo_pgroup_create(ntn, &chip_auth_pgroup, &err) == 0) { 184 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 186 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 188 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 190 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 195 (void) topo_node_label_set(ntn, labe [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/ |
H A D | dimm_sun4v.c | 123 tnode_t *ntn; local 136 ntn = topo_node_bind(mod, parent, name, i, fmri); 137 if (ntn == NULL) { 147 topo_node_setspecific(ntn, priv); 149 if (topo_pgroup_create(ntn, &mem_auth_pgroup, &err) == 0) { 150 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 152 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 154 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 156 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 160 (void) topo_node_label_set(ntn, labe [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/ |
H A D | motherboard.c | 285 tnode_t *ntn; local 333 ntn = topo_node_bind(mod, parent, name, i, fmri); 334 if (ntn == NULL) { 345 mb_prop_set(ntn, auth); 350 topo_node_setspecific(ntn, priv); 352 return (ntn); 360 tnode_t *ntn; local 365 if ((ntn = mb_tnode_create(mp, parent, name, 0, NULL)) == NULL) 369 if (topo_node_resource(ntn, &fmri, &err) < 0) { 371 topo_node_unbind(ntn); [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/ |
H A D | niu.c | 150 tnode_t *ntn; local 164 ntn = topo_node_bind(mod, parent, name, i, fmri); 165 if (ntn == NULL) { 175 topo_node_setspecific(ntn, priv); 177 if (topo_pgroup_create(ntn, &io_pgroup, &err) == 0) { 178 (void) devprop_set(ntn, priv, TOPO_PGROUP_IO, TOPO_IO_DEV, mod); 179 (void) driverprop_set(ntn, priv, TOPO_PGROUP_IO, TOPO_IO_DRIVER, 181 (void) moduleprop_set(ntn, priv, TOPO_PGROUP_IO, TOPO_IO_MODULE, 184 return (ntn); 221 tnode_t *ntn; local 247 tnode_t *ntn; local 302 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu.c | 413 tnode_t *ntn; local 423 ntn = topo_node_bind(mod, parent, name, i, fmri); 424 if (ntn == NULL) { 434 topo_node_setspecific(ntn, priv); 436 return (ntn);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 246 tnode_t *ntn; local 260 ntn = topo_node_bind(mod, parent, name, i, fmri); 261 if (ntn == NULL) { 274 topo_node_setspecific(ntn, priv); 276 if (topo_pgroup_create(ntn, &cpuboard_auth_pgroup, &err) == 0) { 277 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 279 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 281 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 283 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 287 return (ntn); 346 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/ |
H A D | xaui.c | 101 tnode_t *ntn; local 115 ntn = topo_node_bind(mod, parent, name, i, fmri); 117 if (ntn == NULL) { 126 topo_node_setspecific(ntn, priv); 127 if (topo_pgroup_create(ntn, &xaui_auth_pgroup, &err) == 0) { 128 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 130 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 132 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 134 (void) topo_prop_inherit(ntn, FM_FMRI_AUTHORITY, 137 return (ntn); 456 tnode_t *ntn; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem.c | 607 tnode_t *ntn; local 617 ntn = topo_node_bind(mod, parent, name, i, fmri); 618 if (ntn == NULL) { 628 topo_node_setspecific(ntn, priv); 630 return (ntn);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 1406 tnode_t *ntn = NULL; local 1436 if ((ntn = topo_node_facbind(mp, ptn, (char *)fname, 1444 if (topo_pgroup_create(ntn, &pgi, &err) != 0) { 1457 if (fac_enum_run(mp, ntn, (const char *)provider) != 0) { 1464 if ((newi = tf_idata_new(mp, 0, ntn)) == NULL) 1470 if (pad_process(mp, rd, cn, ntn, &newi->ti_pad) < 0) 1492 if (ntn != NULL) 1493 topo_node_unbind(ntn); 1504 tnode_t *ntn; local 1528 ntn [all...] |