Searched defs:inst (Results 1 - 25 of 187) sorted by relevance

12345678

/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_hostbridge.c45 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
59 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
44 pi_enum_hostbridge(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) argument
H A Dpi_niu.c45 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
66 result = topo_mod_enumerate(mod, t_parent, NIU, hc_name, inst, inst,
44 pi_enum_niu(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) argument
H A Dpi_top.c47 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
58 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
46 pi_enum_top(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) argument
H A Dpi_mem.c41 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
56 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
40 pi_enum_mem(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) argument
H A Dpi_generic.c44 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
54 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
67 topo_instance_t inst, tnode_t *t_bindparent, tnode_t *t_fmriparent,
91 inst, NULL, auth, NULL, NULL, serial);
105 *t_node = pi_node_bind(mod, mdp, mde_node, t_bindparent, hc_name, inst,
111 enum_name, (uint64_t)mde_node, (uint32_t)inst,
43 pi_enum_generic(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) argument
66 pi_enum_generic_impl(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_bindparent, tnode_t *t_fmriparent, const char *hc_name, const char *enum_name, tnode_t **t_node, int flag) argument
H A Dpi_cpu.c49 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
64 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
108 asru = topo_mod_cpufmri(mod, FM_CPU_SCHEME_VERSION, inst,
48 pi_enum_cpu(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) argument
H A Dpi_defer.c121 topo_instance_t inst; local
154 if (pi_get_instance(mod, mdp, mde_node, &inst) != 0) {
179 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name,
H A Dpi_pciexrc.c67 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
81 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
114 result = pi_enum_pciexrc_defer(mod, mdp, mde_node, inst,
135 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
66 pi_enum_pciexrc(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) argument
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
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_util.c65 char *name, *inst, *bufp, *fullname; local
69 nvlist_lookup_string(fmri, FM_FMRI_SVC_INSTANCE, &inst) != 0)
72 len = strlen(name) + strlen(inst) + 8;
74 (void) snprintf(bufp, len, "svc:/%s:%s", name, inst);
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/
H A Dtopo_port.c54 port_create_common(topo_mod_t *mod, tnode_t *pnode, topo_instance_t inst, argument
74 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
80 if ((tn = topo_node_bind(mod, pnode, PORT, inst, fmri)) == NULL) {
116 "%s=%d: %s", PORT, inst, topo_mod_errmsg(mod));
134 port_create_sff(topo_mod_t *mod, tnode_t *pnode, topo_instance_t inst, argument
139 tn = port_create_common(mod, pnode, inst, TOPO_PROP_PORT_TYPE_SFF);
147 port_create_usb(topo_mod_t *mod, tnode_t *pnode, topo_instance_t inst, argument
152 tn = port_create_common(mod, pnode, inst, TOPO_PROP_PORT_TYPE_USB);
H A Dtopo_transceiver.c47 transceiver_create_common(topo_mod_t *mod, tnode_t *pnode, topo_instance_t inst, argument
68 TRANSCEIVER, inst, NULL, auth, part, rev, serial)) == NULL) {
74 if ((tn = topo_node_bind(mod, pnode, TRANSCEIVER, inst, fmri)) ==
124 transceiver_create_sff(topo_mod_t *mod, tnode_t *pnode, topo_instance_t inst, argument
131 if ((tn = transceiver_create_common(mod, pnode, inst,
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dgetinst.c66 char *inst; local
131 inst = sameinst;
134 return (inst);
157 inst = info[samearch].pkginst;
160 return (inst);
176 inst = nextinst();
177 return (inst);
191 inst = prompt(info, npkgs);
192 if (strcmp(inst, "new") == 0) {
193 inst
233 char *inst; local
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dtransition.c66 scf_instance_t *inst; local
70 err = libscf_fmri_get_instance(h, v->gv_name, &inst);
87 err = refresh_vertex(v, inst);
91 scf_instance_destroy(inst);
H A Denv.c178 valid_env_var(const char *var, const restarter_inst_t *inst, const char *path) argument
183 if (inst != NULL)
184 log_instance(inst, B_FALSE, "Invalid environment "
188 if (inst != NULL)
189 log_instance(inst, B_FALSE, "Invalid environment "
201 find_dup(const char *var, char **env, const restarter_inst_t *inst) argument
220 if (inst != NULL && p != env &&
222 log_instance(inst, B_FALSE, "Ignoring duplicate "
258 const restarter_inst_t *inst, const char *method)
282 if (inst) {
257 set_smf_env(char **env, size_t env_sz, const char *path, const restarter_inst_t *inst, const char *method) argument
[all...]
/illumos-gate/usr/src/uts/common/pcmcia/pcs/
H A Dpcs.c108 struct pcs_inst *inst; local
116 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances,
118 if (inst == NULL)
121 *result = inst->dip;
125 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances,
127 if (inst == NULL)
143 struct pcs_inst *inst; local
157 inst = (struct pcs_inst *)ddi_get_soft_state(pcs_instances,
159 if (inst == NULL)
162 inst
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c42 int inst, void *priv)
50 if (parent == NULL || inst < 0) {
56 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
65 node = topo_node_bind(mp, parent, name, inst, fmri);
92 char *rcpath, int inst)
101 rcn = cpuboard_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode);
209 cpuboard_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst) argument
214 topo_mod_dprintf(mp, "cpuboard_hb_node_create: parent=%p, inst=%d\n",
215 parent, inst);
217 hbn = cpuboard_node_create(mp, parent, HOSTBRIDGE, inst, NUL
41 cpuboard_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst, void *priv) argument
91 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, char *rcpath, int inst) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxcfg.c61 int inst = ddi_get_instance(dip); local
63 if (num_options >= inst) {
64 if (option[inst] == 1) {
86 int inst = ddi_get_instance(dip); local
88 if (num_options >= inst) {
89 *paramval = option[inst];
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drc_scf.c114 scf_instance_t *inst = NULL; local
127 (inst = scf_instance_create(h)) == NULL ||
137 NULL, svc, inst, NULL, NULL, 0) == -1)
140 if (scf_iter_instance_pgs_composed(pgiter, inst, NULL) == -1)
207 scf_instance_destroy(inst);
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/
H A Dchipset.c83 const topo_instance_t inst = 0; local
107 CHIPSET, inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
115 if ((tn = topo_node_bind(mod, pnode, CHIPSET, inst, fmri)) == NULL) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Dgpkglist.c117 char *inst; local
211 inst = fpkginst(pkg[i], NULL, NULL);
212 if (inst == NULL) {
221 pkginfo(&info, inst, NULL, NULL);
226 nwpkg[n] = strdup(inst);
229 } while (inst = fpkginst(pkg[i], NULL, NULL));
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen_p.h84 struct irs_inst * inst; member in struct:irs_rule
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c52 instance_t *inst; /* pointer to associated instance */ member in struct:__anon192
160 methods[mp->method].name, mp->inst->fmri);
162 mp->inst->timer_id = -1;
165 process_start_term(mp->inst, mp->proto_name);
167 process_non_start_term(mp->inst, IMRET_FAILURE);
216 me->inst = (instance_t *)ins;
277 if (me->inst->timer_id != -1)
278 cancel_inst_timer(me->inst);
293 * Unregister all methods associated with instance 'inst'.
296 unregister_instance_methods(const instance_t *inst) argument
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Daudio_link.c190 long inst; local
235 inst = strtol(mn + i, &ep, 10);
244 driver, inst, mn);
288 driver, inst);
293 driver, inst);
298 driver, inst);
303 driver, inst);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_log.c125 eib_dprintf_verbose(int inst, const char *fmt, ...) argument
135 (void) snprintf(newfmt, EIB_MAX_LINE, "eoib%d__%s", inst, fmt);
147 eib_dprintf_pkt(int inst, uint8_t *pkt, uint_t sz) argument
161 "%02x %02x %02x %02x %02x %02x %02x %02x\n", inst,
176 inst, p[i]);
194 eib_dprintf_args(int inst, const char *fmt, ...) argument
204 (void) snprintf(newfmt, EIB_MAX_LINE, "eoib%d__%s", inst, fmt);
216 eib_dprintf_debug(int inst, const char *fmt, ...) argument
226 (void) snprintf(newfmt, EIB_MAX_LINE, "eoib%d__%s", inst, fmt);
239 eib_dprintf_warn(int inst, cons argument
261 eib_dprintf_err(int inst, const char *fmt, ...) argument
284 eib_dprintf_crit(int inst, const char *fmt, ...) argument
[all...]
H A Denx_q.c228 eibnx_find_child_dip_by_inst(eibnx_thr_info_t *info, int inst) argument
236 if (ddi_get_instance(dip) == inst)

Completed in 197 milliseconds

12345678