Lines Matching defs:hc_name
316 char *hc_name = NULL;
322 hc_name = pi_get_topo_hc_name(mod, mdp, mde_node);
323 if (hc_name != NULL && strcmp(hc_name, MD_STR_CHASSIS) == 0) {
324 topo_mod_strfree(mod, hc_name);
338 if (hc_name != NULL) {
339 topo_mod_strfree(mod, hc_name);
359 hc_name = pi_get_topo_hc_name(mod, mdp, chassis_nodes[idx]);
360 if (hc_name != NULL && strcmp(hc_name, MD_STR_CHASSIS) == 0) {
374 topo_mod_strfree(mod, hc_name);
457 char *hc_name = pi_get_topo_hc_name(mod, mdp, mde_node);
465 if (strncmp(hc_name, BAY, strlen(BAY)) != 0) {
469 topo_mod_strfree(mod, hc_name);
473 topo_mod_strfree(mod, hc_name);
952 char *hc_name;
957 hc_name = NULL;
958 result = md_get_prop_str(mdp, mde_node, MD_STR_TOPO_HC_NAME, &hc_name);
959 if (result != 0 || hc_name == NULL) {
967 return (topo_mod_strdup(mod, hc_name));
1374 tnode_t *t_parent, const char *hc_name, topo_instance_t inst,
1383 (uint64_t)mde_node, inst, hc_name);
1388 t_node = topo_node_bind(mod, t_parent, hc_name, inst, fmri);
1397 (uint64_t)mde_node, inst, hc_name);
1406 if (strncmp(hc_name, BAY, strlen(BAY)) != 0) {
1407 result = pi_set_frufmri(mod, mdp, mde_node, hc_name, inst,