Lines Matching refs:edata
72 asr_get_fmri_strcpy(asr_topo_enum_data_t *edata, nvlist_t *fmri)
79 if (topo_fmri_nvl2str(edata->asr_topoh, fmri, &fmristr, &err) != 0) {
80 (void) asr_topo_error(edata->asr_hdl, err);
87 topo_hdl_strfree(edata->asr_topoh, fmristr);
98 asr_get_fru(asr_topo_enum_data_t *edata, tnode_t *node)
106 return (asr_get_fmri_strcpy(edata, fmri));
113 asr_get_asru(asr_topo_enum_data_t *edata, tnode_t *node)
121 return (asr_get_fmri_strcpy(edata, fmri));
128 asr_get_resource(asr_topo_enum_data_t *edata, tnode_t *node)
136 return (asr_get_fmri_strcpy(edata, fmri));
147 asr_topo_enum_data_t *edata, nvlist_t *prop, char **name, asr_buf_t *value)
226 edata->asr_topoh, val, &fmri, &err) != 0) {
230 topo_hdl_strfree(edata->asr_topoh, fmri);
300 add_topo_ai_grp(asr_topo_enum_data_t *edata, nvlist_t *grp,
355 edata, prop, &pname, val)) != 0)
378 add_topo_ai(asr_topo_enum_data_t *edata, tnode_t *node,
393 err |= add_topo_ai_grp(edata, grp, std, out);
424 add_hardware_component(asr_topo_enum_data_t *edata, tnode_t *node)
426 asr_buf_t *out = edata->asr_data;
432 char *fru = asr_get_fru(edata, node);
433 char *resource = asr_get_resource(edata, node);
434 char *asru = asr_get_asru(edata, node);
450 err |= add_topo_ai(edata, node, std, ai);
513 asr_topo_enum_data_t *edata = arg;
515 (void) add_hardware_component(edata, node);