Searched defs:node (Results 26 - 50 of 604) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkeypad.c58 t_decode *node, *saved; local
70 /* First node of tree. */
71 node = (t_decode *) malloc(sizeof *node);
72 if (node == (t_decode *) 0)
75 *root = saved = node;
77 node->child = node->sibling = (t_decode *) 0;
78 node->ch = *str++;
79 node
[all...]
H A Dwgetch.c115 t_decode *node; local
177 node = (t_decode *) __m_screen->_decode;
184 while (node->ch != ch) {
185 node = node->sibling;
186 if (node == (t_decode *) 0)
191 if (node->key != 0) {
193 return __m_return_int("wgetch", node->key);
213 node = node
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c60 t_decode *node, *saved; local
72 /* First node of tree. */
73 node = (t_decode *) malloc(sizeof (*node));
74 if (node == NULL)
77 *root = saved = node;
79 node->child = node->sibling = NULL;
80 node->ch = *str++;
81 node
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtfind.c48 typedef struct node { void *key; struct node *llink, *rlink; } NODE; struct
51 /* tfind - find a node, or return 0 */
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getproparcs.c37 * Return an array containing the node indexes for the arcs in
38 * the given node. The array is allocated using the allocator
52 * int Count of arcs in node
55 md_get_prop_arcs(md_t *ptr, mde_cookie_t node, char *namep, mde_cookie_t *arcp, argument
64 if (node == MDE_INVAL_ELEM_COOKIE) {
73 result = md_find_node_arcs(mdp, node, prop_name, MDET_PROP_ARC, arcp,
81 * Find the number of arcs in the node of the requested prop_name. If storage
82 * is given in arcp, store the first arcsize number of node indexes.
85 md_find_node_arcs(md_impl_t *mdp, mde_cookie_t node, argument
93 /* Get the private node informatio
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dieee1394_link.c35 static int ieee1394_process(di_minor_t minor, di_node_t node);
72 * This function is called for every ieee1394 minor node.
77 ieee1394_process(di_minor_t minor, di_node_t node) argument
83 devfspath = di_devfs_path(node);
109 (void) devfsadm_mklink(l_path, node, minor, 0);
H A Dramdisk_link.c39 static int ramdisk(di_minor_t di_minor, di_node_t node);
79 * This function is called for every ramdisk minor node.
95 ramdisk(di_minor_t di_minor, di_node_t node) argument
102 * If this is an OBP-created ramdisk use the node name, having first
106 if (di_nodeid(node) == DI_PROM_NODEID) {
107 RD_STRIP_PREFIX(name, di_node_name(node));
115 (void) devfsadm_mklink(RD_CTL_NAME, node, di_minor, 0);
123 (void) devfsadm_mklink(path, node, di_minor, 0);
H A Dsmp_link.c39 static int smp_callback(di_minor_t minor, di_node_t node);
65 smp_callback(di_minor_t minor, di_node_t node) argument
75 devfspath = di_devfs_path(node);
91 (void) devfsadm_mklink(l_path, node, minor, 0);
H A Dtape_link.c36 static int tape_process(di_minor_t minor, di_node_t node);
57 * This function is called for every tape minor node.
62 tape_process(di_minor_t minor, di_node_t node) argument
82 devfspath = di_devfs_path(node);
106 (void) devfsadm_mklink(l_path, node, minor, flags);
/illumos-gate/usr/src/cmd/scsi/sestopo/common/
H A Dsestopo.c53 node(ses_node_t *np, void *arg) function
92 (void) ses_walk(sp, node, NULL);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c26 iphtent_t entry, *top, *node; local
65 node = top;
66 (void) printhashnode(hp, node, bcopywrap, opts);
67 top = node->ipe_snext;
68 free(node);
H A Dprintpool_live.c26 ip_pool_node_t entry, *top, *node; local
65 node = top;
66 (void) printpoolnode(node, opts);
67 top = node->ipn_next;
68 free(node);
/illumos-gate/usr/src/cmd/sysdef/
H A Dsdevinfo.c45 static int dump_node(di_node_t node, void *arg);
66 * print out information about this node
69 dump_node(di_node_t node, void *arg) argument
77 tmp = node;
81 /* we would start at 0, except that we skip the root node */
94 di_node_name(node),
95 di_instance(node));
97 if (driver_name = di_driver_name(node)) {
101 } else if (di_state(node) & DI_DRIVER_DETACHED) {
108 (void) printf("%s", di_node_name(node));
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc75 char node[MAXPATHLEN]; local
96 sprintf(node, "%s/%s", dir, dirp->d_name);
97 if ((count = readlink(node,buf,sizeof(buf)))) {
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasRefreshAdapterConfiguration.c30 * Discover an HBA node with matching path.
35 find_matching_hba(di_node_t node, void *arg) argument
42 if (IS_STUB_NODE(node)) {
46 rval = di_prop_lookup_ints(DDI_DEV_T_ANY, node,
51 if ((devpath = di_devfs_path(node)) == NULL) {
60 /* Found a node. No need to walk any more. */
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_cpuctl.c51 prom_startcpu(pnode_t node, caddr_t pc, int arg) argument
58 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to start */
89 prom_wakeupcpu(pnode_t node) argument
97 ci[3] = p1275_dnode2cell(node); /* Arg1: nodeid to wakeup */
110 prom_cpuoff(pnode_t node) argument
118 ci[3] = p1275_dnode2cell(node);
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4dep.c46 pnode_t node; local
54 node = prom_findnode_bydevtype(prom_rootnode(), OBP_CPU);
55 if (node != OBP_NONODE && node != OBP_BADNODE) {
58 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 ||
60 prom_getprop(node, OBP_NAME, cpubuf) <= 0)
61 prom_panic("no name in cpu node");
67 * node for the compatible property.
69 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 ||
70 ((node
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dsg_unum.c77 int node = SG_PORTID_TO_NODEID(cpuid); local
83 * node and dimm will always be valid. board and proc may be -1 if
98 node, board, proc, dimm, sg_j_number[proc][dimm]);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_change_notify.c38 smb_node_t *node = NULL; local
67 node = sr->fid_ofile->f_node;
68 if (node == NULL || !smb_node_is_dir(node)) {
H A Dsmb2_oplock.c29 smb_node_t *node; local
53 if ((node = sr->fid_ofile->f_node) == NULL) {
82 smb_oplock_ack(node, sr->fid_ofile, brk);
/illumos-gate/usr/src/boot/sys/sys/
H A Duuid.h34 /* Length of a node address (an IEEE 802 address). */
50 uint8_t node[_UUID_NODE_LEN]; member in struct:uuid
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetMultipathLusPlugin.c40 static int checkAvailablePath(di_node_t node) argument
45 if ((path = di_path_client_next_path(node, DI_PATH_NIL))
58 } while ((path = di_path_client_next_path(node, path)) != DI_PATH_NIL);
60 /* return 0 for the case that there is no online path to the node. */
94 /* skip the node which is offline, down or detached. */
103 * skip if the node doesn't have any path avaialble.
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.c159 topo_child_next(tnode_t *pnode, tnode_t *node) argument
165 if (node == NULL) {
174 index = topo_node_hash(node->tn_phash, node->tn_instance) + 1;
175 for (nhp = node->tn_phash; nhp != NULL; nhp = topo_list_next(nhp)) {
H A Dtopo_protocol.c41 topo_node_asru(tnode_t *node, nvlist_t **asru, nvlist_t *priv, int *err) argument
45 if (topo_prop_getprop(node, TOPO_PGROUP_PROTOCOL,
50 topo_hdl_nvdup(node->tn_hdl, ap, asru) < 0) {
62 topo_node_fru(tnode_t *node, nvlist_t **fru, nvlist_t *priv, int *err) argument
66 if (topo_prop_getprop(node, TOPO_PGROUP_PROTOCOL, TOPO_PROP_FRU,
71 topo_hdl_nvdup(node->tn_hdl, fp, fru) < 0) {
83 topo_node_resource(tnode_t *node, nvlist_t **resource, int *err) argument
86 return (topo_prop_get_fmri(node, TOPO_PGROUP_PROTOCOL,
91 topo_node_label(tnode_t *node, char **label, int *err) argument
94 return (topo_prop_get_string(node, TOPO_PGROUP_PROTOCO
99 topo_node_asru_set(tnode_t *node, nvlist_t *asru, int flag, int *err) argument
128 topo_node_fru_set(tnode_t *node, nvlist_t *fru, int flag, int *err) argument
155 topo_node_label_set(tnode_t *node, char *label, int *err) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c127 ipmi_fru_label(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
155 (topo_node_instance(node) + offset));
169 * the fan/psu itself or the parent node.
175 ipmi_fru_fmri(topo_mod_t *mod, tnode_t *node, topo_version_t vers, argument
195 if (topo_node_resource(node, &fru, &err) != 0)
198 if (topo_node_resource(topo_node_parent(node), &fru, &err) != 0)

Completed in 179 milliseconds

1234567891011>>