Lines Matching defs:inst
107 get_prop(const scf_instance_t *inst, scf_snapshot_t *snap,
113 ret = scf_instance_get_pg_composed(inst, snap, pgn, pg);
117 ret = scf_instance_get_pg_composed(inst, snap, pgn, pg);
128 ret = scf_instance_get_pg_composed(inst, NULL, pgn, pg);
140 * specified by inst & prop_spec and store it in *retstr. prop_spec may
142 * to inst, or the name of a property in inst's "application" property
143 * group. In the latter two cases, the property is looked up in inst's
155 get_prop_val_str(const scf_instance_t *inst, scf_snapshot_t *snap,
158 scf_handle_t *h = scf_instance_handle(inst);
221 /* Try prop or pg/prop in inst. */
241 if (get_prop(inst, snap, pgn, pn, pg, prop) != 0)
357 expand_token(const char *str, scf_instance_t *inst, scf_snapshot_t *snap,
360 scf_handle_t *h = scf_instance_handle(inst);
375 ret = scf_instance_get_parent(inst, svc);
418 iname_len = scf_instance_get_name(inst, NULL, 0);
430 szret = scf_instance_get_name(inst, iname, iname_len + 1);
458 ret = scf_instance_to_fmri(inst, fmri, fmri_len + 1);
530 ret = get_prop_val_str(inst, snap, buf, sep, retstr);
556 expand_method_tokens(const char *str, scf_instance_t *inst,
564 if (scf_instance_handle(inst) == NULL) {
618 skip = expand_token(sp + 1, inst, snap,