/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.h | 41 struct node { struct 144 struct node *child; 145 struct node *next; 146 struct node *last; 201 struct node *arglist; 217 struct node *np; 218 struct node *nvpairs; /* for declarations */ 220 struct node *next; /* for Props & Masks lists */ 221 struct node *expr; /* for if statements */ 229 struct node *ename; /* event class name */ [all …]
|
H A D | check.h | 44 void check_report_combination(struct node *np); 45 void check_arrow(struct node *np); 46 void check_stmt_required_properties(struct node *stmtnp); 48 struct node *nvpairnp, struct lut *lutp); 49 void check_propnames(enum nodetype t, struct node *np, int from, int to); 50 void check_propscope(struct node *np); 51 void check_proplists(enum nodetype t, struct node *np); 52 void check_upset_engine(struct node *lhs, struct node *rhs, void *arg); 53 void check_refcount(struct node *lhs, struct node *rhs, void *arg); 55 void check_cycle(struct node *lhs, struct node *rhs, void *arg); [all …]
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_node.c | 140 smb_node_t *node; in smb_node_init() local 165 node = smb_node_alloc("/", rootdir, node_hdr, hashkey); in smb_node_init() 167 smb_llist_insert_head(node_hdr, node); in smb_node_init() 169 smb_root_node = node; /* smb_node_release in smb_node_fini */ in smb_node_init() 193 smb_node_t *node; in smb_node_fini() local 208 node = smb_llist_head(&smb_node_hash_table[i]); in smb_node_fini() 209 ASSERT(node == NULL); in smb_node_fini() 253 smb_node_t *node; in smb_node_lookup() local 299 node = list_head(&node_hdr->ll_list); in smb_node_lookup() 300 while (node) { in smb_node_lookup() [all …]
|
/titanic_41/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 65 iu_timer_node_t *node, *next_node; in iu_tq_destroy() local 67 for (node = tq->iutq_head; node != NULL; node = next_node) { in iu_tq_destroy() 68 next_node = node->iutn_next; in iu_tq_destroy() 69 destroy_timer(tq, node); in iu_tq_destroy() 85 insert_timer(iu_tq_t *tq, iu_timer_node_t *node, uint64_t msec) in insert_timer() argument 98 node->iutn_abs_timeout = gethrtime() + MSEC2NSEC(msec); in insert_timer() 101 tq->iutq_head->iutn_abs_timeout < node->iutn_abs_timeout) in insert_timer() 105 node->iutn_abs_timeout) in insert_timer() 108 node->iutn_next = after ? after->iutn_next : tq->iutq_head; in insert_timer() 109 node->iutn_prev = after; in insert_timer() [all …]
|
/titanic_41/usr/src/common/avl/ |
H A D | avl.c | 138 avl_node_t *node = AVL_DATA2NODE(oldnode, off); in avl_walk() local 146 if (node == NULL) in avl_walk() 155 if (node->avl_child[left] != NULL) { in avl_walk() 156 for (node = node->avl_child[left]; in avl_walk() 157 node->avl_child[right] != NULL; in avl_walk() 158 node = node->avl_child[right]) in avl_walk() 165 was_child = AVL_XCHILD(node); in avl_walk() 166 node = AVL_XPARENT(node); in avl_walk() 167 if (node == NULL) in avl_walk() 174 return (AVL_NODE2DATA(node, off)); in avl_walk() [all …]
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 129 topo_node_destroy(tnode_t *node) in topo_node_destroy() argument 132 tnode_t *pnode = node->tn_parent; in topo_node_destroy() 134 topo_mod_t *hmod, *mod = node->tn_enum; in topo_node_destroy() 136 if (node == NULL) in topo_node_destroy() 140 topo_node_name(node), topo_node_instance(node)); in topo_node_destroy() 142 assert(node->tn_refs == 0); in topo_node_destroy() 148 if (!(node->tn_state & TOPO_NODE_ROOT)) { in topo_node_destroy() 151 nhp = node->tn_phash; in topo_node_destroy() 153 if (node == nhp->th_nodearr[i]) { in topo_node_destroy() 167 topo_node_unlock(node); in topo_node_destroy() [all …]
|
H A D | topo_prop.c | 76 pgroup_get(tnode_t *node, const char *pgname) in pgroup_get() argument 82 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in pgroup_get() 121 prop_method_get(tnode_t *node, topo_propval_t *pv, topo_propmethod_t *pm, in prop_method_get() argument 146 topo_node_unlock(node); in prop_method_get() 147 if (topo_method_call(node, pm->tpm_name, pm->tpm_version, in prop_method_get() 149 topo_node_lock(node); in prop_method_get() 153 topo_node_lock(node); in prop_method_get() 176 prop_get(tnode_t *node, const char *pgname, const char *pname, nvlist_t *pargs, in prop_get() argument 181 if ((pv = propval_get(pgroup_get(node, pgname), pname)) == NULL) { in prop_get() 190 if (prop_method_get(node, pv, pv->tp_method, pargs, err) < 0) in prop_get() [all …]
|
/titanic_41/usr/src/cmd/awk_xpg4/ |
H A D | awk.y | 52 NODE *node; member 64 %token <node> PARM ARRAY UFUNC FIELD IN INDEX CONCAT 65 %token <node> NOT AND OR EXP QUEST 66 %token <node> EQ NE GE LE GT LT 67 %token <node> ADD SUB MUL DIV REM INC DEC PRE_INC PRE_DEC 68 %token <node> GETLINE CALLFUNC RE TILDE NRE 74 %token <node> PRINT PRINTF 75 %token <node> EXIT RETURN BREAK CONTINUE NEXT 76 %token <node> DELETE WHILE DO FOR FORIN IF 82 %token <node> CONSTANT VAR FUNC [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_rwacl_001_pos.ksh | 56 typeset node=$1 62 chgusr_exec $user $LS -vd $node > /dev/null 2>&1 74 typeset node=$1 80 before_cnt=$(count_ACE $node) 84 chgusr_exec $user $CHMOD A0+owner@:read_data:allow $node 88 after_cnt=$(count_ACE $node) 92 chgusr_exec $user $CHMOD A0- $node 108 typeset node=$1 112 $CHMOD A0+owner@:read_acl/write_acl:$acc $node 113 log_must read_ACL $node $ZFS_ACL_CUR_USER [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | keypad.c | 58 t_decode *node, *saved; local 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->key = 0; 82 for (node = *root; *str != '\0'; ++str, node = node->child) { 83 while (node->ch != *str 84 && node->sibling != (t_decode *)0) [all …]
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | keypad.c | 60 t_decode *node, *saved; in decode_add() local 73 node = (t_decode *) malloc(sizeof (*node)); in decode_add() 74 if (node == NULL) in decode_add() 77 *root = saved = node; in decode_add() 79 node->child = node->sibling = NULL; in decode_add() 80 node->ch = *str++; in decode_add() 81 node->key = 0; in decode_add() 84 for (node = *root; *str != '\0'; ++str, node = node->child) { in decode_add() 85 while (node->ch != *str && in decode_add() 86 node->sibling != NULL) in decode_add() [all …]
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 236 link_cache_t *node; in bridge_unregister() local 243 node = cache_head.vc_next; in bridge_unregister() 244 while (node != &cache_tail) { in bridge_unregister() 245 retv = rcm_unregister_interest(hd, node->vc_resource, 0); in bridge_unregister() 248 cache_remove(node); in bridge_unregister() 249 node_free(node); in bridge_unregister() 250 node = cache_head.vc_next; in bridge_unregister() 255 _("Bridge: failed to unregister %s\n"), node->vc_resource); in bridge_unregister() 285 link_cache_t *node; in bridge_offline() local 292 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in bridge_offline() [all …]
|
H A D | vlan_rcm.c | 258 link_cache_t *node; in vlan_unregister() local 264 node = cache_head.vc_next; in vlan_unregister() 265 while (node != &cache_tail) { in vlan_unregister() 266 if (rcm_unregister_interest(hd, node->vc_resource, 0) in vlan_unregister() 270 node->vc_resource); in vlan_unregister() 274 cache_remove(node); in vlan_unregister() 275 node_free(node); in vlan_unregister() 276 node = cache_head.vc_next; in vlan_unregister() 307 link_cache_t *node; in vlan_offline() local 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vlan_offline() [all …]
|
H A D | ibpart_rcm.c | 258 link_cache_t *node; in ibpart_unregister() local 264 node = cache_head.pc_next; in ibpart_unregister() 265 while (node != &cache_tail) { in ibpart_unregister() 266 if (rcm_unregister_interest(hd, node->pc_resource, 0) in ibpart_unregister() 270 node->pc_resource); in ibpart_unregister() 274 cache_remove(node); in ibpart_unregister() 275 node_free(node); in ibpart_unregister() 276 node = cache_head.pc_next; in ibpart_unregister() 307 link_cache_t *node; in ibpart_offline() local 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in ibpart_offline() [all …]
|
H A D | vnic_rcm.c | 258 link_cache_t *node; in vnic_unregister() local 264 node = cache_head.vc_next; in vnic_unregister() 265 while (node != &cache_tail) { in vnic_unregister() 266 if (rcm_unregister_interest(hd, node->vc_resource, 0) in vnic_unregister() 270 node->vc_resource); in vnic_unregister() 274 cache_remove(node); in vnic_unregister() 275 node_free(node); in vnic_unregister() 276 node = cache_head.vc_next; in vnic_unregister() 307 link_cache_t *node; in vnic_offline() local 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vnic_offline() [all …]
|
H A D | aggr_rcm.c | 215 link_cache_t *node; in rcm_mod_fini() local 226 node = cache_head.vc_next; in rcm_mod_fini() 227 while (node != &cache_tail) { in rcm_mod_fini() 228 cache_remove(node); in rcm_mod_fini() 229 node_free(node); in rcm_mod_fini() 230 node = cache_head.vc_next; in rcm_mod_fini() 325 link_cache_t *node; in aggr_unregister() local 331 node = cache_head.vc_next; in aggr_unregister() 332 while (node != &cache_tail) { in aggr_unregister() 333 if (rcm_unregister_interest(hd, node->vc_resource, 0) in aggr_unregister() [all …]
|
/titanic_41/usr/src/lib/libtecla/common/ |
H A D | hash.c | 93 static HashNode *_del_HashNode(HashTable *hash, HashNode *node); 344 HashNode *node; /* The new node */ in _new_HashSymbol() local 359 node = _find_HashNode(hash, bucket, name, NULL); in _new_HashSymbol() 364 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() 367 node->symbol.data); in _new_HashSymbol() 373 node = _new_HashNode(hash, name, code, fn, data, del_fn); in _new_HashSymbol() 374 if(!node) in _new_HashSymbol() 380 node->next = bucket->head; in _new_HashSymbol() [all …]
|
H A D | stringrp.c | 133 StringSegment *node; in _del_StringGroup() local 137 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() 140 node->block = NULL; in _del_StringGroup() 230 StringSegment *node; /* A node of the list of string segments */ in _sg_alloc_string() local 242 for(node=sg->head; node && node->unused <= length; node=node->next) in _sg_alloc_string() 247 if(!node) { in _sg_alloc_string() 248 node = (StringSegment *) _new_FreeListNode(sg->node_mem); in _sg_alloc_string() 249 if(!node) in _sg_alloc_string() [all …]
|
/titanic_41/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 37 static int display(di_minor_t minor, di_node_t node); 38 static int parallel(di_minor_t minor, di_node_t node); 39 static int node_slash_minor(di_minor_t minor, di_node_t node); 40 static int driver_minor(di_minor_t minor, di_node_t node); 41 static int node_name(di_minor_t minor, di_node_t node); 42 static int minor_name(di_minor_t minor, di_node_t node); 43 static int wifi_minor_name(di_minor_t minor, di_node_t node); 44 static int conskbd(di_minor_t minor, di_node_t node); 45 static int consms(di_minor_t minor, di_node_t node); 46 static int power_button(di_minor_t minor, di_node_t node); [all …]
|
/titanic_41/usr/src/lib/libnsctl/common/ |
H A D | hash.c | 47 hash_node_t *node; in nsc_insert_node() local 49 node = (hash_node_t *)malloc(sizeof (hash_node_t)); in nsc_insert_node() 50 if (!node) { in nsc_insert_node() 53 node->key = strdup(key); in nsc_insert_node() 54 node->data = data; in nsc_insert_node() 61 node->next = hash[ index ]; in nsc_insert_node() 62 hash[ index ] = node; in nsc_insert_node() 81 hash_node_t *node; in nsc_lookup() local 84 node = hash[ index ]; in nsc_lookup() 85 while (node) { in nsc_lookup() [all …]
|
/titanic_41/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_tlist.c | 61 hci1394_tlist_node_t *node); 141 hci1394_tlist_node_t *node) in hci1394_tlist_add() argument 144 ASSERT(node != NULL); in hci1394_tlist_add() 150 node->tln_next = NULL; in hci1394_tlist_add() 153 node->tln_on_list = B_TRUE; in hci1394_tlist_add() 157 node->tln_expire_time = gethrtime() + in hci1394_tlist_add() 163 tlist_handle->tl_head = node; in hci1394_tlist_add() 164 tlist_handle->tl_tail = node; in hci1394_tlist_add() 165 node->tln_prev = NULL; in hci1394_tlist_add() 178 tlist_handle->tl_tail->tln_next = node; in hci1394_tlist_add() [all …]
|
/titanic_41/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() 141 node->hp_basepath = NULL; in hp_fini() 146 node = root; in hp_fini() 147 while (node) { in hp_fini() 148 sibling = node->hp_sibling; in hp_fini() 149 if (node->hp_child) in hp_fini() 150 hp_fini(node->hp_child); in hp_fini() 151 if (node->hp_name) in hp_fini() 152 free(node->hp_name); in hp_fini() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eft_mdb.c | 363 struct node node; in eft_node() local 378 if (mdb_vread(&node, sizeof (node), addr) != sizeof (node)) { in eft_node() 384 (uintptr_t)node.file) < 0) in eft_node() 386 node.file); in eft_node() 388 mdb_printf("%s len %d\n", buf, node.line); in eft_node() 390 switch (node.t) { in eft_node() 396 (uintptr_t)node.u.name.s) < 0) in eft_node() 398 node.u.name.s); in eft_node() 401 if (node.u.name.cp) { in eft_node() 404 (uintptr_t)node.u.name.cp) != sizeof (cp)) { in eft_node() [all …]
|
/titanic_41/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 39 static int lp(di_minor_t minor, di_node_t node); 40 static int serial_dialout(di_minor_t minor, di_node_t node); 41 static int serial(di_minor_t minor, di_node_t node); 42 static int diskette(di_minor_t minor, di_node_t node); 43 static int vt00(di_minor_t minor, di_node_t node); 44 static int kdmouse(di_minor_t minor, di_node_t node); 45 static int ipmi(di_minor_t minor, di_node_t node); 46 static int smbios(di_minor_t minor, di_node_t node); 47 static int agp_process(di_minor_t minor, di_node_t node); 48 static int drm_node(di_minor_t minor, di_node_t node); [all …]
|
/titanic_41/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 38 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); 83 ddi_other(di_minor_t minor, di_node_t node) in ddi_other() argument 86 char *nn = di_node_name(node); in ddi_other() [all …]
|