Lines Matching refs:fmri

915 set_inst_action(const char *fmri, const char *action)
928 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL,
1052 set_inst_enabled_flags(const char *fmri, int flags, uint8_t desired)
1072 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL, NULL,
1148 smf_enable_instance(const char *fmri, int flags)
1150 return (set_inst_enabled_flags(fmri, flags, B_TRUE));
1154 smf_disable_instance(const char *fmri, int flags)
1156 return (set_inst_enabled_flags(fmri, flags, B_FALSE));
1301 * scf_general_pg_setup(fmri, pg_name)
1303 * property group fields associated with the given fmri and property group
1321 scf_general_pg_setup(const char *fmri, const char *pg_name)
1342 if (scf_handle_decode_fmri(ret->h, fmri, NULL, NULL, ret->inst,
2476 * Generate a filename based on the fmri and the given name and return
2481 * Given fmri should begin with a scheme such as "svc:".
2488 gen_filenms_from_fmri(const char *fmri, const char *name, char *filename,
2494 len += strlen(fmri);
2504 (void) strcat(filename, fmri);
2744 * Reads a vector of properties from the specified fmri/property group.
2774 scf_read_propvec(const char *fmri, const char *pgname, boolean_t running,
2801 if (scf_handle_decode_fmri(h, fmri, NULL, s, i, NULL, NULL, 0) == -1)
3008 * Writes a vector of properties to the specified fmri/property group.
3019 scf_write_propvec(const char *fmri, const char *pgname,
3040 if (scf_handle_decode_fmri(h, fmri, NULL, s, inst, NULL, NULL, 0)
3289 is_auto_enabled(char *fmri)
3295 prop = scf_simple_prop_get(NULL, fmri, SCF_GROUP_APPLICATION,
3496 /* Make sure that the restarter fmri is fully qualified. */
3562 * Takes two char strings, each an fmri representation. The first is the
3563 * fmri for the instance whose restarter is to be set. The second is the fmri
3566 * Validate that the restarter fmri is a valid fmri instance.
3569 smf_set_restarter(const char *fmri, const char *restarter_fmri)
3603 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL, NULL,