Lines Matching refs:fmri
99 nvlist_t *fmri; /* The fmri for this target */
106 #define EXAMINE_FMRI_VALUE 0 /* Extract fmri val */
278 * This method exists to give access into the fmri. One purpose is to flip the
284 access_fmri(ses_log_monitor_t *slmp, nvlist_t *fmri, char *target,
297 if ((*err = nvlist_lookup_nvpair(fmri, "hc-list", &nvp)) != 0) {
298 fmd_hdl_debug(slmp->slt_hdl, "No hc-list in the fmri");
334 "Could not find hc-id in the fmri for %s", target);
436 subchassis_val = access_fmri(slmp, expander->fmri, SUBCHASSIS,
594 check_code(ses_log_monitor_t *slmp, nvlist_t *fmri, char *pid, int code)
605 func_ptr(slmp, fmri);
647 invert_fmri(ses_log_monitor_t *slmp, nvlist_t *fmri)
651 (void) access_fmri(slmp, fmri, CONTROLLER, INVERT_FMRI_INSTANCE, &err);
658 (void) access_fmri(slmp, fmri, SASEXPANDER, INVERT_FMRI_INSTANCE, &err);
719 (void) check_code(slmp, expander->fmri,
733 class_sev, ena, expander->fmri, entry_data);
775 if (exp->fmri != NULL) {
776 nvlist_free(exp->fmri);
929 /* Free the space used for the result and the fmri. */
949 nvlist_t *fmri;
1024 /* Obtain the fmri for this node and save a reference to it. */
1025 if (topo_node_resource(node, &fmri, &err) != 0) {
1026 fmd_hdl_debug(slmp->slt_hdl, "failed to get fmri for %s: %s",
1032 expander->fmri = fmri;