/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
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 *lh [all...] |
H A D | tree.h | 27 * the parse tree is made up of struct node's. the struct is 29 * related to the node, and then type-specific node data. 41 struct node { struct 93 * regardless of the type of node, filename and line number 100 * the variant part of a struct node... 144 struct node *child; 145 struct node *next; 146 struct node *last; 201 struct node *arglis [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.h | 39 struct node *iexpr(struct node *np); 40 int iexpr_cached(struct node *np); 41 void iexpr_free(struct node *np);
|
H A D | eval.h | 43 NODEPTR /* (struct node *) */ 52 int eval_potential(struct node *np, struct lut *ex, struct node *events[], 53 struct node **newc, struct config *croot); 54 int eval_expr(struct node *np, struct lut *ex, struct node *events[],
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_boot.c | 36 pnode_t node; local 43 node = prom_chosennode(); 44 if ((node == OBP_NONODE) || (node == OBP_BADNODE)) 45 node = prom_rootnode(); 46 length = prom_getproplen(node, name); 51 (void) prom_bounded_getprop(node, name, bootargs, length); 68 pnode_t node; local 74 node = prom_chosennode(); 75 if ((node [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | keypad.c | 58 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...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | keypad.c | 60 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/libinetutil/common/ |
H A D | tq.c | 65 iu_timer_node_t *node, *next_node; local 67 for (node = tq->iutq_head; node != NULL; node = next_node) { 68 next_node = node->iutn_next; 69 destroy_timer(tq, node); 76 * insert_timer(): inserts a timer node into a tq's timer list 79 * iu_timer_node_t *: the timer node to insert into the list 85 insert_timer(iu_tq_t *tq, iu_timer_node_t *node, uint64_t msec) argument 90 * find the node t 128 remove_timer(iu_tq_t *tq, iu_timer_node_t *node) argument 147 destroy_timer(iu_tq_t *tq, iu_timer_node_t *node) argument 196 iu_timer_node_t *node = calloc(1, sizeof (iu_timer_node_t)); local 227 iu_timer_node_t *node; local 256 iu_timer_node_t *node; local 317 iu_timer_node_t *node, *next_node; local [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | stringrp.c | 133 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/libnsctl/common/ |
H A D | hash.c | 47 hash_node_t *node; local 49 node = (hash_node_t *)malloc(sizeof (hash_node_t)); 50 if (!node) { 53 node->key = strdup(key); 54 node->data = data; 61 node->next = hash[ index ]; 62 hash[ index ] = node; 71 * Searches the hash to find a node. 75 * pointer to node if found. 81 hash_node_t *node; local 97 hash_node_t *node, *prev; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_node.c | 53 * This transition occurs in smb_node_lookup(). If the node looked for is 54 * not found in the has table a new node is created. The reference count is 61 * reference count will be given out for that node. 70 * The reason the smb node has 2 states is the following synchronization 73 * There's a mutex embedded in the node used to protect its fields and 74 * there's a lock embedded in the bucket of the hash table the node belongs 76 * entered. To insert the node into the bucket and to remove it from the 81 * reference count drops to zero and triggers the deletion of the node, the 83 * remove the node). This creates a window during which the node tha 140 smb_node_t *node; local 193 smb_node_t *node; local 253 smb_node_t *node; local 424 smb_node_ref(smb_node_t *node) argument 464 smb_node_release(smb_node_t *node) argument 511 smb_node_delete_on_close(smb_node_t *node) argument 652 smb_node_set_delete_on_close(smb_node_t *node, cred_t *cr, uint32_t flags) argument 703 smb_node_reset_delete_on_close(smb_node_t *node) argument 725 smb_node_open_check(smb_node_t *node, uint32_t desired_access, uint32_t share_access) argument 755 smb_node_rename_check(smb_node_t *node) argument 786 smb_node_delete_check(smb_node_t *node) argument 829 smb_node_share_check(smb_node_t *node) argument 850 smb_node_fcn_subscribe(smb_node_t *node, smb_request_t *sr) argument 863 smb_node_fcn_unsubscribe(smb_node_t *node, smb_request_t *sr) argument 876 smb_node_notify_change(smb_node_t *node, uint_t action, const char *name) argument 926 smb_node_start_crit(smb_node_t *node, krw_t mode) argument 938 smb_node_end_crit(smb_node_t *node) argument 945 smb_node_in_crit(smb_node_t *node) argument 951 smb_node_rdlock(smb_node_t *node) argument 957 smb_node_wrlock(smb_node_t *node) argument 963 smb_node_unlock(smb_node_t *node) argument 969 smb_node_add_ofile(smb_node_t *node, smb_ofile_t *of) argument 979 smb_node_rem_ofile(smb_node_t *node, smb_ofile_t *of) argument 992 smb_node_inc_open_ofiles(smb_node_t *node) argument 1003 smb_node_dec_open_ofiles(smb_node_t *node) argument 1013 smb_node_inc_opening_count(smb_node_t *node) argument 1023 smb_node_dec_opening_count(smb_node_t *node) argument 1033 smb_node_getmntpath(smb_node_t *node, char *buf, uint32_t buflen) argument 1067 smb_node_getshrpath(smb_node_t *node, smb_tree_t *tree, char *buf, uint32_t buflen) argument 1096 smb_node_getpath(smb_node_t *node, vnode_t *rootvp, char *buf, uint32_t buflen) argument 1145 smb_node_t *node; local 1191 smb_node_free(smb_node_t *node) argument 1263 smb_node_create_audit_buf(smb_node_t *node, int kmflags) argument 1278 smb_node_destroy_audit_buf(smb_node_t *node) argument 1293 smb_node_audit(smb_node_t *node) argument 1326 smb_node_is_file(smb_node_t *node) argument 1333 smb_node_is_dir(smb_node_t *node) argument 1341 smb_node_is_symlink(smb_node_t *node) argument 1349 smb_node_is_dfslink(smb_node_t *node) argument 1357 smb_node_is_reparse(smb_node_t *node) argument 1365 smb_node_is_vfsroot(smb_node_t *node) argument 1372 smb_node_is_system(smb_node_t *node) argument 1387 smb_node_file_is_readonly(smb_node_t *node) argument 1456 smb_node_setattr(smb_request_t *sr, smb_node_t *node, cred_t *cr, smb_ofile_t *of, smb_attr_t *attr) argument 1627 smb_node_getattr(smb_request_t *sr, smb_node_t *node, cred_t *cr, smb_ofile_t *of, smb_attr_t *attr) argument 1746 smb_node_init_reparse(smb_node_t *node, smb_attr_t *attr) argument 1790 smb_node_init_system(smb_node_t *node) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_fem.c | 41 smb_fem_fcn_install(smb_node_t *node) argument 48 smb_fem_fcn_uninstall(smb_node_t *node) argument 54 smb_fem_oplock_install(smb_node_t *node) argument 61 smb_fem_oplock_uninstall(smb_node_t *node) argument
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | treemove.sh | 51 # add node to tree which uses "typeset -m" to move a local variable 57 typeset -C node 58 node.one="hello" 59 node.two="world" 62 typeset -m tr.subtree["a_node"]=node 71 nameref node=tr.subtree["a_node"] 72 node.one="hello" 73 node.two="world"
|
H A D | sun_solaris_cr_6805792_varmovetest1.sh | 32 # The following attempt to move a local node into an associative array 42 # typeset -C node 44 # node.one="hello" 45 # node.two="world" 48 # typeset -m tr.subtree["a_node"]=node 98 # add node to tree which uses "typeset -m" to move a local variable 106 compound node 108 node.one="dummy1" 109 node.two="dummy2" 113 # still reference "node" whic [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dlink_audit.c | 72 obj_list_t *node; local 75 * If we can't allocate the next node in our list, we'll try to emit a 78 if ((node = malloc(sizeof (obj_list_t))) == NULL) { 82 node->ol_next = list; 83 node->ol_name = strdup(lmp->l_name); 84 node->ol_addr = lmp->l_addr; 85 node->ol_lmid = lmid; 86 list = node; 111 obj_list_t *node = list; local 112 char *name = node [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_001_neg.ksh | 52 function err_opts #node 59 log_mustnot usr_exec chmod ${A}owner@:read_data:allow $node 60 log_mustnot usr_exec chmod A+ asd owner@:execute:deny $node 65 log_mustnot usr_exec chmod A+$tp:read_data:deny $node 71 function del_all_ACE #node 73 typeset node=$1 76 cnt=$(count_ACE $node) 79 log_mustnot chmod A0- $node 81 log_must chmod A0- $node 90 function exceed_max_ACE #node [all...] |
H A D | zfs_acl_chmod_rwx_004_pos.ksh | 47 function check_access #log user node access rflag 51 typeset node=$3 56 rwx_node $user $node $access 63 log_note "SUCCESS: rwx_node $user $node $access" 65 log_fail "FAIL: rwx_node $user $node $access" 68 $log rwx_node $user $node $access 72 function verify_explicit_ACL_rule #node access flag 74 typeset node=$1 90 log_must usr_exec chmod A+everyone@:$access:$flag $node 91 log_must usr_exec chmod A+user:$ZFS_ACL_OTHER1:$access:$rflag $node [all...] |
H A D | zfs_acl_chmod_rwacl_001_pos.ksh | 58 function read_ACL #<node> <user1> <user2> ... 60 typeset node=$1 66 chgusr_exec $user ls -vd $node > /dev/null 2>&1 76 function write_ACL #<node> <user1> <user2> ... 78 typeset node=$1 84 before_cnt=$(count_ACE $node) 88 chgusr_exec $user chmod A0+owner@:read_data:allow $node 92 after_cnt=$(count_ACE $node) 96 chgusr_exec $user chmod A0- $node 110 function check_owner #<node> [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 34 * may access node data safely without locks. The exception to this rule 35 * is data associated with node properties (topo_prop.c). Properties 40 * scope of operation: the parent node passed into the enumeration op or those 46 * node property data, and contruct or destroy child nodes for the node 48 * the node for which the method operation is called. This permits 56 * node instances with topo_node_range_create(). topo_node_range_create() 57 * does not allocate any node resources but creates the infrastruture 62 * the node be bound. 64 * Node range and node linkag 129 topo_node_destroy(tnode_t *node) argument 204 topo_node_lock(tnode_t *node) argument 210 topo_node_unlock(tnode_t *node) argument 216 topo_node_hold(tnode_t *node) argument 224 topo_node_rele(tnode_t *node) argument 239 topo_node_name(tnode_t *node) argument 245 topo_node_instance(tnode_t *node) argument 251 topo_node_parent(tnode_t *node) argument 257 topo_node_flags(tnode_t *node) argument 263 topo_node_setspecific(tnode_t *node, void *data) argument 269 topo_node_getspecific(tnode_t *node) argument 389 tnode_t *node; local 424 node_bind_seterror(topo_mod_t *mod, tnode_t *pnode, tnode_t *node, boolean_t pnode_locked, int err) argument 450 tnode_t *node; local 536 tnode_t *node; local 666 topo_node_facility(topo_hdl_t *thp, tnode_t *node, const char *fac_type, uint32_t fac_subtype, topo_faclist_t *faclist, int *errp) argument 750 topo_node_unbind(tnode_t *node) argument 775 topo_node_present(tnode_t *node) argument 789 topo_node_unusable(tnode_t *node) argument 795 topo_node_walk_init(topo_hdl_t *thp, topo_mod_t *mod, tnode_t *node, int (*cb_f)(), void *pdata, int *errp) argument [all...] |
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk.y | 52 NODE *node; 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> CONSTAN [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | machdep.c | 53 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...] |
H A D | sun4dep.c | 46 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/lib/libhotplug/common/ |
H A D | libhotplug.h | 37 * Define node types in hotplug snapshot. 81 int hp_type(hp_node_t node); 82 char *hp_name(hp_node_t node); 83 char *hp_usage(hp_node_t node); 84 int hp_state(hp_node_t node); 85 char *hp_description(hp_node_t node); 86 time_t hp_last_change(hp_node_t node); 87 hp_node_t hp_parent(hp_node_t node); 88 hp_node_t hp_child(hp_node_t node); 89 hp_node_t hp_sibling(hp_node_t node); [all...] |
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 38 * any given node, the left and right subtrees are allowed to differ in height 66 * - The left/right children pointers of a node are in an array. 76 * int left_heavy; // -1 when left subtree is taller at some node, 91 * pointer) is set to indicate if that the new node has a value greater 123 * Walk from one node to the previous valued node (ie. an infix walk 124 * towards the left). At any given node we do one of 2 things: 133 * otherwise next node 139 avl_node_t *node = AVL_DATA2NODE(oldnode, off); local 147 if (node 185 avl_node_t *node; local 204 avl_node_t *node; local 229 avl_node_t *node = AVL_INDEX2NODE(where); local 257 avl_node_t *node; local 303 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument 484 avl_node_t *node; local 578 avl_node_t *node; local 682 avl_node_t *node; local 975 avl_node_t *node; local [all...] |
/illumos-gate/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); 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...] |