Searched defs:node (Results 201 - 225 of 604) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c363 struct node node; local
378 if (mdb_vread(&node, sizeof (node), addr) != sizeof (node)) {
379 mdb_warn("failed to read struct node at %p", addr);
384 (uintptr_t)node.file) < 0)
386 node.file);
388 mdb_printf("%s len %d\n", buf, node.line);
390 switch (node
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c77 st_check_component(topo_hdl_t *thp, tnode_t *node, void *arg) argument
81 const char *name = topo_node_name(node);
95 if (topo_node_resource(node, &rsrc, NULL) != 0) {
107 name, topo_node_instance(node));
114 name, topo_node_instance(node));
119 if (topo_method_invoke(node, TOPO_METH_SENSOR_FAILURE,
126 topo_node_instance(node));
134 if (topo_node_fru(node, &fru, NULL, NULL) != 0) {
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_main.c641 find_auth(topo_hdl_t *thp, tnode_t *node, void *arg) argument
649 if (topo_node_resource(node, &rsrc, &err) < 0)
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c86 * returns a cd_device handle for a node returned by lookup_device()
87 * also takes the user supplied name and stores it inside the node
90 get_device(char *user_supplied, char *node) argument
106 user_supplied : "<nil>", node ? node : "<nil>"));
108 size = resolvepath(node, devnode, PATH_MAX);
116 /* the device node must be in /devices/ or /vol/dev/rdsk */
129 TRACE(traceall_msg("Cannot open %s: %s\n", node,
144 TRACE(traceall_msg("Inquiry failed on device %s\n", node));
286 TRACE(traceall_msg("Got device %s\n", node));
512 is_cd(char *node) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c77 xmlNodePtr cur, node; local
98 node = cur->xmlChildrenNode;
99 while (node != NULL) {
104 if (!xmlStrcmp((const xmlChar *)node->name,
107 c = (char *)xmlGetProp(node,
117 kmfrv = parsePolicyElement(node,
136 node = node->next;
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c78 struct node { struct
79 struct node *next;
101 struct node *root = NULL;
102 struct node *t;
137 t = (struct node *)emalloc(sizeof (*t) + strlen(pwp->pw_name));
318 t = (struct node *)
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c38 void devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root);
39 HalDevice *devinfo_add_node(HalDevice *parent, di_node_t node);
64 devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root) argument
69 HAL_INFO (("add_subtree: %s", di_node_name (node)));
71 root_node = node;
73 d = devinfo_add_node (parent, node);
76 (child_node = di_child_node (node)) != DI_NODE_NIL) {
80 node = di_sibling_node (node);
81 } while ((node !
86 devinfo_set_default_properties(HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) argument
150 devinfo_add_node(HalDevice *parent, di_node_t node) argument
[all...]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c110 /* Store a pointer to the base path in each root node */
190 /* Allocate new node for current device */
245 hp_node_t node, port_node; local
284 /* Create a new port node */
285 if ((node = new_hotplug_node(parent, hp)) == NULL) {
290 /* Add port node to connection list */
291 node_list_add(&connections, node);
293 /* Add branch of child devices to port node */
295 if ((rv = copy_devices(node, child_dev, child_flags,
296 &node
395 search_cb(di_node_t node, void *arg) argument
440 node_list_add(hp_node_list_t *listp, hp_node_t node) argument
458 hp_node_t node; local
493 hp_node_t node; local
[all...]
H A Dhotplugd_rcm.c84 static int resource_callback(hp_node_t node, void *argp);
85 static int merge_callback(hp_node_t node, void *argp);
325 * the lookup table is used for each node to find matching
377 resource_callback(hp_node_t node, void *argp) argument
384 /* Get node type */
385 type = hp_type(node);
388 if ((type == HP_NODE_PORT) && HP_IS_OFFLINE(hp_state(node)))
396 if (hp_path(node, arg->path, arg->connection) != 0) {
448 merge_callback(hp_node_t node, void *argp) argument
458 if (hp_type(node) !
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c143 ip_pool_node_t node; local
148 bzero((char *)&node, sizeof(node));
173 node.ipn_addr.adf_len = sizeof(node.ipn_addr);
174 node.ipn_addr.adf_addr.in4.s_addr = inet_addr(optarg);
175 node.ipn_mask.adf_len = sizeof(node.ipn_mask);
176 node.ipn_mask.adf_addr.in4.s_addr = mask.s_addr;
206 fprintf(stderr, "poolname not given with add/remove node\
[all...]
/illumos-gate/usr/src/cmd/stmfproxy/stmfproxy/
H A Dstmfproxy.c94 * it to the peer node.
161 * Multi-thread the data path from the peer node to the local
163 * burst of messages from the peer node proportional to the number
406 int node = 0; local
428 node = atoi(optarg);
466 node = 1;
509 * the peer node is down.
520 /* Read the greeting from peer node */
526 stmf_ret = stmfSetAluaState(B_TRUE, node);
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_dio.c49 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path);
51 di_prom_handle_t ph, md_node_t *node, di_node_t parent);
53 di_prom_handle_t ph, md_node_t *node, di_node_t dev);
129 * A root complex node is directly under the root node. So, if
130 * 'di' is not the root node, and its parent has no parent,
131 * then 'di' represents a root complex node.
205 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path)
209 np = md_link_new_node(mdp, "iodevice", node, "fwd", "back");
213 /* Add the properties from the devinfo node
204 link_device_node(mmd_t *mdp, di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path) argument
285 create_peers(mmd_t *mdp, di_prom_handle_t ph, md_node_t *node, di_node_t dev) argument
302 di_node_t node; local
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_manage.c345 di_node_t node; local
348 if ((node = di_init(&path[8], DINFOSUBTREE)) == DI_NODE_NIL)
350 if ((driver_name = di_driver_name(node)) == NULL) {
351 di_fini(node);
354 *instance = di_instance(node);
356 di_fini(node);
369 walk_callback(di_node_t node, void *arg) argument
375 driver_name = di_driver_name(node);
378 di_instance(node) == warg->instance) {
379 path = di_devfs_path(node);
393 di_node_t node; local
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dalist.c188 alist_dump_cb(void *node, void *private) argument
191 alist_el_t *el = node;
H A Dhash.c114 hash_add_cb(void *node, void *private) argument
116 hash_add((hash_t *)private, node);
151 hash_find_list_cb(void *node, struct hash_data *hd) argument
156 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
157 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0)
183 hash_find_first_cb(void *node, struct hash_data *hd) argument
185 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
186 hd->hd_ret = node;
H A Dstabs.c62 resolve_tou_node(tdesc_t *node, tdesc_t **nodep, void *private) argument
66 debug(3, "Trying to resolve %s (%d)\n", tdesc_name(node), node->t_id);
67 new = lookup(node->t_id);
70 terminate("Couldn't resolve type %d\n", node->t_id);
82 resolve_fwd_node(tdesc_t *node, tdesc_t **nodep, void *private) argument
84 tdesc_t *new = lookupname(node->t_name);
86 debug(3, "Trying to unforward %s (%d)\n", tdesc_name(node), node->t_id);
/illumos-gate/usr/src/tools/onbld/Scm/
H A DBackup.py34 This is the node to which the working copy changes
57 <short node>/
77 from mercurial import changegroup, cmdutil, error, node, patch, util namespace
82 '''a required node is not present in the destination workspace.
85 changeset which is a child of a node not present in the
91 be applied onto a node that the workspace does not possess even
98 # assumed to be a node. (Mercurial makes this
102 n = node.short(name)
222 return map(node.hex, nodes)
292 raise util.Abort("couldn't open backup node lis
[all...]
/illumos-gate/usr/src/tools/stabs/
H A Dstabs.h47 struct node { struct
132 extern struct child *find_child(struct node *np, char *w);
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Dii_tree.c127 node_io(_ii_info_t *ip, NODE *np, nodeid_t node, int flag) argument
140 /* calculate location of node on bitmap file */
141 offset = (node % nodes_per_fba) * sizeof (NODE);
142 node_fba = tree_fba + node / nodes_per_fba;
144 /* read disk block containing node */
155 /* copy node and update bitmap file if needed */
236 * Reads the node into core and returns a pointer to it.
240 read_node(_ii_info_t *ip, nodeid_t node) argument
246 if (node_io(ip, new, node, NSC_RDBUF)) {
288 * releases memory for node
399 NODE *node; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c651 iphtent_t *node, zn, *nextnode; local
657 node = NULL;
689 node = token->ipt_data;
690 if (node == NULL) {
698 nextnode = node->ipe_snext;
751 if (node != NULL) {
753 fr_derefhtent(node);
H A Dip_pool.c322 /* Parameters: ipo(I) - pointer to the pool getting the new node. */
344 /* Parameters: ipo(I) - pointer to the pool getting the new node. */
429 /* Parameters: ipo(I) - pointer to the pool getting the new node. */
430 /* addr(I) - IPv4/6 address being added as a node */
431 /* mask(I) - IPv4/6 netmask to with the node being added */
432 /* info(I) - extra information to store in this node. */
435 /* Add another node to the pool given by ipo. The three parameters passed */
436 /* in (addr, mask, info) shold all be stored in the node. */
571 /* Parameters: ipo(I) - pointer to the pool to remove the node from. */
572 /* ipe(I) - address being deleted as a node */
768 ip_pool_node_t *node, zn, *nextnode; local
[all...]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c863 hci1394_tlist_node_t *node; local
881 hci1394_tlist_peek(q_handle->q_queued_list, &node);
882 if (node == NULL) {
895 *cmd = (hci1394_q_cmd_t *)node->tln_addr;
918 * a race condition to delete the node in the list here. This is the
919 * only place the node will be deleted so we do not need to check the
922 (void) hci1394_tlist_delete(q_handle->q_queued_list, node);
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c737 * drvr_name: driver name to start the node tree search
751 di_node_t node; local
783 /* point to first node which matches portdrvr */
784 node = di_drv_first_node(drvr_name, root);
785 if (node == DI_NODE_NIL) {
787 * Could not find driver node
792 while (node != DI_NODE_NIL) {
793 if ((devfs_path = di_devfs_path(node)) != NULL) {
795 *devid = di_devid(node);
801 node
[all...]
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevtree_device_disco.c37 * Get the preferred minor node for the given path.
181 * child smp ndoes or child node or pathinfo.
214 * Finds attached device(target) from devinfo node.
217 get_attached_devices_info(di_node_t node, struct sun_sas_port *port_ptr) argument
244 if ((devpath = di_devfs_path(node)) == NULL) {
250 if ((di_instance(node) == -1) || di_retired(node)) {
252 "dev node (%s) returned instance of -1 or is retired. "
257 state = di_state(node);
258 /* when node i
1062 devtree_attached_devices(di_node_t node, struct sun_sas_port *port_ptr) argument
[all...]
H A Ddevtree_hba_disco.c153 "HBA port node %s is either OFFLINE or DETACHED",
191 "Unable to get initiator-port from HBA port node %s.",
219 "Unable to get attached-port from HBA port node %s.",
320 "HBA node doesn't have iport child.");
327 "Unable to get supported-protocol from HBA node.");
355 * The di_node_t argument should be a node with smhba-supported prop set
357 * Without iport support, the devinfo node will represent one port hba.
490 "Unable to get supported-protocol from HBA node.");
596 lookup_smhba_sas_hba(di_node_t node, void *arg) argument
603 if (IS_STUB_NODE(node)) {
[all...]

Completed in 103 milliseconds

1234567891011>>