Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.h276 struct node *tree_root(struct node *np);
278 struct node *tree_expr(enum nodetype t, struct node *left, struct node *right);
279 struct node *tree_event(struct node *ename, struct node *epname,
281 struct node *tree_if(struct node *expr, struct node *stmts,
287 struct node *tree_name_append(struct node *np1, struct node *np2);
290 struct node *tree_name_iterator(struct node *np1, struct node *np2);
297 struct node *tree_pname(struct node *np);
298 struct node *tree_arrow(struct node *lhs, struct node *nnp, struct node *knp,
303 struct node *namep, struct node *np);
307 struct node *enp, struct node *np);
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_node.c212 (void *)node, node->od_name); in smb_node_fini()
213 node = smb_llist_next(bucket, node); in smb_node_fini()
305 while (node) { in smb_node_lookup()
308 if ((node->n_hashkey == hashkey) && (node->vp == vp)) { in smb_node_lookup()
350 node = smb_llist_next(node_hdr, node); in smb_node_lookup()
383 return (node); in smb_node_lookup()
484 smb_llist_remove(node->n_hash_bucket, node); in smb_node_release()
1072 ASSERT(node); in smb_node_getmntpath()
1076 vp = node->vp; in smb_node_getmntpath()
1105 ASSERT(node); in smb_node_getshrpath()
[all …]
H A Dsmb_cmn_oplock.c631 node->n_oplock.cnt_II--; in smb_oplock_req_excl()
776 node->n_oplock.cnt_R--; in smb_oplock_req_excl()
845 node->n_oplock.cnt_RH--; in smb_oplock_req_excl()
1169 node->n_oplock.cnt_R--; in smb_oplock_req_shared()
1187 node->n_oplock.cnt_II++; in smb_oplock_req_shared()
1192 node->n_oplock.cnt_R++; in smb_oplock_req_shared()
1267 node->n_oplock.cnt_R--; in smb_oplock_req_shared()
1321 node->n_oplock.cnt_RH++; in smb_oplock_req_shared()
2293 node->n_oplock.cnt_II--; in smb_oplock_break_CLOSE()
2339 node->n_oplock.cnt_R--; in smb_oplock_break_CLOSE()
[all …]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dtq.c67 for (node = tq->iutq_head; node != NULL; node = next_node) { in iu_tq_destroy()
116 node->iutn_next->iutn_prev = node; in insert_timer()
131 node->iutn_next->iutn_prev = node->iutn_prev; in remove_timer()
232 for (node = tq->iutq_head; node != NULL; node = node->iutn_next) { in iu_cancel_timer()
261 for (node = tq->iutq_head; node != NULL; node = node->iutn_next) { in iu_adjust_timer()
336 for (node = tq->iutq_head; node != NULL; node = node->iutn_next) in iu_expire_timers()
337 node->iutn_expire_next = node->iutn_next; in iu_expire_timers()
339 for (node = tq->iutq_head; node != NULL; in iu_expire_timers()
340 node = node->iutn_expire_next) { in iu_expire_timers()
372 node->iutn_callback(tq, node->iutn_arg); in iu_expire_timers()
[all …]
/illumos-gate/usr/src/common/avl/
H A Davl.c157 for (node = node->avl_child[left]; in avl_walk()
159 node = node->avl_child[right]) in avl_walk()
167 node = AVL_XPARENT(node); in avl_walk()
189 for (node = tree->avl_root; node != NULL; node = node->avl_child[0]) in avl_first()
208 for (node = tree->avl_root; node != NULL; node = node->avl_child[1]) in avl_last()
264 node = node->avl_child[child]) { in avl_find()
603 node = node->avl_child[child]; in avl_insert_here()
613 node = node->avl_child[child]; in avl_insert_here()
720 node = node->avl_child[right]) in avl_remove()
1036 node = node->avl_child[0]; in avl_destroy_nodes()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Davl.c179 AvlNode *node = malloc(sizeof(*node)); in mkNode() local
192 if (node) { in freeNode()
262 if (node->lr[0] != NULL && node->lr[1] != NULL) { in remove_sm()
415 if (node->balance != h1 - h0 || node->balance < -1 || node->balance > 1) in checkBalances()
444 if (node) in countNode()
469 node = node->lr[dir]; in avl_iter_begin()
473 iter->node = node; in avl_iter_begin()
478 AvlNode *node = iter->node; in avl_iter_next() local
484 node = node->lr[1 - dir]; in avl_iter_next()
488 node = node->lr[dir]; in avl_iter_next()
[all …]
H A Dast-inspect.c10 struct ptr_list *ptrlist = node->ptr; in inspect_ptr_list()
14 node->text = g_strdup_printf("%s %s:", node->text, name); in inspect_ptr_list()
43 void inspect_statement(AstNode *node) in inspect_statement() argument
45 struct statement *stmt = node->ptr; in inspect_statement()
46 node->text = g_strdup_printf("%s %s:", node->text, statement_type_name(stmt->type)); in inspect_statement()
126 void inspect_symbol(AstNode *node) in inspect_symbol() argument
128 struct symbol *sym = node->ptr; in inspect_symbol()
129 node->text = g_strdup_printf("%s %s: %s", node->text, symbol_type_name(sym->type), in inspect_symbol()
188 void inspect_expression(AstNode *node) in inspect_expression() argument
190 struct expression *expr = node->ptr; in inspect_expression()
[all …]
H A Dast-model.c46 if (node->inspect) { in inspect_child_node()
47 node->inspect(node); in inspect_child_node()
56 if (!node) in ast_nth_child()
72 return node != NULL; in ast_set_iter()
264 AstNode *node; in ast_get_iter() local
273 node = ast_nth_child(node, indices[i]); in ast_get_iter()
297 node = node->parent; in ast_get_path()
345 node = ast_nth_child(node->parent, node->index + 1); in ast_iter_next()
464 node->text = text; in ast_new()
466 node->ptr = ptr; in ast_new()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.y52 NODE *node; member
143 %type <node> dummy
175 $$ = node(PACT, $1, node(PRINT, NNULL, NNULL));
282 $$ = node(QUEST, $1, node(COLON, $3, $5));
400 $$ = $<node>3;
406 $$ = node(FOR, node(COMMA, $3, node(COMMA, $5, $7)), $9);
425 $$ = node(FORIN, node(IN, $3, $5), $7);
434 $$ = node(IF, $3, node(ELSE, $5, $7));
437 $$ = node(IF, $3, node(ELSE, $5, NNULL));
513 $$ = node(GETLINE, $4, node(PIPESYM, $1, NNULL));
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c137 if (node == NULL) in topo_node_destroy()
144 topo_node_name(node), topo_node_instance(node)); in topo_node_destroy()
231 ++node->tn_refs; in topo_node_hold()
239 --node->tn_refs; in topo_node_rele()
407 tnode_t *node; in topo_node_lookup() local
468 tnode_t *node; in topo_node_bind() local
546 return (node); in topo_node_bind()
554 tnode_t *node; in topo_node_facbind() local
680 return (node); in topo_node_facbind()
714 topo_node_name(node), topo_node_instance(node), in topo_node_facility()
[all …]
H A Dtopo_prop.c145 topo_node_unlock(node); in prop_method_get()
148 topo_node_lock(node); in prop_method_get()
152 topo_node_lock(node); in prop_method_get()
198 topo_node_unlock(node); in get_properror()
211 topo_node_lock(node); in prop_getval()
784 topo_node_lock(node); in topo_prop_setprop()
934 topo_node_lock(node); in topo_prop_method_register()
940 topo_node_lock(node); in topo_prop_method_register()
953 topo_node_lock(node); in topo_prop_method_version_register()
959 topo_node_lock(node); in topo_prop_method_version_register()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwacl_001_pos.ksh60 typeset node=$1
78 typeset node=$1
92 after_cnt=$(count_ACE $node)
112 typeset node=$1
125 typeset node=$1
147 typeset node=$1
169 typeset node=$1
191 typeset node=$1
208 typeset node=$1
236 typeset func node
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkeypad.c71 node = (t_decode *) malloc(sizeof *node);
77 node->child = node->sibling = (t_decode *) 0;
79 node->key = 0;
82 for (node = *root; *str != '\0'; ++str, node = node->child) {
85 node = node->sibling;
94 saved = node = node->sibling;
95 node->child = node->sibling = (t_decode *) 0;
108 node->child = (t_decode *) malloc(sizeof *node);
114 node = node->child;
115 node->child = node->sibling = (t_decode *) 0;
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c73 node = (t_decode *) malloc(sizeof (*node)); in decode_add()
79 node->child = node->sibling = NULL; in decode_add()
81 node->key = 0; in decode_add()
84 for (node = *root; *str != '\0'; ++str, node = node->child) { in decode_add()
87 node = node->sibling; in decode_add()
95 saved = node = node->sibling; in decode_add()
96 node->child = node->sibling = NULL; in decode_add()
109 node->child = (t_decode *) malloc(sizeof (*node)); in decode_add()
115 node = node->child; in decode_add()
116 node->child = node->sibling = NULL; in decode_add()
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dbridge_rcm.c366 node->vc_linkid, node->vc_bridge, in bridge_undo_offline()
608 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
627 free(node); in node_free()
643 node->vc_next->vc_prev = node; in cache_insert()
644 node->vc_prev->vc_next = node; in cache_insert()
654 node->vc_next->vc_prev = node->vc_prev; in cache_remove()
655 node->vc_prev->vc_next = node->vc_next; in cache_remove()
750 for (; node != &cache_tail; node = node->vc_next) in cache_update()
766 for (node = cache_head.vc_next; node != &cache_tail; node = nnode) { in cache_update()
774 node->vc_resource, node->vc_bridge); in cache_update()
[all …]
H A Dvlan_rcm.c275 node_free(node); in vlan_unregister()
593 node_free(node); in vlan_remove()
777 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
803 free(node); in node_free()
819 node->vc_next->vc_prev = node; in cache_insert()
820 node->vc_prev->vc_next = node; in cache_insert()
830 node->vc_next->vc_prev = node->vc_prev; in cache_remove()
831 node->vc_prev->vc_next = node->vc_next; in cache_remove()
916 free(node); in vlan_update()
974 for (; node != &cache_tail; node = node->vc_next) { in cache_update()
[all …]
H A Dibpart_rcm.c275 node_free(node); in ibpart_unregister()
604 node_free(node); in ibpart_remove()
793 for (; node != &cache_tail; node = node->pc_next) { in cache_lookup()
819 free(node); in node_free()
835 node->pc_next->pc_prev = node; in cache_insert()
836 node->pc_prev->pc_next = node; in cache_insert()
846 node->pc_next->pc_prev = node->pc_prev; in cache_remove()
847 node->pc_prev->pc_next = node->pc_next; in cache_remove()
944 free(node); in ibpart_update()
1002 for (; node != &cache_tail; node = node->pc_next) { in cache_update()
[all …]
H A Dvnic_rcm.c275 node_free(node); in vnic_unregister()
596 node_free(node); in vnic_remove()
780 for (; node != &cache_tail; node = node->vc_next) { in cache_lookup()
806 free(node); in node_free()
822 node->vc_next->vc_prev = node; in cache_insert()
823 node->vc_prev->vc_next = node; in cache_insert()
833 node->vc_next->vc_prev = node->vc_prev; in cache_remove()
834 node->vc_prev->vc_next = node->vc_next; in cache_remove()
928 free(node); in vnic_update()
986 for (; node != &cache_tail; node = node->vc_next) { in cache_update()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhash.c364 if(node) { in _new_HashSymbol()
365 if(node->symbol.data && node->symbol.del_fn) { in _new_HashSymbol()
366 node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code, in _new_HashSymbol()
374 if(!node) in _new_HashSymbol()
458 if(!node) in _find_HashSymbol()
487 if(!node) in _new_HashNode()
537 if(node) { in _del_HashNode()
543 if(node->symbol.data && node->symbol.del_fn) in _del_HashNode()
609 node && hash->keycmp(node->symbol.name, name)!=0; in _find_HashNode()
610 last = node, node=node->next) in _find_HashNode()
[all …]
H A Dstringrp.c137 for(node=sg->head; node; node=node->next) { in _del_StringGroup()
138 if(node->block) in _del_StringGroup()
139 free(node->block); in _del_StringGroup()
242 for(node=sg->head; node && node->unused <= length; node=node->next) in _sg_alloc_string()
247 if(!node) { in _sg_alloc_string()
249 if(!node) in _sg_alloc_string()
254 node->next = NULL; in _sg_alloc_string()
261 if(!node->block) in _sg_alloc_string()
267 sg->head = node; in _sg_alloc_string()
272 copy = node->block + sg->block_size - node->unused; in _sg_alloc_string()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dmisc_link.c260 display(di_minor_t minor, di_node_t node) in display() argument
358 (void) strcpy(path, di_node_name(node)); in node_slash_minor()
383 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); in node_name()
425 conskbd(di_minor_t minor, di_node_t node) in conskbd() argument
432 consms(di_minor_t minor, di_node_t node) in consms() argument
555 gpio(di_minor_t minor, di_node_t node) in gpio() argument
562 drvr_nm = di_driver_name(node); in gpio()
567 devfspath = di_devfs_path(node); in gpio()
592 ppm(di_minor_t minor, di_node_t node) in ppm() argument
682 cpuid(di_minor_t minor, di_node_t node) in cpuid() argument
[all …]
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c156 vt00(di_minor_t minor, di_node_t node) in vt00() argument
169 diskette(di_minor_t minor, di_node_t node) in diskette() argument
174 char *addr = di_bus_addr(node); in diskette()
215 lp(di_minor_t minor, di_node_t node) in lp() argument
217 char *addr = di_bus_addr(node); in lp()
262 serial(di_minor_t minor, di_node_t node) in serial() argument
318 kdmouse(di_minor_t minor, di_node_t node) in kdmouse() argument
325 ipmi(di_minor_t minor, di_node_t node) in ipmi() argument
373 vmmctl(di_minor_t minor, di_node_t node) in vmmctl() argument
381 ppt(di_minor_t minor, di_node_t node) in ppt() argument
[all …]
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c126 hp_node_t node; in hp_fini() local
140 for (node = root; node != NULL; node = node->hp_sibling) in hp_fini()
146 node = root; in hp_fini()
147 while (node) { in hp_fini()
157 free(node); in hp_fini()
158 node = sibling; in hp_fini()
171 hp_node_t node; in hp_traverse() local
183 for (node = root; node; node = node->hp_sibling) { in hp_traverse()
743 for (node = root; node != NULL; node = node->hp_sibling) { in hp_pack()
1061 *retp = node; in i_hp_unpack_branch()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_tlist.c144 ASSERT(node != NULL); in hci1394_tlist_add()
150 node->tln_next = NULL; in hci1394_tlist_add()
204 ASSERT(node != NULL); in hci1394_tlist_delete()
241 ASSERT(node != NULL); in hci1394_tlist_get()
250 if (*node != NULL) { in hci1394_tlist_get()
270 ASSERT(node != NULL); in hci1394_tlist_peek()
359 node = list->tl_head; in hci1394_tlist_callback()
437 if (node != NULL) { in hci1394_tlist_callback()
462 ASSERT(node != NULL); in hci1394_tlist_remove()
486 node->tln_prev->tln_next = node->tln_next; in hci1394_tlist_remove()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c365 struct node node; in eft_node() local
380 if (mdb_vread(&node, sizeof (node), addr) != sizeof (node)) { in eft_node()
388 node.file); in eft_node()
392 switch (node.t) { in eft_node()
400 node.u.name.s); in eft_node()
403 if (node.u.name.cp) { in eft_node()
408 node.u.name.cp); in eft_node()
413 if (node.u.name.child && !node.u.name.childgen) { in eft_node()
440 node.u.globid.s); in eft_node()
501 node.u.quote.s); in eft_node()
[all …]

12345678910>>...41