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

123

/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_hostbridge.c44 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,
43 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.c42 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
63 result = topo_mod_enumerate(mod, t_parent, NIU, hc_name, inst, inst,
41 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.c46 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
57 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
45 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.c40 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
55 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
39 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.c43 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
53 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
66 topo_instance_t inst, tnode_t *t_bindparent, tnode_t *t_fmriparent,
90 inst, NULL, auth, NULL, NULL, serial);
104 *t_node = pi_node_bind(mod, mdp, mde_node, t_bindparent, hc_name, inst,
110 enum_name, (uint64_t)mde_node, (uint32_t)inst,
42 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
65 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.c48 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
63 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
116 asru = topo_mod_cpufmri(mod, FM_CPU_SCHEME_VERSION, inst,
47 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.c120 topo_instance_t inst; local
153 if (pi_get_instance(mod, mdp, mde_node, &inst) != 0) {
178 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name,
H A Dpi_pciexrc.c66 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
80 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
113 result = pi_enum_pciexrc_defer(mod, mdp, mde_node, inst,
134 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
65 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
133 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
H A Dpi_bay.c436 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
530 * If we have more than one HBA the bay inst here will be
534 rv = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
435 pi_enum_bay(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
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard_hostbridge.c41 int inst, void *priv)
49 if (parent == NULL || inst < 0) {
55 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
64 node = topo_node_bind(mp, parent, name, inst, fmri);
91 char *rcpath, int inst)
100 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
40 cpuboard_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst, void *priv) argument
90 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, char *rcpath, int inst) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgen_p.h84 struct irs_inst * inst; member in struct:irs_rule
H A Dgen.c226 ho = rule->inst->ho;
231 nw = rule->inst->nw;
309 struct irs_inst *inst; local
331 new->inst = &irs->accessors[acc];
366 inst = &irs->accessors[acc];
367 if (inst->acc == NULL && accs[acc] != NULL)
368 inst->acc = (*accs[acc])(irs->options);
369 if (inst->acc != NULL) {
371 if (inst->gr == NULL && inst
[all...]
/osnet-11/usr/src/lib/libscf/common/
H A Dhighlevel.c116 scf_instance_t *inst = NULL; local
122 (inst = scf_instance_create(handle)) == NULL ||
124 inst, NULL, NULL, SCF_DECODE_FMRI_EXACT) != SCF_SUCCESS)
128 rc = scf_instance_add_pg(inst, pgname, pgtype, pgflags, NULL);
135 rc = scf_instance_get_pg(inst, pgname, NULL);
142 scf_instance_destroy(inst);
/osnet-11/usr/src/lib/libpkg/common/
H A Dgpkglist.c117 char *inst; local
210 inst = fpkginst(pkg[i], NULL, NULL);
211 if (inst == NULL) {
220 pkginfo(&info, inst, NULL, NULL);
225 nwpkg[n] = strdup(inst);
228 } while (inst = fpkginst(pkg[i], NULL, NULL));
/osnet-11/usr/src/lib/libdisasm/sparc/
H A Ddis_sparc.h69 struct inst;
72 typedef struct inst inst_t;
78 const struct inst *tbl_inp;
85 struct inst { struct
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/
H A Dopl_hostbridge.c65 opl_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst, argument
72 if (parent == NULL || inst < 0) {
78 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
87 node = topo_node_bind(mp, parent, name, inst, fmri);
105 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst) argument
113 rcn = opl_node_create(mp, parent, PCIEX_ROOT, inst, (void *)dnode);
234 opl_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst) argument
239 hbn = opl_node_create(mp, parent, HOSTBRIDGE, inst, NULL);
H A Dopl_ioboard.c163 opl_iob_node_create(topo_mod_t *mp, tnode_t *parent, int inst, argument
173 if (parent == NULL || inst < 0) {
179 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
187 ion = topo_node_bind(mp, parent, IOBOARD, inst, fmri);
199 (void) snprintf(fmri_str, sizeof (fmri_str), IOBDFRU, inst);
208 (void) snprintf(label, sizeof (label), LABEL, inst);
252 topo_instance_t inst; local
332 for (inst = imin; inst <= imax && retval == 0; inst
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay.h81 int inst; /* bay instance */ member in struct:bay_s
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bay.c407 * instance nubmer is returned to the max inst var.
433 x86pi_gen_sas_bay(topo_mod_t *mod, tnode_t *t_parent, int *inst) argument
445 rv = topo_mod_enumerate(mod, t_parent, BAY, BAY, min, max, inst);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/dimm/common/
H A Ddimm_sun4v.c184 nac2hc(const char *s, int *inst) argument
192 if (sscanf(s, nac_mem_tbl[i].nh_sscan, inst) == 1)
199 create_one_dimm(topo_mod_t *mod, tnode_t *pnode, int inst, mem_dimm_map_t *dp) argument
216 inst, NULL, auth, dp->dm_part, NULL, dp->dm_serid)) == NULL)
220 cnode = mem_tnode_create(mod, pnode, "dimm", inst,
266 int inst, pfnext; local
274 nodename = nac2hc((dp->dm_label) + pflen, &inst);
277 return (create_one_dimm(mod, pnode, inst, dp));
280 nodename, inst, NULL, NULL, dp->dm_part, NULL,
282 cnode = mem_tnode_create(mod, pnode, nodename, inst,
300 int inst, pfnext; local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/hostbridge/common/
H A Dhb_sun4v.c98 int inst, void *priv)
105 if (parent == NULL || inst < 0) {
111 inst, NULL, auth, NULL, NULL, NULL)) == NULL) {
120 node = topo_node_bind(mod, parent, name, inst, fmri);
145 topo_instance_t inst)
150 topo_mod_dprintf(mod, "Create node %s=%d\n", HOSTBRIDGE, inst);
152 hbn = hb_tnode_create(mod, parent, HOSTBRIDGE, inst, priv);
155 HOSTBRIDGE, inst);
172 platform_pciexrc_declare(topo_mod_t *mod, tnode_t *parent, int inst, argument
180 topo_mod_dprintf(mod, "Create node %s=%d\n", PCIEX_ROOT, inst);
97 hb_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, int inst, void *priv) argument
144 platform_pciexhostbridge_declare(topo_mod_t *mod, tnode_t *parent, topo_instance_t inst) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/niu/common/
H A Dniu.c274 niufn_instance_get(topo_mod_t *mod, di_node_t node, topo_instance_t *inst) argument
279 *inst = (topo_instance_t)0;
291 *inst = (topo_instance_t)intp[0];
302 topo_instance_t inst; local
313 if (niufn_instance_get(mod, sib, &inst) != 0) {
319 if ((ntn = niufn_declare(parent, NIUFN, inst, sib, mod))
322 "failed: %s\n", NIUFN, inst,
327 ntn, XAUI, XAUI, inst, inst, sib) != 0) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dconv_princ.c152 char *name, char *inst, char *realm)
163 *name = *inst = '\0';
183 memcpy(inst, compo->data, (size_t) (c - compo->data));
184 inst[c - compo->data] = '\0';
190 /* If inst isn't set, the service isn't listed in the table, */
192 if (*inst == '\0') {
196 memcpy(inst, compo->data, compo->length);
197 inst[compo->length] = '\0';
151 krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, char *name, char *inst, char *realm) argument
/osnet-11/usr/src/lib/libadm/common/
H A Dpkginfo.c548 ckinfo(char *inst, char *arch, char *vers) argument
556 (void) snprintf(file, sizeof (file), "%s/%s/pkginfo", pkgdir, inst);
590 if (ckinst(inst, myarch, myvers, arch, vers))
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c237 scf_instance_t *inst = NULL; local
250 (inst = scf_instance_create(hdl)) == NULL ||
281 while (scf_iter_next_instance(inst_iter, inst) == 1) {
282 if ((ilen = scf_instance_to_fmri(inst, NULL, 0)) < 0)
291 if (scf_instance_to_fmri(inst, ifmri, ilen + 1) == -1)
309 scf_instance_destroy(inst);
694 scf_instance_t *inst = NULL; local
712 (inst = scf_instance_create(hdl)) == NULL ||
745 if (scf_service_get_instance(svc, instance, inst) != 0) {
764 if (scf_instance_get_pg(inst, SCF_PG_RESTARTE
[all...]

Completed in 134 milliseconds

123