Searched defs:node (Results 76 - 100 of 604) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libtecla/common/
H A Dfreelist.c47 size_t node_size; /* The size of a free-list node */
76 * When a free-list node is on the free-list, it is used as a (void *)
80 * ensure that the first sizeof(void *) bytes of each node will be
150 * Locate the last node of the current block.
155 * Make the link-field of the last node point to the first
156 * node of the current freelist, then make the first node of the
228 void *node; /* The node to be returned */ local
253 * Remove and return a node fro
[all...]
H A Dstringrp.c133 StringSegment *node; local
137 for(node=sg->head; node; node=node->next) {
138 if(node->block)
139 free(node->block);
140 node->block = NULL;
230 StringSegment *node; /* A node o local
289 StringSegment *node; /* A node in the list of string segments */ local
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c84 Prom_node *root_node; /* root node of OBP device tree */
129 get_id(Prom_node *node) argument
136 if ((value = (int *)get_prop_val(find_prop(node, "upa-portid")))
141 if ((value = (int *)get_prop_val(find_prop(node, "portid")))
171 /* allocate a node for this level */
183 /* read properties for this node */
187 * Place a node in a 'board' if it has 'board'-ness. The definition
254 printf("node not added: name=%s type=%s\n", name, type);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c55 typedef struct node { char *key; struct node *llink, *rlink; } NODE; struct
66 NODE *q; /* New node if key not found */
79 if (q != NULL) { /* Allocate new node */
80 *rootp = q; /* Link new node to old */
81 q->key = key; /* Initialize new node */
87 /* Delete node with key key */
93 NODE *p; /* Parent of node to be deleted */
94 NODE *q; /* Successor node */
95 NODE *r; /* Right son node */
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dmd_link.c50 static int md_create(di_minor_t minor, di_node_t node);
100 md_create(di_minor_t minor, di_node_t node) argument
131 (void) devfsadm_mklink("md/admin", node, minor, 0);
135 * appropriate links. The node looks like:
188 (void) devfsadm_mklink(path, node, minor, 0);
/illumos-gate/usr/src/cmd/devfsadm/sparc/
H A Dmisc_link_sparc.c38 static int ddi_other(di_minor_t minor, di_node_t node);
39 static int diskette(di_minor_t minor, di_node_t node);
40 static int ecpp_create(di_minor_t minor, di_node_t node);
41 static int mc_node(di_minor_t minor, di_node_t node);
42 static int starcat_sbbc_node(di_minor_t minor, di_node_t node);
43 static int lom(di_minor_t minor, di_node_t node);
44 static int ntwdt_create(di_minor_t minor, di_node_t node);
45 static int bmc(di_minor_t minor, di_node_t node);
78 * Handles minor node type "ddi_other"
83 ddi_other(di_minor_t minor, di_node_t node) argument
104 diskette(di_minor_t minor, di_node_t node) argument
129 ecpp_create(di_minor_t minor, di_node_t node) argument
165 mc_node(di_minor_t minor, di_node_t node) argument
204 starcat_sbbc_node(di_minor_t minor, di_node_t node) argument
220 lom(di_minor_t minor, di_node_t node) argument
230 ntwdt_create(di_minor_t minor, di_node_t node) argument
240 bmc(di_minor_t minor, di_node_t node) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlist.c37 uintptr_t lw_end; /* last node in specified range */
129 list_node_t *node; local
153 node = (list_node_t *)((uintptr_t)lwd->lw_obj + lwd->lw_offset);
154 wsp->walk_addr = (uintptr_t)node->list_next;
/illumos-gate/usr/src/cmd/mdb/common/modules/s1394/
H A Ds1394.c38 * is used to print node information (speed map, node number, GUID, etc.)
138 s1394_node_t node[IEEE1394_MAX_NODES]; local
145 if (mdb_vread(node, (num_nodes * sizeof (s1394_node_t)),
147 mdb_warn("failed to read the node structures");
172 if (node[i].cfgrom != NULL) {
174 (uintptr_t)node[i].cfgrom) == -1) {
191 } else if (node[i].link_active == 0) {
194 } else if (CFGROM_BIB_READ(&node[i])) {
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc2.c129 void print_node(const void *node, VISIT order, int level) { argument
131 tb.ta_uid = (*(struct utab **)node)->ut_uid;
132 CPYN(tb.ta_name, (*(struct utab **)node)->ut_name);
133 tb.ta_cpu[0] = ((*(struct utab **)node)->ut_cpu[0]);
134 tb.ta_cpu[1] = ((*(struct utab **)node)->ut_cpu[1]);
135 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0];
136 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1];
137 tb.ta_pc = (*(struct utab **)node)->ut_pc;
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c256 * get_prom_prop(): get the value of the named property on the named node in
259 * input: const char *: The name of the node containing the property.
276 di_node_t node; local
284 * locate root node
289 dhcpmsg(MSG_DEBUG, "get_prom_prop: property root node "
298 for (node = di_child_node(root_node);
299 node != DI_NODE_NIL;
300 node = di_sibling_node(node)) {
301 if (strcmp(di_node_name(node), nodenam
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dhash.c50 struct node struct
53 struct node *next;
56 static struct node **last;
57 static struct node *next;
58 static struct node **table;
71 table = (struct node **)alloc(TABLENGTH * sizeof(struct node *));
93 struct node *p, *nxt;
114 struct node *p;
115 struct node **
[all...]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c46 di_node_t node; local
127 /* First, we need the deivce path to locate the devinfo node. */
138 node = di_init(path, DINFOCPYONE);
139 if (node == DI_NODE_NIL) {
140 di_fini(node);
153 instance = di_instance(node);
155 di_fini(node);
163 driver_name = di_driver_name(node);
165 di_fini(node);
174 di_fini(node);
[all...]
H A Ddevtree_phy_disco.c71 get_phy_info(di_node_t node, struct sun_sas_port *port_ptr) argument
87 if ((portDevpath = di_devfs_path(node)) == NULL) {
92 count = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, "phy-info",
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_fb.c35 * /os-io node, we also check if the device-type is "console",
37 * works corrrectly after /os-io node is registered into OBP.
138 pnode_t node; local
141 if ((node = prom_optionsnode()) == OBP_BADNODE)
145 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) {
146 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf);
151 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) {
152 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf);
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c53 visit(pnode_t node) argument
64 if (prom_getproplen(node, "name") != sizeof (ultrasparc))
66 (void) prom_getprop(node, "name", name);
70 if (prom_getproplen(node, manufacturer) != sizeof (int))
72 (void) prom_getprop(node, manufacturer, (caddr_t)&manu);
77 if (prom_getproplen(node, implementation) != sizeof (int))
79 (void) prom_getprop(node, implementation, (caddr_t)&impl);
84 return (node);
88 * visit each node in the device tree, until we get a non-null answer
91 walk(pnode_t node) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_print.c274 smb_node_t *node; local
291 node = sr->fid_ofile->f_node;
296 rc = smb_node_getattr(sr, node, sr->user_cr, sr->fid_ofile, &attr);
H A Dsmb2_lock.c252 smb_node_t *node = sr->fid_ofile->f_node; local
279 status = smb_unlock_range(sr, node,
H A Dsmb_notify.c102 smb_node_t *node; local
108 node = sr->fid_ofile->f_node;
109 if (node == NULL || !smb_node_is_dir(node)) {
126 * Subscribe to events on this node.
128 smb_node_fcn_subscribe(node, sr);
148 * Unsubscribe from events on this node.
150 smb_node_fcn_unsubscribe(node, sr);
277 * Post an event to the watchers on a given node.
308 smb_notify_event(smb_node_t *node, uint_ argument
[all...]
H A Dsmb_nt_transact_ioctl.c44 * smb_oplock_break(sr, node, SMB_OPLOCK_BREAK_TO_NONE);
231 smb_node_t *node; local
248 node = sr->fid_ofile->f_node;
249 if (smb_node_is_dir(node)) {
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c44 tnode_t *node; local
64 /* Create and bind node */
65 node = topo_node_bind(mp, parent, name, inst, fmri);
66 if (node == NULL) {
74 topo_node_setspecific(node, priv);
76 return (node);
82 * Create a root complex node pciexrc
85 * parent: topo parent node of the newly created pciexrc node
86 * dnode: Solaris device node o
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c57 di_walk(di_node_t node, di_minor_t minor, void *arg) argument
66 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node,
68 di_prop_lookup_strings(DDI_DEV_T_ANY, node,
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c58 * memory for the node data stored in the cache when
59 * that node is removed.
61 * to provide a copy of the node data stored in the
154 smb_cache_node_t *node; local
169 node = avl_find(&chandle->ch_cache, newnode, &where);
170 if (node != NULL) {
172 avl_remove(&chandle->ch_cache, node);
174 chandle->ch_free(node->cn_data);
175 free(node);
192 * and remove it. The memory allocated for the found node
199 smb_cache_node_t *node; local
242 smb_cache_node_t *node; local
[all...]
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dbuild_tree.c43 fc_nodeop(common_data_t *cdp, fc_phandle_t node, char *svc) argument
48 error = fc_run_priv(cdp, svc, 1, 1, fc_phandle2cell(node), &hcell);
76 if ((pd != NULL) && (pd->node)) {
77 if (os_get_prop_common(cdp, pd->node, "name",
81 pd->node);
91 if (os_get_prop_common(cdp, ppd->node, "name",
95 ppd, namebuf, ppd->node);
96 for (thisnode = fc_nodeop(cdp, ppd->node, FC_CHILD_FCODE);
113 pd->node = thisnode;
116 add_my_handle(env, pd->node,
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dlegacy_hc.c105 legacy_hc_release(topo_mod_t *mp, tnode_t *node) argument
107 topo_method_unregister_all(mp, node);
185 legacy_hc_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
H A Dtopo_module.c49 topo_mod_release(topo_mod_t *mod, tnode_t *node) argument
54 mod->tm_info->tmi_ops->tmo_release(mod, node);

Completed in 138 milliseconds

1234567891011>>