Lines Matching refs:fmri
76 * Pathname storage for paths generated from the fmri.
332 * of the instance with fmri 'inst_fmri', within the instance's instance
411 * with fmri 'fmri', from within the instance's instance state property
422 _retrieve_rep_vals(uu_list_t *list, const char *fmri, const char *prop_name)
427 if ((sp = scf_simple_prop_get(rep_handle, fmri, PG_NAME_INSTANCE_STATE,
451 * a file that is generated based on the passed in fmri and name.
453 * ENAMETOOLONG if unable to generate filename from fmri (including
458 repvals_to_file(const char *fmri, const char *name, uu_list_t *vals)
465 if (gen_filenms_from_fmri(fmri, name, genfmri_filename,
467 /* Failure either from fmri too long or mkdir failure */
531 store_retrieve_rep_vals(uu_list_t *vals, const char *fmri,
551 if (repvals_to_file(fmri, "pid", vals)) {
556 if (gen_filenms_from_fmri(fmri, "pid", genfmri_filename,
601 if ((ret = (store ? _store_rep_vals(vals, fmri, prop) :
602 _retrieve_rep_vals(vals, fmri, prop))) !=
615 store_rep_vals(uu_list_t *vals, const char *fmri, const char *prop)
617 return (store_retrieve_rep_vals(vals, fmri, prop, B_TRUE));
621 retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop)
623 return (store_retrieve_rep_vals(vals, fmri, prop, B_FALSE));
629 * based on the fmri. Cached list is written to a file due to scalability
634 * ENAMETOOLONG if unable to generate filename from fmri (including
656 if (gen_filenms_from_fmri(inst->fmri, "ctid", genfmri_filename,
658 /* Failure either from fmri too long or mkdir failure */
692 if ((repval_ret = repvals_to_file(inst->fmri, "ctid",
711 * ENAMETOOLONG if unable to generate filename from fmri (including
741 inst->fmri, strerror(errno));
751 if (gen_filenms_from_fmri(inst->fmri, "ctid", genfmri_filename,
753 /* Failure either from fmri too long or mkdir failure */
807 inst->fmri) != 0) {