Searched refs:mod (Results 26 - 50 of 245) sorted by relevance

12345678910

/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_serial.c58 ipmi_serial_lookup(topo_mod_t *mod, char *ipmi_tag, char *buf) argument
66 topo_mod_dprintf(mod, "ipmi_serial_lookup() called\n");
67 if ((hdl = topo_mod_ipmi_hold(mod)) == NULL) {
68 topo_mod_dprintf(mod, "Failed to get IPMI handle\n");
69 return (topo_mod_seterrno(mod, EMOD_UNKNOWN));
72 topo_mod_dprintf(mod, "Looking up FRU data for %s ...\n", ipmi_tag);
75 topo_mod_dprintf(mod, "Failed to lookup %s (%s)\n", ipmi_tag,
77 topo_mod_ipmi_rele(mod);
78 return (topo_mod_seterrno(mod, EMOD_NVL_INVAL));
82 topo_mod_dprintf(mod, "Readin
205 get_dimm_serial(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
[all...]
H A Dchip.c109 _topo_init(topo_mod_t *mod) argument
112 topo_mod_setdebug(mod);
113 topo_mod_dprintf(mod, "initializing chip enumerator\n");
115 if (topo_mod_register(mod, &chip_info, TOPO_VERSION) != 0) {
116 whinge(mod, NULL, "failed to register hc: "
117 "%s\n", topo_mod_errmsg(mod));
118 return (-1); /* mod errno set */
125 _topo_fini(topo_mod_t *mod) argument
127 topo_mod_unregister(mod);
145 create_node(topo_mod_t *mod, tnode_ argument
196 create_strand(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
323 create_core(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, nvlist_t *auth, uint16_t chip_smbiosid) argument
455 create_chip(topo_mod_t *mod, tnode_t *pnode, topo_instance_t min, topo_instance_t max, nvlist_t *cpu, nvlist_t *auth, int mc_offchip) argument
665 create_chips(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, nvlist_t *auth, int mc_offchip) argument
704 chip_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *smbios_enabled) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c51 get_rcs(topo_mod_t *mod) argument
58 devtree = topo_mod_devinfo(mod);
60 topo_mod_dprintf(mod, "devinfo init failed.\n");
65 if (busorrc_add(mod, &rcs, pnode) < 0) {
66 topo_mod_dprintf(mod, "busorrc_add() failed.\n");
67 busorrc_free(mod, rcs);
98 hb_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, argument
104 nvlist_t *auth = topo_mod_auth(mod, parent);
111 if ((fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name,
113 topo_mod_dprintf(mod, "creat
145 platform_pciexhostbridge_declare(topo_mod_t *mod, tnode_t *parent, topo_instance_t inst) argument
173 platform_pciexrc_declare(topo_mod_t *mod, tnode_t *parent, int inst, uint64_t ba) argument
280 platform_hb_enum(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t imin, topo_instance_t imax) argument
417 platform_hb_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dlegacy_hc.c65 legacy_hc_init(topo_mod_t *mod, topo_version_t version) argument
71 topo_mod_setdebug(mod);
73 topo_mod_dprintf(mod, "initializing legacy_hc builtin\n");
76 return (topo_mod_seterrno(mod, EMOD_VER_NEW));
78 if (topo_mod_register(mod, &legacy_hc_info, TOPO_VERSION) != 0) {
79 topo_mod_dprintf(mod, "failed to register legacy_hc: "
80 "%s\n", topo_mod_errmsg(mod));
81 return (-1); /* mod errno already set */
88 legacy_hc_fini(topo_mod_t *mod) argument
90 topo_mod_unregister(mod);
96 legacy_hc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
161 fmri_nvl2str(topo_mod_t *mod, nvlist_t *nvl, char *buf, size_t buflen) argument
185 legacy_hc_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument
[all...]
H A Dtopo_file.c65 topo_file_load(topo_mod_t *mod, tnode_t *node, const char *name, argument
71 if ((tfp = topo_mod_zalloc(mod, sizeof (topo_file_t))) == NULL)
72 return (topo_mod_seterrno(mod, ETOPO_NOMEM));
74 tfp->tf_mod = mod;
82 if ((tfp->tf_filenm = topo_search_path(mod, mod->tm_rootdir, fp))
85 return (topo_mod_seterrno(mod, ETOPO_MOD_NOENT));
88 if ((tfp->tf_tmap = topo_xml_read(mod, tfp->tf_filenm, scheme))
90 topo_dprintf(mod->tm_hdl, TOPO_DBG_ERR,
94 return (topo_mod_seterrno(mod, ETOPO_MOD_XR
[all...]
H A Dmem.c68 mem_init(topo_mod_t *mod, topo_version_t version) argument
71 topo_mod_setdebug(mod);
72 topo_mod_dprintf(mod, "initializing mem builtin\n");
75 return (topo_mod_seterrno(mod, EMOD_VER_NEW));
77 if (topo_mod_register(mod, &mem_info, TOPO_VERSION) != 0) {
78 topo_mod_dprintf(mod, "failed to register mem_info: "
79 "%s\n", topo_mod_errmsg(mod));
80 return (-1); /* mod errno already set */
87 mem_fini(topo_mod_t *mod) argument
89 topo_mod_unregister(mod);
94 mem_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
128 mem_release(topo_mod_t *mod, tnode_t *node) argument
185 mem_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
273 mem_fmri(topo_mod_t *mod, uint64_t pa, uint64_t offset, char *unum, int flags) argument
310 mem_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
[all...]
H A Dzfs.c65 zfs_init(topo_mod_t *mod, topo_version_t version) argument
71 topo_mod_setdebug(mod);
73 topo_mod_dprintf(mod, "initializing zfs builtin\n");
76 return (topo_mod_seterrno(mod, EMOD_VER_NEW));
78 if (topo_mod_register(mod, &zfs_info, TOPO_VERSION) != 0) {
79 topo_mod_dprintf(mod, "failed to register zfs: "
80 "%s\n", topo_mod_errmsg(mod));
81 return (-1); /* mod errno already set */
90 zfs_fini(topo_mod_t *mod) argument
96 topo_mod_unregister(mod);
102 zfs_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
180 zfs_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c72 * topo_mod_free(mod, nodes, nsize);
76 pi_find_mdenodes(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_start, argument
92 *nodes = topo_mod_zalloc(mod, *nsize);
96 (void) topo_mod_seterrno(mod, EMOD_NOMEM);
103 topo_mod_free(mod, *nodes, *nsize);
116 pi_skip_node(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
121 if (mod == NULL || mdp == NULL) {
157 pi_get_dipath(topo_mod_t *mod, di_node_t dnode) argument
174 bus_addr[depth] = topo_mod_strdup(mod,
178 topo_mod_dprintf(mod, "pi_get_dipat
228 pi_get_productsn(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
310 pi_get_chassisid(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
396 pi_get_fru(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, int *is_fru) argument
423 pi_get_instance(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t *ip) argument
452 pi_get_label(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
493 pi_get_lun(topo_mod_t *mod, di_node_t node) argument
547 pi_get_part(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
585 pi_get_path(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
689 pi_get_productid(topo_mod_t *mod, md_t *mdp) argument
736 pi_get_priphy(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, uint8_t *phyp) argument
763 pi_get_phynum(topo_mod_t *mod, di_node_t node) argument
816 pi_get_revision(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
836 pi_get_serial(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
876 pi_get_serverid(topo_mod_t *mod) argument
900 pi_get_target_port(topo_mod_t *mod, di_node_t node) argument
949 pi_get_topo_hc_name(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) argument
976 pi_set_auth(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, tnode_t *t_node) argument
1209 pi_set_frufmri(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, const char *name, topo_instance_t inst, tnode_t *t_parent, tnode_t *t_node) argument
1265 pi_set_label(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_node) argument
1299 pi_set_system(topo_mod_t *mod, tnode_t *t_node) argument
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
[all...]
H A Dpi_pciexrc.c66 pi_enum_pciexrc(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, argument
72 topo_mod_dprintf(mod, "%s called for node_0x%llx type %s\n",
81 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
84 topo_mod_dprintf(mod,
87 topo_strerror(topo_mod_errno(mod)));
92 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node,
95 topo_mod_dprintf(mod,
98 topo_strerror(topo_mod_errno(mod)));
102 result = pi_enum_pciexrc_finddev(mod, mdp, mde_node, *t_node);
110 result = pi_defer_add(mod, mde_nod
134 pi_enum_pciexrc_defer(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t *t_node, void *private) argument
190 pi_enum_update(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, tnode_t *t_node, const char *hc_name) argument
417 pi_enum_pciexrc_finddev(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_node) argument
484 pi_enum_pciexrc_findbdf(topo_mod_t *mod, di_node_t dnode) argument
[all...]
H A Dpi_cpu.c40 topo_mod_t *mod; member in struct:cpuwalk_s
48 pi_enum_cpu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, argument
64 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
78 topo_mod_dprintf(mod,
96 result = pi_enum_cpu_serial(mod, mdp, mde_node, &serial);
98 topo_mod_dprintf(mod,
108 asru = topo_mod_cpufmri(mod, FM_CPU_SCHEME_VERSION, inst,
110 topo_mod_strfree(mod, serial);
112 topo_mod_dprintf(mod, "%s node_0x%llx failed to "
115 topo_strerror(topo_mod_errno(mod)));
135 pi_enum_cpu_serial(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, char **serial) argument
[all...]
H A Dpi_generic.c43 pi_enum_generic(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, argument
54 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
66 pi_enum_generic_impl(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, argument
75 topo_mod_dprintf(mod, "%s adding entry for node_0x%llx type %s\n",
79 topo_mod_dprintf(mod,
86 auth = topo_mod_auth(mod, t_bindparent);
88 serial = pi_get_serial(mod, mdp, mde_node);
90 fmri = topo_mod_hcfmri(mod, t_fmriparent, FM_HC_SCHEME_VERSION, hc_name,
94 topo_mod_strfree(mod, serial);
98 topo_mod_dprintf(mod,
[all...]
H A Dpi_hostbridge.c44 pi_enum_hostbridge(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, argument
50 topo_mod_dprintf(mod, "%s called for node_0x%llx type %s\n",
59 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
62 topo_mod_dprintf(mod,
65 topo_strerror(topo_mod_errno(mod)));
70 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node,
73 topo_mod_dprintf(mod,
76 topo_strerror(topo_mod_errno(mod)));
80 topo_mod_dprintf(mod, "%s added node_0x%llx type %s\n",
H A Dpi_defer.c71 pi_defer_add(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t *t_parent, argument
79 result = pi_deferlist_create(mod);
90 dnp = topo_mod_zalloc(mod, sizeof (pi_defernode_t));
92 (void) topo_mod_seterrno(mod, EMOD_NOMEM);
115 pi_defer_exec(topo_mod_t *mod, md_t *mdp) argument
130 topo_mod_dprintf(mod, "beginning deferred enumerator execution\n");
132 topo_mod_dprintf(mod, "no deferred enumerators. done.\n");
151 topo_mod_free(mod, dp, sizeof (pi_defernode_t));
154 if (pi_get_instance(mod, mdp, mde_node, &inst) != 0) {
155 topo_mod_dprintf(mod, "deferre
203 pi_deferlist_create(topo_mod_t *mod) argument
[all...]
H A Dpi_walker.c136 pi_walker_init(topo_mod_t *mod) argument
142 result = topo_mod_nvalloc(mod, &pi_enum_fns, NV_UNIQUE_NAME);
143 result |= topo_mod_nvalloc(mod, &pi_meths, NV_UNIQUE_NAME);
145 topo_mod_dprintf(mod, "pi_walker_init failed\n");
172 topo_mod_dprintf(mod, "pi_walker_init failed\n");
183 pi_walker_fini(topo_mod_t *mod) argument
185 topo_mod_dprintf(mod, "pi_walker_fini: enter\n");
202 topo_mod_t *mod; local
207 mod = pip->mod;
325 topo_mod_t *mod; local
415 pi_walker_node_create(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, topo_instance_t inst, tnode_t **t_node) argument
480 pi_walker_node_range(topo_mod_t *mod, md_t *mdp, tnode_t *t_parent, mde_cookie_t mde_node) argument
660 pi_walkerlist_addtype(topo_mod_t *mod, nvlist_t *typelist, char *hc_name, uint32_t min, uint32_t max) argument
702 pi_walkerlist_create(topo_mod_t *mod) argument
724 pi_walkerlist_destroy(topo_mod_t *mod) argument
750 pi_walkerlist_add(topo_mod_t *mod, tnode_t *t_parent, mde_cookie_t mde_node) argument
781 pi_walkerlist_find(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t **tpp) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c66 x86pi_hcfmri_info_fini(topo_mod_t *mod, x86pi_hcfmri_t *hc) argument
69 topo_mod_strfree(mod, (char *)hc->hc_name);
71 topo_mod_strfree(mod, (char *)hc->manufacturer);
73 topo_mod_strfree(mod, (char *)hc->product);
75 topo_mod_strfree(mod, (char *)hc->version);
77 topo_mod_strfree(mod, (char *)hc->serial_number);
79 topo_mod_strfree(mod, (char *)hc->asset_tag);
81 topo_mod_strfree(mod, (char *)hc->location);
83 topo_mod_strfree(mod, (char *)hc->part_number);
94 x86pi_get_serverid(topo_mod_t *mod) argument
116 x86pi_smb_open(topo_mod_t *mod) argument
138 x86pi_smb_strcnt(topo_mod_t *mod, smbs_cnt_t *stype) argument
171 x86pi_set_auth(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri, tnode_t *t_parent, tnode_t *t_node) argument
395 x86pi_set_frufmri(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri, tnode_t *t_parent, tnode_t *t_node, int flag) argument
445 x86pi_set_label(topo_mod_t *mod, const char *label, const char *name, tnode_t *t_node) argument
477 x86pi_set_system(topo_mod_t *mod, tnode_t *t_node) argument
560 x86pi_check_comp(topo_mod_t *mod) argument
623 x86pi_cleanup_smbios_str(topo_mod_t *mod, const char *begin, int str_type) argument
674 x86pi_bdf(topo_mod_t *mod, di_node_t node) argument
691 x86pi_phy(topo_mod_t *mod, di_node_t node) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c119 _topo_init(topo_mod_t *mod) argument
124 topo_mod_setdebug(mod);
125 topo_mod_dprintf(mod, "initializing %s enumerator\n",
128 if ((chip = topo_mod_zalloc(mod, sizeof (md_info_t))) == NULL)
131 if (cpu_mdesc_init(mod, chip) != 0) {
132 topo_mod_dprintf(mod, "failed to get cpus from the PRI/MD\n");
133 topo_mod_free(mod, chip, sizeof (md_info_t));
137 topo_mod_setspecific(mod, (void *)chip);
139 if (topo_mod_register(mod, &cpu_info, TOPO_VERSION) != 0) {
140 topo_mod_dprintf(mod, "faile
153 _topo_fini(topo_mod_t *mod) argument
169 cpu_present(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
214 cpu_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
261 cpu_expand(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
329 cpu_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
385 cpu_fmri_create(topo_mod_t *mod, uint32_t cpuid, char *serial, uint8_t cpumask) argument
408 cpu_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, char *serial, void *priv) argument
441 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, md_info_t *chip) argument
501 cpu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
520 cpu_release(topo_mod_t *mod, tnode_t *node) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c42 busorrc_new(topo_mod_t *mod, const char *bus_addr, di_node_t di) argument
49 if ((pp = topo_mod_zalloc(mod, sizeof (busorrc_t))) == NULL)
52 bac = topo_mod_strdup(mod, bus_addr);
55 pp->br_ba_bc = strtonum(mod, bac, &e);
57 topo_mod_dprintf(mod,
61 topo_mod_strfree(mod, bac);
62 topo_mod_free(mod, pp, sizeof (busorrc_t));
67 topo_mod_strfree(mod, bac);
70 pp->br_ba_ac = strtonum(mod, comma + 1, &e);
72 topo_mod_dprintf(mod,
85 busorrc_insert(topo_mod_t *mod, busorrc_t **head, busorrc_t *new) argument
124 busorrc_add(topo_mod_t *mod, busorrc_t **list, di_node_t n) argument
141 busorrc_free(topo_mod_t *mod, busorrc_t *pb) argument
150 hb_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t hbi, topo_instance_t bi, di_node_t bn, did_t *hbdid) argument
166 rc_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t rci, di_node_t bn) argument
203 declare_exbuses(topo_mod_t *mod, busorrc_t *list, tnode_t *ptn, int nhb, int nrc) argument
296 declare_buses(topo_mod_t *mod, busorrc_t *list, tnode_t *ptn, int nhb) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c70 _topo_init(topo_mod_t *mod) argument
75 topo_mod_setdebug(mod);
76 topo_mod_dprintf(mod, "initializing mem enumerator\n");
78 if ((mem = topo_mod_zalloc(mod, sizeof (md_mem_info_t))) == NULL)
81 if (mem_mdesc_init(mod, mem) != 0) {
82 topo_mod_dprintf(mod, "failed to get dimms from the PRI/MD\n");
83 topo_mod_free(mod, mem, sizeof (md_mem_info_t));
87 topo_mod_setspecific(mod, (void *)mem);
89 if (topo_mod_register(mod, &dimm_info, TOPO_VERSION) != 0) {
90 topo_mod_dprintf(mod, "faile
103 _topo_fini(topo_mod_t *mod) argument
117 mem_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, char *serial, nvlist_t *fru, char *label, void *priv) argument
197 create_one_dimm(topo_mod_t *mod, tnode_t *pnode, int inst, mem_dimm_map_t *dp) argument
262 mem_inst_create(topo_mod_t *mod, tnode_t *pnode, int pflen, mem_dimm_map_t *dp) argument
295 mem_range_create(topo_mod_t *mod, tnode_t *pnode, int pflen, mem_dimm_map_t *dp) argument
355 mem_create(topo_mod_t *mod, tnode_t *rnode, md_mem_info_t *cm) argument
406 dimm_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/
H A Dzambezi.c67 _topo_init(topo_mod_t *mod, topo_version_t version) argument
73 topo_mod_setdebug(mod);
74 topo_mod_dprintf(mod, "initializing zambezi enumerator\n");
76 if (topo_mod_register(mod, &zambezi_info, TOPO_VERSION) < 0) {
77 topo_mod_dprintf(mod, "zambezi registration failed: %s\n",
78 topo_mod_errmsg(mod));
79 return; /* mod errno already set */
81 topo_mod_dprintf(mod, "zambezi enumr initd\n");
85 _topo_fini(topo_mod_t *mod) argument
87 topo_mod_unregister(mod);
91 zam_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, void *priv) argument
137 zam_declare(tnode_t *parent, const char *name, topo_instance_t i, void *priv, topo_mod_t *mod) argument
167 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/
H A DAnyDBM_File.pm19 my $mod;
20 for $mod (@ISA) {
21 # (my $truemod = $mod) =~ s/^Memoize:://;
22 # my $file = "$mod.pm";
24 if (eval "require $mod") {
25 print STDERR "AnyDBM_File => Selected $mod.\n" if $Verbose;
26 @ISA = ($mod); # if we leave @ISA alone, warnings abound
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c72 _topo_init(topo_mod_t *mod, topo_version_t version) argument
78 topo_mod_setdebug(mod);
79 topo_mod_dprintf(mod, "initializing xaui enumerator\n");
81 if (topo_mod_register(mod, &xaui_info, TOPO_VERSION) < 0) {
82 topo_mod_dprintf(mod, "xaui registration failed: %s\n",
83 topo_mod_errmsg(mod));
84 return; /* mod errno already set */
86 topo_mod_dprintf(mod, "xaui enum initd\n");
90 _topo_fini(topo_mod_t *mod) argument
92 topo_mod_unregister(mod);
96 xaui_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, void *priv) argument
181 xaui_trans_str(topo_mod_t *mod, char *dn, char *p, size_t buf_len) argument
203 xaui_get_path(topo_mod_t *mod, void *priv, topo_instance_t inst) argument
280 xaui_get_pri_label(topo_mod_t *mod, topo_instance_t n, void *priv, char **labelp) argument
389 xaui_label_set(topo_mod_t *mod, tnode_t *node, topo_instance_t n, void *priv) argument
453 xaui_declare(tnode_t *parent, const char *name, topo_instance_t i, void *priv, topo_mod_t *mod) argument
510 xaui_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *priv) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4u/pcibus/
H A Dpci_sun4u.c42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument
45 return (pci_label_cmn(mod, node, in, out));
48 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in, argument
51 return (pci_fru_compute(mod, node, in, out));
66 sunfire_test_func(topo_mod_t *mod, did_t *dp) argument
76 topo_mod_dprintf(mod, "%s: dp=0x%p, tp=0x%p\n",
84 topo_mod_dprintf(mod, "%s: binding_name=%s\n",
98 topo_mod_dprintf(mod, "%s: compatible_name[%d]=%s\n",
113 (dp = did_find(mod, topo_node_getspecific(tp))) == NULL) {
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c90 cpuboard_get_pri_info(topo_mod_t *mod, cpuboard_contents_t cpubs[]) argument
108 topo_mod_dprintf(mod, "ldom_init failed\n");
114 topo_mod_dprintf(mod, "not sun4v architecture%s\n", isa);
126 topo_mod_dprintf(mod, "Failed to get pri/md, bufsize=%d\n",
131 topo_mod_dprintf(mod, "pri/md bufsize=%d\n", bufsize);
136 topo_mod_dprintf(mod, "md_init_intern error\n");
141 topo_mod_dprintf(mod, "num_nodes=%d\n", num_nodes);
145 topo_mod_dprintf(mod, "alloc listp error\n");
154 topo_mod_dprintf(mod, "ncomp=%d\n", ncomp);
170 topo_mod_dprintf(mod, "cpuboard_get_pri_inf
216 _topo_init(topo_mod_t *mod, topo_version_t version) argument
235 _topo_fini(topo_mod_t *mod) argument
241 cpuboard_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, void *priv, cpuboard_contents_t *cpubc) argument
310 cpuboard_label_set(topo_mod_t *mod, tnode_t *parent, tnode_t *node, topo_instance_t n) argument
343 cpuboard_declare(tnode_t *parent, const char *name, topo_instance_t i, void *priv, topo_mod_t *mod, cpuboard_contents_t *cpubc) argument
370 chip_instantiate(tnode_t *parent, const char *name, topo_mod_t *mod, topo_instance_t inst) argument
404 cpuboard_findrc(topo_mod_t *mod, uint64_t id) argument
440 cpuboard_free_pri_info(topo_mod_t *mod, cpuboard_contents_t cpuboard_list[], topo_instance_t min, topo_instance_t max) argument
457 cpuboard_enum(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_labels.c45 pci_label_physlot_lookup(topo_mod_t *mod, char *platform, did_t *dp) argument
50 topo_mod_dprintf(mod, "%s: doing a lookup for platform=%s\n",
57 topo_mod_dprintf(mod, "%s: doing a lookup for physlot=%d\n",
61 topo_mod_dprintf(mod, "%s: comparing against platform=%s\n",
66 topo_mod_dprintf(mod, "%s: found lookup table for this "
72 topo_mod_dprintf(mod, "%s: matched entry=%d, "
81 topo_mod_dprintf(mod, "%s: returning label=%s\n",
91 pci_label_slotname_lookup(topo_mod_t *mod, char *platform, argument
100 topo_mod_dprintf(mod, "%s: doing a lookup for platform=%s\n",
104 topo_mod_dprintf(mod, "
151 pci_label_missing_lookup(topo_mod_t *mod, char *platform, did_t *dp) argument
220 pci_slot_label_lookup(topo_mod_t *mod, tnode_t *node, did_t *dp, did_t *pdp) argument
419 pci_label_cmn(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
472 pci_fru_cmn(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c124 disk_set_props(topo_mod_t *mod, tnode_t *parent, argument
134 topo_mod_dprintf(mod, "disk_set_props: "
139 topo_mod_dprintf(mod, "disk_set_props: "
146 topo_mod_dprintf(mod, "disk_set_props: "
151 topo_mod_dprintf(mod, "disk_set_props: "
159 topo_mod_dprintf(mod, "disk_set_props: "
166 topo_mod_dprintf(mod, "disk_set_props: "
178 if ((asru = topo_mod_devfmri(mod, FM_DEV_SCHEME_VERSION,
181 topo_mod_dprintf(mod, "disk_set_props: "
186 topo_mod_dprintf(mod, "disk_set_prop
285 disk_trim_whitespace(topo_mod_t *mod, const char *begin) argument
316 disk_auth_clean(topo_mod_t *mod, const char *str) argument
334 disk_tnode_create(topo_mod_t *mod, tnode_t *parent, dev_di_node_t *dnode, const char *name, topo_instance_t i, tnode_t **rval) argument
412 disk_declare(topo_mod_t *mod, tnode_t *parent, dev_di_node_t *dnode, tnode_t **childp) argument
442 disk_declare_path(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, const char *path) argument
469 disk_declare_addr(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, const char *addr, tnode_t **childp) argument
504 disk_declare_non_enumerated(topo_mod_t *mod, tnode_t *parent, tnode_t **childp) argument
514 topo_mod_t *mod = cbp->dcb_mod; local
537 dev_di_node_free(topo_mod_t *mod, dev_di_node_t *dnode) argument
575 topo_mod_t *mod = cbp->dcb_mod; local
885 dev_list_gather(topo_mod_t *mod, topo_list_t *listp) argument
917 dev_list_free(topo_mod_t *mod, topo_list_t *listp) argument
951 disk_status(topo_mod_t *mod, tnode_t *nodep, topo_version_t vers, nvlist_t *in_nvl, nvlist_t **out_nvl) argument
[all...]

Completed in 210 milliseconds

12345678910