/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_node.c | 216 (void *)node, node->od_name); in smb_node_fini() 312 while (node) { in smb_node_lookup() 315 if ((node->n_hashkey == hashkey) && (node->vp == vp)) { in smb_node_lookup() 357 node = smb_llist_next(node_hdr, node); in smb_node_lookup() 390 return (node); in smb_node_lookup() 515 smb_llist_remove(node->n_hash_bucket, node); in smb_node_release() 1130 ASSERT(node); in smb_node_getmntpath() 1134 vp = node->vp; in smb_node_getmntpath() 1163 ASSERT(node); in smb_node_getshrpath() 1194 unode = (SMB_IS_STREAM(node)) ? node->n_unode : node; in smb_node_getpath() [all …]
|
H A D | smb_cmn_oplock.c | 662 node->n_oplock.cnt_II--; in smb_oplock_req_excl() 807 node->n_oplock.cnt_R--; in smb_oplock_req_excl() 876 node->n_oplock.cnt_RH--; in smb_oplock_req_excl() 1221 node->n_oplock.cnt_R--; in smb_oplock_req_shared() 1239 node->n_oplock.cnt_II++; in smb_oplock_req_shared() 1244 node->n_oplock.cnt_R++; in smb_oplock_req_shared() 1319 node->n_oplock.cnt_R--; in smb_oplock_req_shared() 1373 node->n_oplock.cnt_RH++; in smb_oplock_req_shared() 2403 node->n_oplock.cnt_II--; in smb_oplock_break_CLOSE() 2449 node->n_oplock.cnt_R--; in smb_oplock_break_CLOSE() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.h | 274 struct node *tree_root(struct node *np); 276 struct node *tree_expr(enum nodetype t, struct node *left, struct node *right); 277 struct node *tree_event(struct node *ename, struct node *epname, 279 struct node *tree_if(struct node *expr, struct node *stmts, 285 struct node *tree_name_append(struct node *np1, struct node *np2); 288 struct node *tree_name_iterator(struct node *np1, struct node *np2); 295 struct node *tree_pname(struct node *np); 296 struct node *tree_arrow(struct node *lhs, struct node *nnp, struct node *knp, 301 struct node *namep, struct node *np); 305 struct node *enp, struct node *np); [all …]
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 67 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 D | avl.c | 142 for (node = node->avl_child[left]; in avl_walk() 144 node = node->avl_child[right]) in avl_walk() 152 node = AVL_XPARENT(node); in avl_walk() 174 for (node = tree->avl_root; node != NULL; node = node->avl_child[0]) in avl_first() 193 for (node = tree->avl_root; node != NULL; node = node->avl_child[1]) in avl_last() 249 node = node->avl_child[child]) { in avl_find() 587 node = node->avl_child[child]; in avl_insert_here() 597 node = node->avl_child[child]; in avl_insert_here() 704 node = node->avl_child[right]) in avl_remove() 1020 node = node->avl_child[0]; in avl_destroy_nodes() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | avl.c | 179 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 D | ast-inspect.c | 10 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 D | ast-model.c | 46 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 D | awk.y | 52 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 D | topo_node.c | 137 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 D | topo_prop.c | 150 topo_node_unlock(node); in prop_method_get() 153 topo_node_lock(node); in prop_method_get() 157 topo_node_lock(node); in prop_method_get() 203 topo_node_unlock(node); in get_properror() 216 topo_node_lock(node); in prop_getval() 790 topo_node_lock(node); in topo_prop_setprop() 940 topo_node_lock(node); in topo_prop_method_register() 946 topo_node_lock(node); in topo_prop_method_register() 959 topo_node_lock(node); in topo_prop_method_version_register() 965 topo_node_lock(node); in topo_prop_method_version_register() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | keypad.c | 69 node = (t_decode *) malloc(sizeof *node); 75 node->child = node->sibling = (t_decode *) 0; 77 node->key = 0; 80 for (node = *root; *str != '\0'; ++str, node = node->child) { 83 node = node->sibling; 92 saved = node = node->sibling; 93 node->child = node->sibling = (t_decode *) 0; 106 node->child = (t_decode *) malloc(sizeof *node); 112 node = node->child; 113 node->child = node->sibling = (t_decode *) 0; [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | keypad.c | 71 node = (t_decode *) malloc(sizeof (*node)); in decode_add() 77 node->child = node->sibling = NULL; in decode_add() 79 node->key = 0; in decode_add() 82 for (node = *root; *str != '\0'; ++str, node = node->child) { in decode_add() 85 node = node->sibling; in decode_add() 93 saved = node = node->sibling; in decode_add() 94 node->child = node->sibling = NULL; in decode_add() 107 node->child = (t_decode *) malloc(sizeof (*node)); in decode_add() 113 node = node->child; in decode_add() 114 node->child = node->sibling = NULL; in decode_add() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 366 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 D | vlan_rcm.c | 275 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 D | ibpart_rcm.c | 275 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 D | vnic_rcm.c | 275 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/uts/common/io/1394/adapters/ |
H A D | hci1394_tlist.c | 136 ASSERT(node != NULL); in hci1394_tlist_add() 141 node->tln_next = NULL; in hci1394_tlist_add() 193 ASSERT(node != NULL); in hci1394_tlist_delete() 225 ASSERT(node != NULL); in hci1394_tlist_get() 233 if (*node != NULL) { in hci1394_tlist_get() 251 ASSERT(node != NULL); in hci1394_tlist_peek() 325 node = list->tl_head; in hci1394_tlist_callback() 403 if (node != NULL) { in hci1394_tlist_callback() 425 ASSERT(node != NULL); in hci1394_tlist_remove() 447 node->tln_prev->tln_next = node->tln_next; in hci1394_tlist_remove() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwacl_001_pos.ksh | 61 typeset node=$1 79 typeset node=$1 93 after_cnt=$(count_ACE $node) 113 typeset node=$1 135 typeset node=$1 158 typeset node=$1 182 typeset node=$1 205 typeset node=$1 226 typeset node=$1 268 typeset func node [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 362 if(node) { in _new_HashSymbol() 363 if(node->symbol.data && node->symbol.del_fn) { in _new_HashSymbol() 364 node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code, in _new_HashSymbol() 372 if(!node) in _new_HashSymbol() 456 if(!node) in _find_HashSymbol() 485 if(!node) in _new_HashNode() 535 if(node) { in _del_HashNode() 541 if(node->symbol.data && node->symbol.del_fn) in _del_HashNode() 607 node && hash->keycmp(node->symbol.name, name)!=0; in _find_HashNode() 608 last = node, node=node->next) in _find_HashNode() [all …]
|
H A D | stringrp.c | 135 for(node=sg->head; node; node=node->next) { in _del_StringGroup() 136 if(node->block) in _del_StringGroup() 137 free(node->block); in _del_StringGroup() 240 for(node=sg->head; node && node->unused <= length; node=node->next) in _sg_alloc_string() 245 if(!node) { in _sg_alloc_string() 247 if(!node) in _sg_alloc_string() 252 node->next = NULL; in _sg_alloc_string() 259 if(!node->block) in _sg_alloc_string() 265 sg->head = node; in _sg_alloc_string() 270 copy = node->block + sg->block_size - node->unused; in _sg_alloc_string() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 160 vt00(di_minor_t minor, di_node_t node) in vt00() argument 173 diskette(di_minor_t minor, di_node_t node) in diskette() argument 178 char *addr = di_bus_addr(node); in diskette() 219 lp(di_minor_t minor, di_node_t node) in lp() argument 221 char *addr = di_bus_addr(node); in lp() 266 serial(di_minor_t minor, di_node_t node) in serial() argument 322 kdmouse(di_minor_t minor, di_node_t node) in kdmouse() argument 329 ipmi(di_minor_t minor, di_node_t node) in ipmi() argument 377 vmmctl(di_minor_t minor, di_node_t node) in vmmctl() argument 385 ppt(di_minor_t minor, di_node_t node) in ppt() argument [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 272 display(di_minor_t minor, di_node_t node) in display() argument 370 (void) strcpy(path, di_node_name(node)); in node_slash_minor() 395 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); in node_name() 437 conskbd(di_minor_t minor, di_node_t node) in conskbd() argument 444 consms(di_minor_t minor, di_node_t node) in consms() argument 567 gpio(di_minor_t minor, di_node_t node) in gpio() argument 574 drvr_nm = di_driver_name(node); in gpio() 579 devfspath = di_devfs_path(node); in gpio() 604 ppm(di_minor_t minor, di_node_t node) in ppm() argument 714 cpuid(di_minor_t minor, di_node_t node) in cpuid() argument [all …]
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 126 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/cmd/fm/modules/common/eversholt/ |
H A D | eft_mdb.c | 365 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 …]
|