Home
last modified time | relevance | path

Searched refs:fmri (Results 1 – 25 of 765) sorted by relevance

12345678910>>...31

/titanic_52/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_fmri.c34 gmem_fmri_init(fmd_hdl_t *hdl, gmem_fmri_t *fmri, nvlist_t *nvl, in gmem_fmri_init() argument
40 gmem_vbufname(fmri->fmri_packnm, sizeof (fmri->fmri_packnm), fmt, ap); in gmem_fmri_init()
43 if ((errno = nvlist_dup(nvl, &fmri->fmri_nvl, 0)) != 0 || in gmem_fmri_init()
44 (errno = nvlist_size(nvl, &fmri->fmri_packsz, in gmem_fmri_init()
46 fmd_hdl_abort(hdl, "failed to copy fmri for fmri create"); in gmem_fmri_init()
48 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); in gmem_fmri_init()
50 if ((errno = nvlist_pack(nvl, &fmri in gmem_fmri_init()
58 gmem_fmri_fini(fmd_hdl_t * hdl,gmem_fmri_t * fmri,int destroy) gmem_fmri_fini() argument
68 gmem_fmri_restore(fmd_hdl_t * hdl,gmem_fmri_t * fmri) gmem_fmri_restore() argument
89 gmem_fmri_write(fmd_hdl_t * hdl,gmem_fmri_t * fmri) gmem_fmri_write() argument
[all...]
/titanic_52/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_fmri.c36 cmd_fmri_init(fmd_hdl_t *hdl, cmd_fmri_t *fmri, nvlist_t *nvl, in cmd_fmri_init() argument
42 cmd_vbufname(fmri->fmri_packnm, sizeof (fmri->fmri_packnm), fmt, ap); in cmd_fmri_init()
45 if ((errno = nvlist_dup(nvl, &fmri->fmri_nvl, 0)) != 0 || in cmd_fmri_init()
46 (errno = nvlist_size(nvl, &fmri->fmri_packsz, in cmd_fmri_init()
48 fmd_hdl_abort(hdl, "failed to copy fmri for fmri create"); in cmd_fmri_init()
50 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); in cmd_fmri_init()
52 if ((errno = nvlist_pack(nvl, &fmri in cmd_fmri_init()
60 cmd_fmri_fini(fmd_hdl_t * hdl,cmd_fmri_t * fmri,int destroy) cmd_fmri_fini() argument
70 cmd_fmri_restore(fmd_hdl_t * hdl,cmd_fmri_t * fmri) cmd_fmri_restore() argument
91 cmd_fmri_write(fmd_hdl_t * hdl,cmd_fmri_t * fmri) cmd_fmri_write() argument
[all...]
H A Dcmd_mem.c52 cmd_fmri_get_unum(nvlist_t *fmri) in cmd_fmri_get_unum() argument
57 if (nvlist_lookup_pairs(fmri, 0, in cmd_fmri_get_unum()
174 nvlist_t *fmri; in cmd_mem_fmri_create() local
176 if ((errno = nvlist_alloc(&fmri, NV_UNIQUE_NAME, 0)) != 0) in cmd_mem_fmri_create()
179 if ((errno = nvlist_add_uint8(fmri, FM_VERSION, in cmd_mem_fmri_create()
180 FM_MEM_SCHEME_VERSION)) != 0 || (errno = nvlist_add_string(fmri, in cmd_mem_fmri_create()
182 nvlist_add_string(fmri, FM_FMRI_MEM_UNUM, unum)) != 0) { in cmd_mem_fmri_create()
183 nvlist_free(fmri); in cmd_mem_fmri_create()
188 (void) nvlist_add_string_array(fmri, FM_FMRI_MEM_SERIAL_ID, in cmd_mem_fmri_create()
191 return (fmri); in cmd_mem_fmri_create()
198 nvlist_t *fmri; cmd_mem_fmri_derive() local
[all...]
/titanic_52/usr/src/cmd/svc/startd/
H A Ddeathrow.c69 char *fmri; member
100 char *fmri; in deathrow_init() local
135 * <fmri>< ><manifest path>< ><package name><\n> in deathrow_init()
144 fmri = NULL; in deathrow_init()
155 fmri = line; in deathrow_init()
165 if (fmri != NULL && strlen(fmri) > 0 && in deathrow_init()
166 strlen(fmri) < max_scf_fmri_size && in deathrow_init()
171 fmri, manifest, pkgname); in deathrow_init()
172 if (fmri_in_deathrow_internal(fmri) in deathrow_init()
217 deathrow_add(const char * fmri) deathrow_add() argument
233 fmri_in_deathrow_internal(const char * fmri) fmri_in_deathrow_internal() argument
251 is_fmri_in_deathrow(const char * fmri) is_fmri_in_deathrow() argument
[all...]
/titanic_52/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c496 * communicate whether the action is requested from a tty and the fmri of the
502 restarter_setup(const char *fmri, const scf_instance_t *inst) in restarter_setup() argument
515 uu_warn(emsg_permission_denied, fmri); in restarter_setup()
517 uu_warn(emsg_create_pg_perm_denied, fmri, in restarter_setup()
535 uu_warn(emsg_permission_denied, fmri); in restarter_setup()
537 uu_warn(emsg_prop_perm_denied, fmri, in restarter_setup()
547 uu_warn(gettext("%s: Repository read-only.\n"), fmri); in restarter_setup()
550 "(repository read-only).\n"), fmri, in restarter_setup()
562 set_astring_prop(fmri, SCF_PG_RESTARTER_ACTIONS, in restarter_setup()
568 "my_ct_name failed.\n"), fmri, in restarter_setup()
584 set_inst_enabled(const char * fmri,scf_instance_t * inst,boolean_t temp,boolean_t enable) set_inst_enabled() argument
788 get_inst_mult(const char * fmri,scf_instance_t * inst) get_inst_mult() argument
893 get_inst(const char * fmri,scf_instance_t * inst) get_inst() argument
922 dep_get_astring(const char * fmri,const char * pgname,const scf_propertygroup_t * pg,const char * propname,scf_property_t * prop,scf_value_t * v,char * buf,size_t bufsz) dep_get_astring() argument
1024 enable_fmri_rec(char * fmri,boolean_t temp) enable_fmri_rec() argument
1327 set_inst_action(const char * fmri,const scf_instance_t * inst,const char * action) set_inst_action() argument
1487 inst_get_state(scf_instance_t * inst,char * state,const char * fmri,scf_propertygroup_t ** pgp) inst_get_state() argument
1561 set_astring_prop(const char * fmri,const char * pgname,const char * pgtype,uint32_t pgflags,const char * propname,const char * str) set_astring_prop() argument
1978 set_milestone(const char * fmri,boolean_t temporary) set_milestone() argument
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip.c148 nvlist_t *fmri; in create_node() local
151 if (mkrsrc(mod, pnode, name, inst, auth, &fmri) != 0) { in create_node()
168 perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, in create_node()
170 perr += nvlist_add_string(fmri, FM_FMRI_HC_PART, in create_node()
172 perr += nvlist_add_string(fmri, FM_FMRI_HC_REVISION, in create_node()
184 cnode = topo_node_bind(mod, pnode, name, inst, fmri); in create_node()
186 nvlist_free(fmri); in create_node()
202 nvlist_t *fmri; in create_strand() local
237 TOPO_PROP_RESOURCE, &fmri, &err) != 0) in create_strand()
240 if (nvlist_lookup_string(fmri, FM_FMRI_HC_SERIAL_I in create_strand()
329 nvlist_t *fmri; create_core() local
460 nvlist_t *fmri = NULL; create_chip() local
[all...]
H A Dchip_amd.c163 nvlist_t *fmri; in amd_generic_mc_create() local
167 &fmri) != 0) { in amd_generic_mc_create()
174 chan, fmri)) == NULL) { in amd_generic_mc_create()
175 nvlist_free(fmri); in amd_generic_mc_create()
181 nvlist_free(fmri); in amd_generic_mc_create()
208 &fmri) != 0) { in amd_generic_mc_create()
215 cs, fmri)) == NULL) { in amd_generic_mc_create()
216 nvlist_free(fmri); in amd_generic_mc_create()
245 (void) topo_node_asru_set(csnode, fmri, in amd_generic_mc_create()
247 nvlist_free(fmri); in amd_generic_mc_create()
369 nvlist_t *fmri, *pfmri = NULL; amd_rank_create() local
467 nvlist_t *fmri, **dimmarr = NULL; amd_dimm_create() local
587 nvlist_t *fmri, **csarr = NULL; amd_cs_create() local
641 nvlist_t *fmri; amd_dramchan_create() local
723 nvlist_t *rfmri, *fmri; amd_mc_create() local
[all...]
H A Dchip_intel.c105 nvlist_t *fmri; in mc_add_ranks() local
120 fmri = topo_mod_hcfmri(mod, dnode, FM_HC_SCHEME_VERSION, in mc_add_ranks()
122 if (fmri == NULL) { in mc_add_ranks()
128 fmri)) == NULL) { in mc_add_ranks()
129 nvlist_free(fmri); in mc_add_ranks()
145 (void) topo_node_asru_set(rnode, fmri, TOPO_ASRU_COMPUTE, &err); in mc_add_ranks()
150 nvlist_free(fmri); in mc_add_ranks()
166 nvlist_t *fmri; in mc_add_dimms() local
209 fmri = NULL; in mc_add_dimms()
228 fmri in mc_add_dimms()
292 nvlist_t *fmri; mc_add_channel() local
345 nvlist_t *fmri; mc_nb_create() local
[all...]
/titanic_52/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c46 cpu_blacklist_cmd(fmd_hdl_t *hdl, nvlist_t *fmri, boolean_t repair) in cpu_blacklist_cmd() argument
49 return (ldom_fmri_unblacklist(cma_lhp, fmri)); in cpu_blacklist_cmd()
51 return (ldom_fmri_blacklist(cma_lhp, fmri)); in cpu_blacklist_cmd()
58 nvlist_t *fmri; in cma_cpu_blacklist() local
67 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &fmri) != 0) in cma_cpu_blacklist()
68 fmri = asru; in cma_cpu_blacklist()
70 rc = cpu_blacklist_cmd(hdl, fmri, repair); in cma_cpu_blacklist()
83 cpu_cmd(fmd_hdl_t *hdl, nvlist_t *fmri, int cmd) in cpu_cmd() argument
89 * We're using topo retire if the fmri is in "hc" scheme. in cpu_cmd()
91 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEM in cpu_cmd()
132 cma_cpu_start_retry(fmd_hdl_t * hdl,nvlist_t * fmri,const char * uuid,boolean_t repair) cma_cpu_start_retry() argument
[all...]
/titanic_52/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_hc_opl.c41 * Set-up and validate the members of an hc fmri according to;
57 cmd_fmri_hc_set_common(nvlist_t *fmri, int version, const nvlist_t *auth) in cmd_fmri_hc_set_common() argument
63 if (nvlist_add_uint8(fmri, FM_VERSION, version) != 0 || in cmd_fmri_hc_set_common()
64 nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC) != 0) { in cmd_fmri_hc_set_common()
68 if (auth != NULL && nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, in cmd_fmri_hc_set_common()
77 cmd_fmri_hc_set(fmd_hdl_t *hdl, nvlist_t *fmri, int version, in cmd_fmri_hc_set() argument
85 if (!cmd_fmri_hc_set_common(fmri, version, auth)) in cmd_fmri_hc_set()
108 err |= nvlist_add_string(fmri, FM_FMRI_HC_ROOT, ""); in cmd_fmri_hc_set()
109 err |= nvlist_add_uint32(fmri, FM_FMRI_HC_LIST_SZ, npairs); in cmd_fmri_hc_set()
110 err |= nvlist_add_nvlist_array(fmri, FM_FMRI_HC_LIS in cmd_fmri_hc_set()
[all...]
H A Dcmd_opl.c132 * This function builds the resource fmri page based on
139 nvlist_t *fmri; in opl_cpursrc_create() local
143 if ((errno = nvlist_alloc(&fmri, NV_UNIQUE_NAME, 0)) != 0) in opl_cpursrc_create()
147 nvlist_free(fmri); in opl_cpursrc_create()
175 nvlist_free(fmri); in opl_cpursrc_create()
179 if (cmd_fmri_hc_set(hdl, fmri, FM_HC_SCHEME_VERSION, NULL, NULL, in opl_cpursrc_create()
185 nvlist_free(fmri); in opl_cpursrc_create()
190 return (fmri); in opl_cpursrc_create()
196 nvlist_t *fmri; in opl_mem_fru_create() local
207 if ((fmri in opl_mem_fru_create()
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c89 nvlist_t *fmri; in xfp_tnode_create() local
93 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name, i, in xfp_tnode_create()
97 if (fmri == NULL) { in xfp_tnode_create()
104 ntn = topo_node_bind(mod, parent, name, i, fmri); in xfp_tnode_create()
105 nvlist_free(fmri); in xfp_tnode_create()
131 nvlist_t *fmri; in xfp_fru_set() local
134 if (topo_node_resource(tn, &fmri, &err) < 0 || in xfp_fru_set()
135 fmri == NULL) { in xfp_fru_set()
140 e = topo_node_fru_set(tn, fmri, 0, &err); in xfp_fru_set()
141 nvlist_free(fmri); in xfp_fru_set()
182 nvlist_t *fmri = NULL; xfp_declare() local
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c65 nvlist_t *fmri; in pci_scsi_device_create() local
69 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, SCSI_DEVICE, in pci_scsi_device_create()
71 if (fmri == NULL) in pci_scsi_device_create()
73 child = topo_node_bind(mod, parent, SCSI_DEVICE, instance, fmri); in pci_scsi_device_create()
74 nvlist_free(fmri); in pci_scsi_device_create()
125 nvlist_t *fmri; in pci_smp_device_create() local
128 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, SMP_DEVICE, in pci_smp_device_create()
130 if (fmri == NULL) in pci_smp_device_create()
132 child = topo_node_bind(mod, parent, SMP_DEVICE, instance, fmri); in pci_smp_device_create()
133 nvlist_free(fmri); in pci_smp_device_create()
159 nvlist_t *fmri; pci_iport_device_create() local
255 nvlist_t *fmri, *auth; pci_receptacle_instantiate() local
[all...]
/titanic_52/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c166 nvlist_t *fmri; in cpu_create() local
181 if ((fmri = fmri_create(mod, cpu_id, 0, s)) == NULL) in cpu_create()
183 (void) topo_node_bind(mod, rnode, name, cpu_id, fmri); in cpu_create()
184 nvlist_free(fmri); in cpu_create()
356 if (nvlist_add_string(*out, "fmri-string", name) != 0) { in cpu_nvl2str()
379 nvlist_t *fmri; in cpu_str2nvl() local
384 if (nvlist_lookup_string(in, "fmri-string", &str) != 0) in cpu_str2nvl()
452 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in cpu_str2nvl()
455 err = nvlist_add_uint8(fmri, FM_VERSION, CPU_SCHEME_VERSION1); in cpu_str2nvl()
456 err |= nvlist_add_string(fmri, FM_FMRI_SCHEM in cpu_str2nvl()
486 nvlist_t *fmri; fmri_create() local
[all...]
H A Dtopo_fmri.c100 topo_fmri_nvl2str(topo_hdl_t *thp, nvlist_t *fmri, char **fmristr, int *err) in topo_fmri_nvl2str() argument
106 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in topo_fmri_nvl2str()
115 TOPO_METH_NVL2STR_VERSION, fmri, &out, err) != 0) in topo_fmri_nvl2str()
118 if (out == NULL || nvlist_lookup_string(out, "fmri-string", &str) != 0) in topo_fmri_nvl2str()
132 topo_fmri_str2nvl(topo_hdl_t *thp, const char *fmristr, nvlist_t **fmri, in topo_fmri_str2nvl() argument
154 if (nvlist_add_string(in, "fmri-string", fmristr) != 0) in topo_fmri_str2nvl()
165 topo_hdl_nvdup(thp, out, fmri) != 0) in topo_fmri_str2nvl()
175 topo_fmri_present(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_present() argument
182 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in topo_fmri_present()
191 TOPO_METH_PRESENT_VERSION, fmri, in topo_fmri_present()
203 topo_fmri_replaced(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_replaced() argument
231 topo_fmri_contains(topo_hdl_t * thp,nvlist_t * fmri,nvlist_t * subfmri,int * err) topo_fmri_contains() argument
267 topo_fmri_unusable(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_unusable() argument
293 topo_fmri_retire(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_retire() argument
321 topo_fmri_unretire(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_unretire() argument
351 topo_fmri_service_state(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_service_state() argument
379 topo_fmri_expand(topo_hdl_t * thp,nvlist_t * fmri,int * err) topo_fmri_expand() argument
750 topo_fmri_strhash_one(const char * fmri,size_t len) topo_fmri_strhash_one() argument
848 topo_fmri_strhash_internal(topo_hdl_t * thp,const char * fmri,boolean_t noauth) topo_fmri_strhash_internal() argument
891 topo_fmri_strhash(topo_hdl_t * thp,const char * fmri) topo_fmri_strhash() argument
898 topo_fmri_strhash_noauth(topo_hdl_t * thp,const char * fmri) topo_fmri_strhash_noauth() argument
[all...]
H A Dtopo_mod.c295 nvlist_t *pfmri = NULL, *fmri = NULL, *args = NULL; in topo_mod_hcfmri() local
369 if ((fmri = topo_fmri_create(mod->tm_hdl, FM_FMRI_SCHEME_HC, name, inst, in topo_mod_hcfmri()
377 (void) topo_mod_nvdup(mod, fmri, &nfp); in topo_mod_hcfmri()
378 nvlist_free(fmri); in topo_mod_hcfmri()
388 nvlist_t *fmri, *args; in topo_mod_devfmri() local
404 if ((fmri = topo_fmri_create(mod->tm_hdl, FM_FMRI_SCHEME_DEV, in topo_mod_devfmri()
412 (void) topo_mod_nvdup(mod, fmri, &nfp); in topo_mod_devfmri()
413 nvlist_free(fmri); in topo_mod_devfmri()
423 nvlist_t *fmri = NULL, *args = NULL; in topo_mod_cpufmri() local
443 if ((fmri in topo_mod_cpufmri()
462 nvlist_t *args = NULL, *fmri = NULL; topo_mod_memfmri() local
502 nvlist_t *fmri = NULL, *args = NULL; topo_mod_pkgfmri() local
534 nvlist_t *fmri = NULL, *args = NULL; topo_mod_modfmri() local
573 nvlist_t *fmri, *args; topo_mod_swfmri() local
627 topo_mod_str2nvl(topo_mod_t * mod,const char * fmristr,nvlist_t ** fmri) topo_mod_str2nvl() argument
646 topo_mod_nvl2str(topo_mod_t * mod,nvlist_t * fmri,char ** fmristr) topo_mod_nvl2str() argument
[all...]
/titanic_52/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_smf.c45 * fmri STRING svc:/... (svc scheme shorthand version)
96 nvlist_t *ret, *fmri; in shortfmri_to_fmri() local
106 if (topo_fmri_str2nvl(thp, fmristr, &fmri, &err) != 0) { in shortfmri_to_fmri()
116 if ((ret = fmd_nvl_dup(hdl, fmri, FMD_SLEEP)) == NULL) { in shortfmri_to_fmri()
117 fmd_hdl_error(hdl, "failed to dup fmri\n"); in shortfmri_to_fmri()
118 nvlist_free(fmri); in shortfmri_to_fmri()
123 nvlist_free(fmri); in shortfmri_to_fmri()
140 nvlist_t *fmri; in fmevt_pp_smf() local
148 nvlist_lookup_string(rawattr, "fmri", &svcname) != 0 || in fmevt_pp_smf()
167 if ((fmri in fmevt_pp_smf()
[all...]
/titanic_52/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c269 log_invalid_cfg(const char *fmri) in log_invalid_cfg() argument
273 fmri); in log_invalid_cfg()
289 * Given the instance fmri, obtain the corresonding scf_instance.
294 fmri_to_instance(char *fmri, scf_instance_t **scf_instp) in fmri_to_instance() argument
301 error_msg(gettext("Failed to get instance for %s"), fmri); in fmri_to_instance()
312 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, scf_inst, in fmri_to_instance()
325 error_msg(gettext("Failed to get instance for %s"), fmri); in fmri_to_instance()
356 if (((sret = store_rep_vals(inst->cur_istate_rep, inst->fmri, in update_instance_states()
358 ((sret = store_rep_vals(inst->next_istate_rep, inst->fmri, in update_instance_states()
361 "repository: %s"), inst->fmri, scf_strerro in update_instance_states()
713 const char *fmri = inst->fmri; create_bound_socket() local
1326 create_instance(const char * fmri) create_instance() argument
2047 char *fmri; process_restarter_event() local
3849 char *fmri; run_through_smf() local
[all...]
H A Dconfig.c359 create_method_infos(const char *fmri, inetd_prop_t **mprops, in create_method_infos() argument
379 methods[i].name, fmri); in create_method_infos()
460 read_inst_props(const char *fmri, inetd_prop_t **bprops, in read_inst_props() argument
466 if ((*bprops = read_instance_props(rep_handle, (char *)fmri, &nprops, in read_inst_props()
472 read_method_props(fmri, (instance_method_t)i, err)) == in read_inst_props()
494 valid_inst_props(const char *fmri, inetd_prop_t *bprops, inetd_prop_t **mprops, in valid_inst_props() argument
501 valid = valid_props(bprops, fmri, cfg, proto_info_pool, conn_ind_pool); in valid_inst_props()
520 bprops[i].ip_name, fmri); in valid_inst_props()
539 START_METHOD_NAME, fmri); in valid_inst_props()
545 methods[(instance_method_t)i].name, fmri); in valid_inst_props()
575 read_instance_cfg(const char * fmri) read_instance_cfg() argument
700 read_enable_prop(const char * fmri,boolean_t * enabled,const char * pg) read_enable_prop() argument
727 read_enable_merged(const char * fmri,boolean_t * enabled) read_enable_merged() argument
[all...]
H A Drepval.c76 * Pathname storage for paths generated from the fmri.
332 * of the instance with fmri 'inst_fmri', within the instance's instance
411 * with fmri 'fmri', from within the instance's instance state property
422 _retrieve_rep_vals(uu_list_t *list, const char *fmri, const char *prop_name) in _retrieve_rep_vals() argument
427 if ((sp = scf_simple_prop_get(rep_handle, fmri, PG_NAME_INSTANCE_STATE, in _retrieve_rep_vals()
451 * a file that is generated based on the passed in fmri and name.
453 * ENAMETOOLONG if unable to generate filename from fmri (including
458 repvals_to_file(const char *fmri, const char *name, uu_list_t *vals) in repvals_to_file() argument
465 if (gen_filenms_from_fmri(fmri, nam in repvals_to_file()
531 store_retrieve_rep_vals(uu_list_t * vals,const char * fmri,const char * prop,boolean_t store) store_retrieve_rep_vals() argument
615 store_rep_vals(uu_list_t * vals,const char * fmri,const char * prop) store_rep_vals() argument
621 retrieve_rep_vals(uu_list_t * vals,const char * fmri,const char * prop) retrieve_rep_vals() argument
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/sun4v/zambezi/
H A Dzambezi.c95 nvlist_t *fmri; in zam_tnode_create() local
99 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name, i, in zam_tnode_create()
103 if (fmri == NULL) { in zam_tnode_create()
110 ntn = topo_node_bind(mod, parent, name, i, fmri); in zam_tnode_create()
111 nvlist_free(fmri); in zam_tnode_create()
141 nvlist_t *fmri = NULL; in zam_declare() local
156 /* set ASRU to resource fmri */ in zam_declare()
158 TOPO_PROP_RESOURCE, &fmri, &err) == 0) in zam_declare()
159 (void) topo_node_asru_set(ntn, fmri, 0, &err); in zam_declare()
160 nvlist_free(fmri); in zam_declare()
[all...]
/titanic_52/usr/src/cmd/ipf/svc/
H A Dipfd.c57 * /lib/svc/method/ipfilter fw_update fmri
59 * where fmri the instance fmri of the service to be updated.
245 is_correct_event(const char *fmri, const scf_propertygroup_t *pg, in is_correct_event() argument
273 if ((state = smf_get_state(fmri)) == NULL) { in is_correct_event()
275 "%s\n", fmri, scf_strerror(scf_error())); in is_correct_event()
279 syslog(LOG_DEBUG | LOG_DAEMON, "%s STATE: %s \n", fmri, state); in is_correct_event()
314 ipfilter_update(const char *fmri) in ipfilter_update() argument
319 syslog(LOG_DEBUG | LOG_DAEMON, "ipfilter_update: %s\n", fmri); in ipfilter_update()
326 "ipfilter for %s: %s", fmri, strerro in ipfilter_update()
570 char *fmri, *scratch; repository_event_wait() local
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c103 nvlist_t *fmri; in hb_tnode_create() local
111 if ((fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name, in hb_tnode_create()
121 node = topo_node_bind(mod, parent, name, inst, fmri); in hb_tnode_create()
123 nvlist_free(fmri); in hb_tnode_create()
129 nvlist_free(fmri); in hb_tnode_create()
179 nvlist_t *fmri; in platform_pciexrc_declare() local
192 fmri = topo_mod_devfmri(mod, FM_DEV_SCHEME_VERSION, dnpath, NULL); in platform_pciexrc_declare()
193 if (fmri == NULL) { in platform_pciexrc_declare()
194 topo_mod_dprintf(mod, "dev:///%s fmri creation failed.\n", in platform_pciexrc_declare()
198 if (topo_node_asru_set(rcn, fmri, in platform_pciexrc_declare()
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c45 nvlist_t *fmri; in cpuboard_node_create() local
55 if ((fmri = topo_mod_hcfmri(mp, parent, FM_HC_SCHEME_VERSION, name, in cpuboard_node_create()
65 node = topo_node_bind(mp, parent, name, inst, fmri); in cpuboard_node_create()
67 nvlist_free(fmri); in cpuboard_node_create()
73 nvlist_free(fmri); in cpuboard_node_create()
114 nvlist_t *fmri; in cpuboard_rc_node_create() local
122 fmri = topo_mod_devfmri(mp, FM_DEV_SCHEME_VERSION, in cpuboard_rc_node_create()
124 if (fmri == NULL) { in cpuboard_rc_node_create()
126 "dev:///%s fmri creation failed.\n", in cpuboard_rc_node_create()
132 if (topo_node_asru_set(rcn, fmri, in cpuboard_rc_node_create()
[all...]
/titanic_52/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c127 nvlist_t *fmri; in chip_tnode_create() local
160 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name, i, in chip_tnode_create()
163 if (fmri == NULL) { in chip_tnode_create()
170 ntn = topo_node_bind(mod, parent, name, i, fmri); in chip_tnode_create()
177 nvlist_free(fmri); in chip_tnode_create()
180 nvlist_free(fmri); in chip_tnode_create()
212 nvlist_t *fmri; in cpu_fmri_create() local
214 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in cpu_fmri_create()
216 err = nvlist_add_uint8(fmri, FM_VERSION, FM_CPU_SCHEME_VERSION); in cpu_fmri_create()
217 err |= nvlist_add_string(fmri, FM_FMRI_SCHEM in cpu_fmri_create()
[all...]

12345678910>>...31