Searched defs:node (Results 151 - 175 of 604) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dmetadata.c124 phandle_t node; local
127 if ((node = OF_finddevice("/options")) == -1)
129 if (OF_getprop(node, "input-device", buf, sizeof(buf)) == -1)
132 if (OF_getprop(node, "output-device", buf, sizeof(buf)) == -1)
136 if ((node = OF_finddevice("/chosen")) == -1)
138 if (OF_getprop(node, "stdin", &inst, sizeof(inst)) == -1)
142 if (OF_getprop(node, "stdout", &inst, sizeof(inst)) == -1)
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_se_notify.c86 * Get the host data from the node array.
120 struct node { struct
126 static struct node ev_table[] = {
193 ((const struct node *)node2)->se_ev));
204 struct node *node_ptr;
H A Dmetarpcopen.c73 char *node,
91 if (strcmp((*cachep)[i]->cc_node, node) == 0 &&
104 (*cachep)[i]->cc_node = Strdup(node);
71 cc_add( client_header_t *header, char *node, CLIENT *clntp, md_error_t *ep ) argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsess_mgr.c299 DL_NODE * node = NULL; local
307 node = sess_list;
309 while (node) {
310 SESSION *s = (SESSION *)node->data;
317 node = node->next;
341 DL_NODE * node = NULL; local
384 node = sess_list;
385 while (node) {
386 SESSION *s = (SESSION *)node
443 DL_NODE *node = NULL; local
471 DL_NODE *node = NULL; local
500 DL_NODE *node = NULL; local
529 DL_NODE *node = NULL; local
557 DL_NODE * node = NULL; local
704 DL_NODE * node = NULL; local
735 DL_NODE * node = NULL; local
[all...]
H A Dutility.c34 // Adds the specified node to the start of the list
41 DL_NODE *node = NULL; local
45 node = (DL_NODE *)malloc(sizeof (DL_NODE));
46 if (! node)
48 node->data = data;
49 node->prev = NULL;
50 node->next = list;
52 list->prev = node;
54 return (node);
60 // Adds the specified node t
66 DL_NODE *node = NULL; local
94 DL_NODE *node = list; local
156 dlist_next(DL_NODE *node) argument
167 dlist_prev(DL_NODE *node) argument
178 DL_NODE *node; local
196 dlist_remove_node(DL_NODE *list, DL_NODE *node) argument
[all...]
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_utils.c140 * Given the user name, node, and security domain, get the mechanism
145 char *user, char *node, char *secdomain)
167 if (node != NULL)
168 nlen = strlen(node);
173 strcat(user_name, node);
144 __rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char *mech, char *user, char *node, char *secdomain) argument
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c243 cpu_release(topo_mod_t *mod, tnode_t *node) argument
245 topo_method_unregister_all(mod, node);
333 cpu_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
367 cpu_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
510 cpu_fmri_asru(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
535 cpu_fmri_create_meth(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
H A Ddev.c127 dev_release(topo_mod_t *mod, tnode_t *node) argument
129 topo_method_unregister_all(mod, node);
200 dev_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
233 dev_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
374 dev_fmri_present(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
401 * stat() the device node in devfs. This will tell us if the device is
404 * so di_init that one node. No need for DINFOFORCE.
454 dev_fmri_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
481 * stat() the device node in devfs. This will tell us if the device is
484 * so di_init that one node
534 dev_fmri_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
581 dev_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
657 dev_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
[all...]
H A Dmem.c128 mem_release(topo_mod_t *mod, tnode_t *node) argument
130 topo_method_unregister_all(mod, node);
185 mem_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
310 mem_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
H A Dmod.c106 mod_release(topo_mod_t *mod, tnode_t *node) argument
108 topo_method_unregister_all(mod, node);
235 mod_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
330 mod_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
H A Dpkg.c111 pkg_release(topo_mod_t *mod, tnode_t *node) argument
113 topo_method_unregister_all(mod, node);
229 pkg_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
302 pkg_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
H A Dtopo_2xml.c105 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, argument
115 if (topo_prop_get_int32(node, pgname, pv->tp_name, &val,
126 if (topo_prop_get_uint32(node, pgname, pv->tp_name,
137 if (topo_prop_get_int64(node, pgname, pv->tp_name, &val,
149 if (topo_prop_get_uint64(node, pgname, pv->tp_name,
160 if (topo_prop_get_string(node, pgname, pv->tp_name,
169 if (topo_prop_get_fmri(node, pgname, pv->tp_name, &val,
187 if (topo_prop_get_uint32_array(node, pgname,
230 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) argument
244 txml_print_prop(thp, fp, node, pi
250 txml_print_dependents(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument
260 txml_print_node(topo_hdl_t *thp, FILE *fp, tnode_t *node) argument
277 txml_print_range(topo_hdl_t *thp, FILE *fp, tnode_t *node, int dependent) argument
317 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) argument
[all...]
H A Dtopo_method.c44 topo_method_lookup(tnode_t *node, const char *name) argument
48 for (mp = topo_list_next(&node->tn_methods); mp != NULL;
51 topo_node_unlock(node);
60 * Simple API to determine if the specified node supports a given topo method
65 topo_method_supported(tnode_t *node, const char *name, topo_version_t vers) argument
69 topo_node_lock(node);
70 for (mp = topo_list_next(&node->tn_methods); mp != NULL;
74 topo_node_unlock(node);
78 topo_node_unlock(node);
108 set_methregister_error(topo_mod_t *mod, tnode_t *node, topo_imethod_ argument
131 topo_method_register(topo_mod_t *mod, tnode_t *node, const topo_method_t *mp) argument
188 topo_method_unregister(topo_mod_t *mod, tnode_t *node, const char *name) argument
216 topo_method_unregister_all(topo_mod_t *mod, tnode_t *node) argument
234 topo_method_call(tnode_t *node, const char *method, topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) argument
275 topo_method_invoke(tnode_t *node, const char *method, topo_version_t version, nvlist_t *in, nvlist_t **out, int *err) argument
381 topo_method_sensor_failure(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c116 hb_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
121 return (platform_hb_label(mp, node, in, out));
182 hb_release(topo_mod_t *mp, tnode_t *node) argument
184 topo_method_unregister_all(mp, node);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_labels.c217 * Do an overall slot label lookup for the device node.
220 pci_slot_label_lookup(topo_mod_t *mod, tnode_t *node, did_t *dp, did_t *pdp) argument
230 topo_mod_dprintf(mod, "%s: entry: node=%p, node_name=%s, "
232 __func__, node, topo_node_name(node), topo_node_instance(node),
239 * If an ancestor has a slot label, then this node's label
253 topo_mod_dprintf(mod, "%s: node=%p: node has a physical "
255 __func__, node, did_physlo
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...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c98 * correlation between the dimm topo node instance number and the dimm slot
112 simple_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
140 (topo_node_instance(node) + offset));
167 * between dimm topo node instance number and DIMM slot number
173 simple_dimm_label_mp(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
212 chip = topo_node_parent(topo_node_parent(node));
217 (topo_node_instance(node) + offset));
222 - (topo_node_instance(node)) - 1 + offset));
240 * This method assumes a correspondence between the dimm topo node instance
255 * between dimm topo node instanc
259 seq_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
337 simple_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
394 fsb2_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
445 g4_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
588 a4fplus_chip_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
667 simple_cs_label_mp(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
714 g4_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
788 g12f_dimm_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_impl.h93 /* indication of successful fac node creation */
105 tnode_t *node; member in struct:smbs_con_ids
H A Dx86pi_subr.c156 stype->ids[cnt].node = NULL;
167 * Calculate the authority information for a node. Inherit the data if
203 /* Determnine if this is a chassis node and set it's instance */
223 * No product information in the parent node or auth
230 "found for %s node\n", f, hcfmri->hc_name);
261 * No product-sn information in the parent node or auth
286 /* either not a chassis node, or chassis #0 */
300 * node or auth list.
351 * No server information in the parent node or auth
357 "name not found for %s node\
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...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c93 iob_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
98 return (platform_iob_label(mp, node, in, out));
150 iob_release(topo_mod_t *mp, tnode_t *node) argument
154 * node private data (did_t) for this node is destroyed in
158 topo_method_unregister_all(mp, node);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c288 "failed to create a cpu=%d node: %s\n",
379 topo_mod_dprintf(mod, "node chip[%d], sn=%s\n", i, sbuf);
384 topo_mod_dprintf(mod, "failed to create a chip node: "
426 chip_release(topo_mod_t *mp, tnode_t *node) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c248 * together create the node hierarchy for one dimm and its siblings.
249 * mem_range_create is called when creating the first instance of a given node
276 } else if (*(d->dm_label + pfnext) == '\0') { /* this node has a fru */
398 * below to be a chip node, and the dimm structures specific for that chip can
399 * then be built from its specific node, or
419 dimm_release(topo_mod_t *mp, tnode_t *node) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c95 * Create a topo node
102 tnode_t *node; local
120 /* Create and bind node */
121 node = topo_node_bind(mod, parent, name, inst, fmri);
122 if (node == NULL) {
124 topo_mod_dprintf(mod, "unable to bind a node(%s): %s\n",
130 topo_node_setspecific(node, priv);
133 (void) topo_node_fru_set(node, NULL, 0, &err);
134 (void) topo_node_label_set(node, NULL, &err);
136 return (node);
417 platform_hb_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c244 mb_prop_set(tnode_t *node, nvlist_t *auth) argument
251 if ((topo_pgroup_create(node, &mb_auth_pgroup, &err) != 0) &&
256 (void) topo_prop_set_string(node, FM_FMRI_AUTHORITY,
259 (void) topo_prop_set_string(node, FM_FMRI_AUTHORITY,
262 (void) topo_prop_set_string(node, FM_FMRI_AUTHORITY,
265 (void) topo_prop_set_string(node, FM_FMRI_AUTHORITY,
268 if (topo_pgroup_create(node, &mb_sys_pgroup, &err) != 0)
274 (void) topo_prop_set_string(node, TOPO_PGROUP_SYSTEM, TOPO_PROP_ISA,
276 (void) topo_prop_set_string(node, TOPO_PGROUP_SYSTEM, TOPO_PROP_MACHINE,
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c275 niufn_instance_get(topo_mod_t *mod, di_node_t node, topo_instance_t *inst) argument
283 rval = di_prom_prop_lookup_ints(phan, node,
287 rval = di_prop_lookup_ints(DDI_DEV_T_ANY, node,
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c39 * Each node export four methods present(), expand() replaced() and unusable().
169 cpu_present(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
214 cpu_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
261 cpu_expand(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
329 cpu_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
485 "failed to create a cpu=%d node: %s\n",
520 cpu_release(topo_mod_t *mod, tnode_t *node) argument
522 topo_method_unregister_all(mod, node);

Completed in 160 milliseconds

1234567891011>>