/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.h | 338 boolean_t valid_props(inetd_prop_t *, const char *fmri, basic_cfg_t **,
|
H A D | inetsvc.c | 563 * Piggy-backed onto this validation if 'fmri' is non-NULL is the construction 565 * If 'fmri' is set then the latter three parameters need to be set to 570 valid_props(inetd_prop_t *prop, const char *fmri, basic_cfg_t **cfgpp, argument 587 if (fmri != NULL) 601 ((fmri != NULL) && 800 if (fmri == NULL)
|
/osnet-11/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_subscribe.c | 611 char *fmri, *fmricp; local 630 if (topo_fmri_nvl2str(g_topohdl, nvl, &fmri, &topoerr) == 0) { 631 fmricp = fmev_shdl_strdup(hdl, fmri); 632 topo_hdl_strfree(g_topohdl, fmri);
|
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 516 char *code, *uuid, *fmri, *from_state, *to_state, *reason; local 578 if ((fmri = nd_get_event_fmri(nhdl, ev)) == NULL) { 579 nd_error(nhdl, "Failed to get fmri from event payload"); 590 free(fmri); 593 evi->ei_fmri = fmri;
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 283 * au_to_frmi takes a char * that is the fmri. 290 char *fmri; local 294 fmri = ((union convert *)p_data)->tcharstar; 296 if (fmri == NULL) { 298 fmri = empty; 303 DPRINTF((" fmri=%s\n", fmri)); 304 (void) au_write(event->ae_event_handle, au_to_fmri(fmri));
|
H A D | au_to.c | 1491 * pointer to a fmri token. 1494 au_to_fmri(char *fmri) argument 1501 if (fmri == NULL) 1504 bytes = strlen(fmri) + 1; 1511 adr_char(&adr, fmri, bytes);
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_upgrade.c | 1029 char *state, *fmri; local 1033 fmri = malloc(fmri_len + 1); 1034 if (fmri == NULL) 1036 ret = scf_instance_to_fmri(instance, fmri, fmri_len + 1); 1038 free(fmri); 1042 state = smf_get_state(fmri); 1043 free(fmri);
|
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
H A D | ses.c | 983 nvlist_t *fmri; local 1010 if (topo_node_resource(frutn, &fmri, &err) != 0) { 1017 if (topo_node_resource(tn, &fmri, &err) != 0) { 1025 if (topo_node_fru_set(tn, fmri, 0, &err) != 0) { 1029 nvlist_free(fmri); 1033 nvlist_free(fmri); 1483 nvlist_t *auth = NULL, *fmri = NULL; local 1603 if ((fmri = topo_mod_hcfmri(mod, pnode, FM_HC_SCHEME_VERSION, 1612 instance, fmri)) == NULL) { 1763 nvlist_free(fmri); 1783 nvlist_t *auth = NULL, *fmri = NULL; local 2555 nvlist_t *auth = NULL, *fmri = NULL; local 3298 nvlist_t *fmri = NULL, *auth = NULL; local [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 1103 * The fmri argument in scf_handle_decode_fmri() is not a valid FMRI. 1932 scf_tmpl_get_by_pg_name(const char *fmri, const char *snapshot, argument 1959 ret = scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, NULL, 1966 ret = scf_handle_decode_fmri(h, fmri, NULL, svc, 1996 /* If we have a service fmri, snapshot is ignored. */ 2269 * Iterates through the property group templates for the fmri given. 2271 * template in fmri. On subsequent calls, sets t to the next property group 2285 * The handle argument is NULL, fmri is invalid, or snapshot is invalid. 2293 scf_tmpl_iter_pgs(scf_pg_tmpl_t *t, const char *fmri, const char *snapshot, argument 2322 ret = scf_handle_decode_fmri(h, fmri, NUL 5001 _scf_create_errors(const char *fmri, int destroy_strings) argument 5998 char *fmri; local 6500 _scf_tmpl_check_pg_redef(scf_handle_t *h, const char *fmri, const char *snapname, scf_tmpl_errors_t *errs) argument 6640 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot, scf_tmpl_errors_t **errs, int flags) argument 6884 scf_tmpl_error_source_fmri(const scf_tmpl_error_t *err, char **fmri) argument 7149 smf_pg_print_conflicts(scf_propertygroup_t *pg, const char *fmri) argument [all...] |
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 919 nwam_get_smf_string_property(const char *fmri, const char *pgname, argument 943 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, 975 nwam_set_smf_string_property(const char *fmri, const char *pgname, argument 1000 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, 1018 (void) smf_refresh_instance(fmri);
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_fault.c | 111 asr_fmri_name(char *fmri) argument 113 char *name = fmri; 116 for (cp = fmri; *cp != '\0'; cp++) 131 * Truncates the fmri name string so it just contains the fru type. 271 "expected fmri to have scheme"); 380 err |= asr_buf_append_xml_ai(bp, pad, "fmri", fmristr);
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_subr.c | 369 * the serial num from the unum fmri that got passed into this function as the 392 * node. If there is a serial id in the resource fmri, then use that. 456 fmri_dprint(topo_mod_t *mod, const char *op, uint32_t rc, nvlist_t *fmri) argument 477 if (fmri != NULL && topo_mod_nvl2str(mod, fmri, &fmristr) == 0) {
|
/osnet-11/usr/src/lib/brand/solaris10/zone/ |
H A D | p2v.ksh | 348 while read fmri mfst 351 vlog "$v_delsvc" "$fmri" 352 echo "/usr/sbin/svccfg delete -f $fmri"
|
/osnet-11/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 1309 nvlist_t *fmri, *auth; local 1351 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &fmri) != 0) 1352 fmri = NULL; 1354 if (nvlist_lookup_nvlist(fmri, FM_FMRI_AUTHORITY, &auth) != 0) 1357 if (nvlist_lookup_string(fmri, FM_FMRI_FMD_NAME, &src_name) != 0) 1360 if (nvlist_lookup_string(fmri, FM_FMRI_FMD_VERSION, &src_vers) != 0)
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 461 is_service(const char *fmri, const char *state) argument 466 if ((st = smf_get_state(fmri)) != NULL) {
|
/osnet-11/usr/src/lib/libshare_plugins/smb/ |
H A D | libshare_smb.c | 1074 sa_smb_isdisabled(char *fmri) argument 1079 if ((str = smf_get_state(fmri)) != NULL) { 1095 sa_smb_isautoenable(char *fmri) argument 1101 prop = scf_simple_prop_get(NULL, fmri,
|
/osnet-11/usr/src/lib/brand/solaris/zone/ |
H A D | common.ksh | 652 # Emits to stdout the fmri for the supplied package, 1000 for fmri in $ngz_incorporations; do 1001 # strip version and publisher from the fmri 1002 pub_pkg=${fmri%@*}
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_prop.c | 51 * uint64, fmri, string or arrays of each type. Properties may also be 708 int flag, const nvlist_t *fmri, int *err) 711 (void *)fmri, 1, err)); 756 int flag, const nvlist_t **fmri, uint_t nelems, int *err) 759 (void *)fmri, nelems, err)); 707 topo_prop_set_fmri(tnode_t *node, const char *pgname, const char *pname, int flag, const nvlist_t *fmri, int *err) argument 755 topo_prop_set_fmri_array(tnode_t *node, const char *pgname, const char *pname, int flag, const nvlist_t **fmri, uint_t nelems, int *err) argument
|
H A D | topo_node.c | 641 topo_instance_t inst, nvlist_t *fmri) 688 if (fmri == NULL) 696 TOPO_PROP_IMMUTABLE, fmri, &err) < 0) 640 topo_node_bind(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t inst, nvlist_t *fmri) argument
|
H A D | topo_xml.c | 207 nvlist_t *fmri; local 240 if (xmlattr_to_fmri(mp, xn, Value, &fmri) < 0) { 245 rv = nvlist_add_nvlist(nvl, name, fmri); 246 nvlist_free(fmri); 590 nvlist_t *fmri, **fmriarr; local 615 e = nvlist_lookup_nvlist(pfmri, INV_PVAL, &fmri); 666 e = topo_prop_set_fmri(ptn, gnm, pnm, flag, fmri, &err);
|
/osnet-11/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 3370 ipsecutil_exit(exit_type_t type, char *fmri, FILE *fp, const char *fmt, ...) argument 3383 if (fmri == NULL) { 3418 "Permission error with %s."), fmri); 3423 "Bad configuration of service %s."), fmri); 3428 "Service %s needs maintenance."), fmri); 3436 "Service %s fatal error."), fmri);
|
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool.c | 711 char *fmri; local 723 fmri = getenv("SMF_FMRI"); 724 if (fmri == NULL) { 753 if (strcmp(fmri, SMF_SVC_INSTANCE) != 0) {
|
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_conspiracy.c | 1130 shadcons_init(const char *fmri) argument 1152 if ((scp->sc_fmri = shadow_strdup(fmri)) == NULL) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 1798 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) {
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_subr.c | 1482 nvlist_t *fmri) 1495 t_node = topo_node_bind(mod, t_parent, hc_name, inst, fmri); 1480 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
|