Searched refs:fmri (Results 176 - 193 of 193) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c771 char *fmri; local
773 return (((fmri = getenv("SMF_FMRI")) != NULL) &&
774 (strstr(fmri, SERVICE_NAME) != NULL));
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c766 * Extract a pg and optionally a property name from fmri & prop_list.
791 assert(strrchr(wip->fmri, '/') != NULL);
792 propname = strrchr(wip->fmri, '/') + 1;
802 p->spn_comp1, p->spn_comp2, wip->fmri);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c79 const char *name, nvlist_t *fmri)
88 if (fmri)
89 (void) nvlist_xdup(fmri, &ap->asru_fmri, &fmd.d_nva);
95 if (fmri && nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &s) == 0 &&
78 fmd_asru_create(fmd_asru_hash_t *ahp, const char *uuid, const char *name, nvlist_t *fmri) argument
H A Dfmd_rpc_adm.c426 fmd_adm_rsrcinfo_1_svc(char *fmri, argument
440 if ((ap = fmd_asru_hash_lookup_name(fmd.d_asrus, fmri)) == NULL) {
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c202 nvlist_t *fmri; local
232 if (xmlattr_to_fmri(mp, xn, Value, &fmri) < 0)
234 rv = nvlist_add_nvlist(nvl, name, fmri);
235 nvlist_free(fmri);
522 nvlist_t *fmri, **fmriarr; local
547 e = nvlist_lookup_nvlist(pfmri, INV_PVAL, &fmri);
597 e = topo_prop_set_fmri(ptn, gnm, pnm, flag, fmri, &err);
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c3372 ipsecutil_exit(exit_type_t type, char *fmri, FILE *fp, const char *fmt, ...) argument
3385 if (fmri == NULL) {
3416 "Permission error with %s."), fmri);
3421 "Bad configuration of service %s."), fmri);
3426 "Service %s needs maintenance."), fmri);
3434 "Service %s fatal error."), fmri);
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c714 char *fmri; local
726 fmri = getenv("SMF_FMRI");
727 if (fmri == NULL) {
756 if (strcmp(fmri, SMF_SVC_INSTANCE) != 0) {
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c1375 nvlist_t *fmri)
1388 t_node = topo_node_bind(mod, t_parent, hc_name, inst, fmri);
1373 pi_node_bind(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, const char *hc_name, topo_instance_t inst, nvlist_t *fmri) argument
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c1798 wait_until_disabled(scf_handle_t *handle, char *fmri) argument
1808 if (((sp = scf_simple_prop_get(handle, fmri, "stop",
1824 if ((state = smf_get_state(fmri)) != NULL) {
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c141 * the asru fmri and state. Here print_asru() is used to print the output.
319 nvlist_t *auth, *fmri; local
322 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &fmri) == 0 &&
323 nvlist_lookup_nvlist(fmri, FM_FMRI_AUTHORITY, &auth) == 0) {
1776 * argument could be a uuid, an fmri (asru, fru or resource)
1802 * argument could be an fmri (asru, fru or resource) or a label.
1824 * argument could be an fmri (asru, fru or resource) or a label.
1846 * argument could be a uuid, an fmri (asru, fru or resource)
1847 * or a label. Or it could be a uuid and an fmri or label.
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c197 "fmri", /* SC_FMRI */
1255 xmlChar *fmri, *delete; local
1290 fmri = xmlGetProp(sf, (xmlChar *)value_attr);
1291 pg->sc_pgroup_fmri = (char *)fmri;
1363 p = internal_property_create((char *)name, SCF_TYPE_FMRI, 1, fmri);
H A Dsvccfg_tmpl.c1217 tv_errors_create(const char *fmri) argument
1223 ste->tve_errors = _scf_create_errors(fmri, 1);
1922 "instance fmri required.\n"), restarter);
1978 "instance fmri required.\n"), restarter);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c1087 property_error(const char *fmri, const char *prop) argument
1091 fmri, prop);
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c1438 * It creates the necessary SCF handles and binds the given `fmri' to an
1443 ipmgmt_create_scf_resources(const char *fmri, scf_resources_t *res) argument
1461 if (scf_handle_decode_fmri(res->sr_handle, fmri, NULL, NULL,
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1315 smb_enable_dependencies(const char *fmri) argument
1370 (void) snprintf(dependency, maxlen, "%s", fmri + sizeof ("svc:"));
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c999 blacklist(int cmd, const char *scheme, nvlist_t *fmri, const char *class) argument
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c175 * 'svcadm mark maintenance <fmri>'. *Not* used if the libscf
197 * from 'svcadm clear <fmri>'. *Not* used if the libscf interface
277 * 'svcadm disable [-t] <fmri>' or smf_disable_instance(3SCF) call.
287 * 'svcadm enable [-t] <fmri>' or smf_enable_instance(3SCF) call.
368 * 'svcadm restart <fmri> or equivlaent libscf API call.
390 * 'svcadm mark maintenance <fmri>' or equivalent libscf API call.
391 * A command line 'svcadm mark maintenance <fmri>' does not produce
539 _restarter_get_channel_name(const char *fmri, int type) argument
567 * An fmri name greater than MAX_CHNAME_LEN is going
571 if ((name = strdup(strchr(fmri, '/')
[all...]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c1608 * Format of fmri token:
1609 * fmri adr_string
1620 if (scf_cmp_pattern(fmri_name, &fmri) == 1) {

Completed in 138 milliseconds

12345678