Lines Matching defs:inst
188 modify_prop(const scf_instance_t *inst, const char *pg, const char *prop,
206 if (scf_instance_get_pg(inst, pg, gpg) == -1) {
214 if (scf_instance_to_fmri(inst, fmri, max_fmri_len + 1) < 0)
221 if (scf_instance_add_pg(inst, pg, SCF_GROUP_FRAMEWORK, 0,
320 delete_prop(const scf_instance_t *inst, const char *pg, const char *prop)
334 if (scf_instance_get_pg(inst, pg, gpg) != SCF_SUCCESS) {
386 commit_props(const scf_instance_t *inst, inetd_prop_t *mod, boolean_t defaults)
396 delete_prop(inst, mod[i].ip_pg, mod[i].ip_name);
401 modify_prop(inst,
408 modify_prop(inst,
415 modify_prop(inst,
423 modify_prop(inst,
442 list_callback(scf_handle_t *hin, scf_instance_t *inst, void *buf)
459 if (scf_instance_to_fmri(inst, inst_name, max_name_length + 1) < 0)
755 scf_instance_t *inst = wip->inst;
868 commit_props(inst, mod, B_FALSE);
887 scf_instance_t *inst;
893 if ((inst = scf_instance_create(h)) == NULL)
897 inst, NULL, NULL, SCF_DECODE_FMRI_EXACT) == -1) {
971 commit_props(inst, mod, B_TRUE);
973 scf_instance_destroy(inst);