Lines Matching refs:fmri

1107  *     The fmri argument in scf_handle_decode_fmri() is not a valid FMRI.
1936 scf_tmpl_get_by_pg_name(const char *fmri, const char *snapshot,
1963 ret = scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL,
1970 ret = scf_handle_decode_fmri(h, fmri, NULL, svc,
2000 /* If we have a service fmri, snapshot is ignored. */
2272 * Iterates through the property group templates for the fmri given.
2274 * template in fmri. On subsequent calls, sets t to the next property group
2288 * The handle argument is NULL, fmri is invalid, or snapshot is invalid.
2296 scf_tmpl_iter_pgs(scf_pg_tmpl_t *t, const char *fmri, const char *snapshot,
2325 ret = scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL,
2332 ret = scf_handle_decode_fmri(h, fmri, NULL, svc,
4890 _scf_create_errors(const char *fmri, int destroy_strings)
4895 assert(fmri != NULL);
4905 if ((ret->tes_fmri = strdup(fmri)) == NULL) {
5887 char *fmri;
5889 if ((fmri = _scf_tmpl_get_fmri(pt->prt_t)) == NULL)
5891 *errs = _scf_create_errors(fmri, 1);
5892 free(fmri);
6373 * Checks if instance fmri redefines any pgs defined in restarter or global
6389 _scf_tmpl_check_pg_redef(scf_handle_t *h, const char *fmri,
6407 while ((ret = scf_tmpl_iter_pgs(t, fmri, snapname, NULL,
6416 while ((ret = scf_tmpl_iter_pgs(r, fmri, snapname, pg_type,
6529 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot,
6546 if ((*errs = _scf_create_errors(fmri, 1)) == NULL)
6567 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL, NULL,
6600 if (_scf_tmpl_check_pg_redef(h, fmri, snapshot, *errs) != 0) {
6635 if (scf_tmpl_get_by_pg_name(fmri, snapshot, pg_name, type, t,
6669 while ((r = scf_tmpl_iter_pgs(t, fmri, snapshot, NULL,
6775 scf_tmpl_error_source_fmri(const scf_tmpl_error_t *err, char **fmri)
6790 *fmri = (char *)err->te_tmpl_fmri;