Lines Matching refs:fmri
814 * Decode fmri. Populates service OR instance depending on which one is an
815 * exact match to the fmri parameter.
834 decode_fmri(const char *fmri, scf_handle_t *h, scf_service_t **s,
837 if (scf_handle_decode_fmri(h, fmri, NULL, *s, NULL, NULL, NULL,
847 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, *i,
1274 char *fmri = (char *)SCF_NOTIFY_PARAMS_INST;
1306 (nvlist_lookup_string(attr, SCF_NOTIFY_NAME_FMRI, &fmri) != 0 ||
1312 if (decode_fmri(fmri, h, &s, &i) != SCF_SUCCESS)
1520 * Populates nvlist_t params with the source fmri for the pg
1531 char *fmri = malloc(sz);
1535 if (fmri == NULL) {
1540 if (scf_pg_to_fmri(pg, fmri, sz) == -1) {
1547 if ((p = strrchr(fmri, ':')) != NULL && p > fmri)
1549 if (nvlist_add_string(params, SCF_NOTIFY_PARAMS_SOURCE_NAME, fmri) !=
1557 free(fmri);
1576 _scf_get_svc_notify_params(const char *fmri, nvlist_t *nvl, int32_t tset,
1592 assert(fmri != NULL && nvl != NULL);
1603 if (decode_fmri(fmri, h, &s, &i) != SCF_SUCCESS ||
1820 char *fmri;
1835 nvlist_lookup_string(attr, "svc-string", &fmri) != 0 ||
1850 r = _scf_get_svc_notify_params(fmri, *params, tset, 0, 1);
1878 smf_notify_del_params(const char *class, const char *fmri, int32_t tset)
1907 if (!SCF_TRANS_VALID(tset) || fmri == NULL) {
1912 if (decode_fmri(fmri, h, &s, &i) != SCF_SUCCESS) {