/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
H A D | zfs_de.c | 396 nvlist_t *fmri, *fru; local 437 * explicitly lookup the FRU because the fmri reported from the 441 if (topo_fmri_str2nvl(thp, zcp->zc_fru, &fmri, &err) == 0) { 452 nvlist_free(fmri); 461 * back to the fmri specified in the vdev. 463 if (topo_fmri_fru(thp, fmri, &fru, &err) != 0) 464 fru = fmd_nvl_dup(hdl, fmri, FMD_SLEEP); 465 nvlist_free(fmri);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 872 nwam_get_smf_string_property(const char *fmri, const char *pgname, argument 896 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, 928 nwam_set_smf_string_property(const char *fmri, const char *pgname, argument 953 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, inst, 971 (void) smf_refresh_instance(fmri);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_memerr.c | 880 nvlist_t *fmri; local 895 fmri = cmd_find_dimm_by_sn(hdl, FM_FMRI_SCHEME_MEM, 901 if (cmd_dimm_lookup(hdl, fmri) == NULL) 902 (void) cmd_dimm_create(hdl, fmri); 903 nvlist_free(fmri);
|
H A D | cmd_cpu.c | 1449 /* get mb fmri from libtopo */ 2411 * This function builds the fmri of the 2417 nvlist_t *fmri; local 2419 if ((errno = nvlist_alloc(&fmri, NV_UNIQUE_NAME, 0)) != 0) 2422 if (nvlist_add_uint8(fmri, FM_VERSION, 2423 FM_CPU_SCHEME_VERSION) != 0 || nvlist_add_string(fmri, 2425 nvlist_add_uint32(fmri, FM_FMRI_CPU_ID, cpuid) != 0 || 2426 nvlist_add_uint8(fmri, FM_FMRI_CPU_MASK, cpumask) != 0) { 2427 nvlist_free(fmri); 2431 return (fmri); [all...] |
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 280 char *fmri; local 291 fmri = alloca(length * sizeof (char)); 340 bytes = scf_value_get_astring(val, fmri, length); 344 if (strlcat(fmri, FMRI_CONTRACT_PROP, length) >= 348 if (scf_handle_decode_fmri(h, fmri, NULL, NULL,
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 447 topo_instance_t inst, nvlist_t *fmri) 494 if (fmri == NULL) 502 TOPO_PROP_IMMUTABLE, fmri, &err) < 0) 446 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_prop.c | 51 * uint64, fmri, string or arrays of each type. Properties may also be 706 int flag, const nvlist_t *fmri, int *err) 709 (void *)fmri, 1, err)); 754 int flag, const nvlist_t **fmri, uint_t nelems, int *err) 757 (void *)fmri, nelems, err)); 705 topo_prop_set_fmri(tnode_t *node, const char *pgname, const char *pname, int flag, const nvlist_t *fmri, int *err) argument 753 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
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 360 * the serial num from the unum fmri that got passed into this function as the 397 * node. If there is a serial id in the resource fmri, then use that. 489 fmri_dprint(topo_mod_t *mod, const char *op, uint32_t rc, nvlist_t *fmri) argument 510 if (fmri != NULL && topo_mod_nvl2str(mod, fmri, &fmristr) == 0) {
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | p2v.ksh | 314 while read fmri mfst 317 vlog "$v_delsvc" "$fmri" 318 echo "/usr/sbin/svccfg delete -f $fmri"
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 1271 nvlist_t *fmri, *auth; local 1313 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &fmri) != 0) 1314 fmri = NULL; 1316 if (nvlist_lookup_nvlist(fmri, FM_FMRI_AUTHORITY, &auth) != 0) 1319 if (nvlist_lookup_string(fmri, FM_FMRI_FMD_NAME, &src_name) != 0) 1322 if (nvlist_lookup_string(fmri, FM_FMRI_FMD_VERSION, &src_vers) != 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 187 <TSTATE>fmri { return ENM_FMRI; }
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 55 page_isretired(nvlist_t *fmri, int *errp) argument 62 rc = fmd_agent_page_isretired(hdl, fmri);
|
/illumos-gate/usr/src/pkg/ |
H A D | Makefile | 209 depend fmri=consolidation/osnet/osnet-incorporation type=require 558 --fmri-in-manifest --no-index --no-catalog $(<) \ 603 # does not contain an fmri. 606 # because we expect the fmri to be at or near the first line of each input 610 # We keep track of a failure to locate an fmri, so we can fail the 638 } while ((e == 1) && (f !~ /name=pkg.fmri/)); \ 642 print "depend fmri=" a[l], \ 645 print "no fmri in " ARGV[i] >> "/dev/stderr"; \
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 1993 out(O_DIE|O_SYS, "alloc of fmri nvl failed"); 2064 out(O_DIE|O_SYS, "alloc of fmri nvl failed"); 2413 nvlist_t *fmri; local 2415 fmri = node2fmri(snp->u.event.epname); 2416 if (platform_path_exists(fmri)) { 2417 nvlist_free(fmri); 2420 nvlist_free(fmri); 2553 nvlist_t *fmri; local 2555 fmri = ipath2fmri((struct ipath *)(entp->ipath)); 2556 if (!platform_path_exists(fmri)) { 2663 nvlist_t *fmri; local 2728 nvlist_t *fmri; local [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_switch.h | 341 const char *fmri,
|
H A D | nscd_frontend.c | 270 char *fmri; local 290 if ((fmri = getenv("SMF_FMRI")) == NULL) { 296 if (smf_restart_instance(fmri) == 0)
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_memerr_arch.c | 149 nvlist_t *fmri; local 152 if ((fmri = cmd_dimm_fmri_derive(hdl, afar, synd, afsr)) == NULL) 156 type, disp, fmri); 158 nvlist_free(fmri);
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | manifest-import | 372 while read fmri mfst pkgname; do 374 /usr/sbin/svccfg delete -f $fmri >/dev/null 2>&1
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | plat_ecc_unum.c | 955 plat_blacklist(int cmd, const char *scheme, nvlist_t *fmri, const char *class) argument 961 if (fmri == NULL) 972 if (nvlist_lookup_string(fmri, FM_FMRI_MEM_UNUM, &unum)) 976 if (nvlist_lookup_uint32(fmri, FM_FMRI_CPU_ID, &aflt.flt_inst))
|
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 386 is_online(const char *fmri) argument 388 char *state = smf_get_state(fmri);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 2072 fmd_api_error(mp, EFMD_FMRI_OP, "invalid fmri for " 2111 fmd_api_error(mp, EFMD_FMRI_OP, "invalid fmri for " 2170 fmd_api_error(mp, EFMD_FMRI_OP, "invalid fmri for " 2257 fmd_api_error(mp, EFMD_FMRI_OP, "invalid fmri for " 2265 fmd_nvl_fmri_translate(fmd_hdl_t *hdl, nvlist_t *fmri, nvlist_t *auth) argument 2270 if (fmri == NULL || auth == NULL) { 2272 "invalid nvlist(s): %p, %p\n", (void *)fmri, (void *)auth); 2275 xfmri = fmd_fmri_translate(fmri, auth); 2378 fmd_repair_fru(fmd_hdl_t *hdl, const char *fmri) argument 2386 fmd_asru_hash_apply_by_fru(fmd.d_asrus, (char *)fmri, 2392 fmd_repair_asru(fmd_hdl_t *hdl, const char *fmri) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 586 blacklist(int cmd, const char *scheme, nvlist_t *fmri, const char *class) argument 589 return (plat_blacklist(cmd, scheme, fmri, class));
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 1528 * pointer to a fmri token. 1531 au_to_fmri(char *fmri) argument 1538 if (fmri == NULL) 1541 bytes = strlen(fmri) + 1; 1548 adr_char(&adr, fmri, bytes);
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 565 * Piggy-backed onto this validation if 'fmri' is non-NULL is the construction 567 * If 'fmri' is set then the latter three parameters need to be set to 572 valid_props(inetd_prop_t *prop, const char *fmri, basic_cfg_t **cfgpp, argument 589 if (fmri != NULL) 603 ((fmri != NULL) && 802 if (fmri == NULL)
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 512 nvlist_t *nvl, *fmri; local 518 fmri = cmi_hdl_smb_bboard(hdl); 519 if (fmri == NULL) 523 NULL, NULL, fmri, 3,
|