| /mirbsd/src/sys/dev/raidframe/ |
| D | rf_dagfuncs.c | 108 rf_TerminateFunc(RF_DagNode_t *node) in rf_TerminateFunc() argument 110 RF_ASSERT(node->dagHdr->numCommits == node->dagHdr->numCommitNodes); in rf_TerminateFunc() 111 node->status = rf_good; in rf_TerminateFunc() 112 return (rf_FinishNode(node, RF_THREAD_CONTEXT)); in rf_TerminateFunc() 116 rf_TerminateUndoFunc(RF_DagNode_t *node) in rf_TerminateUndoFunc() argument 136 rf_DiskReadMirrorIdleFunc(RF_DagNode_t *node) in rf_DiskReadMirrorIdleFunc() argument 143 rf_SelectMirrorDiskIdle(node); in rf_DiskReadMirrorIdleFunc() 144 return (rf_DiskReadFunc(node)); in rf_DiskReadMirrorIdleFunc() 148 rf_DiskReadMirrorPartitionFunc(RF_DagNode_t *node) in rf_DiskReadMirrorPartitionFunc() argument 155 rf_SelectMirrorDiskPartition(node); in rf_DiskReadMirrorPartitionFunc() [all …]
|
| D | rf_engine.c | 214 rf_BranchDone(RF_DagNode_t *node) in rf_BranchDone() argument 222 switch (node->status) { in rf_BranchDone() 232 for (i = 0; i < node->numSuccedents; i++) in rf_BranchDone() 234 if (!rf_BranchDone(node->succedents[i])) in rf_BranchDone() 263 rf_NodeReady(RF_DagNode_t *node) in rf_NodeReady() argument 267 switch (node->dagHdr->status) { in rf_NodeReady() 270 if ((node->status == rf_wait) && in rf_NodeReady() 271 (node->numAntecedents == node->numAntDone)) in rf_NodeReady() 277 RF_ASSERT(node->numSuccDone <= node->numSuccedents); in rf_NodeReady() 278 RF_ASSERT(node->numSuccFired <= node->numSuccedents); in rf_NodeReady() [all …]
|
| D | rf_evenodd_dagfuncs.c | 76 rf_RegularPEFunc(RF_DagNode_t *node) in rf_RegularPEFunc() argument 78 rf_RegularESubroutine(node, node->results[1]); in rf_RegularPEFunc() 79 rf_RegularXorFunc(node); /* Do the wakeup here ! */ in rf_RegularPEFunc() 112 rf_RegularONEFunc(RF_DagNode_t *node) in rf_RegularONEFunc() argument 114 RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p; in rf_RegularONEFunc() 116 int EpdaIndex = (node->numParams - 1) / 2 - 1; /* in rf_RegularONEFunc() 125 RF_AccTraceEntry_t *tracerec = node->dagHdr->tracerec; in rf_RegularONEFunc() 128 node->params[EpdaIndex].p; in rf_RegularONEFunc() 143 ((RF_PhysDiskAddr_t *) node->params[k].p)->numSector); in rf_RegularONEFunc() 144 retcode = rf_bxor(node->params[k + EpdaIndex + 3].p, in rf_RegularONEFunc() [all …]
|
| D | rf_dagutils.c | 75 RF_DagNode_t *node, in rf_InitNode() argument 79 int (*undoFunc) (RF_DagNode_t *node), in rf_InitNode() 80 int (*wakeFunc) (RF_DagNode_t *node, int), in rf_InitNode() 95 node->status = initstatus; in rf_InitNode() 96 node->commitNode = commit; in rf_InitNode() 97 node->doFunc = doFunc; in rf_InitNode() 98 node->undoFunc = undoFunc; in rf_InitNode() 99 node->wakeFunc = wakeFunc; in rf_InitNode() 100 node->numParams = nParam; in rf_InitNode() 101 node->numResults = nResult; in rf_InitNode() [all …]
|
| D | rf_pq.c | 61 rf_RegularONPFunc(RF_DagNode_t *node) in rf_RegularONPFunc() argument 63 return (rf_RegularXorFunc(node)); in rf_RegularONPFunc() 72 rf_SimpleONPFunc(RF_DagNode_t *node) in rf_SimpleONPFunc() argument 74 return (rf_SimpleXorFunc(node)); in rf_SimpleONPFunc() 78 rf_RecoveryPFunc(RF_DagNode_t *node) in rf_RecoveryPFunc() argument 80 return (rf_RecoveryXorFunc(node)); in rf_RecoveryPFunc() 84 rf_RegularPFunc(RF_DagNode_t *node) in rf_RegularPFunc() argument 86 return (rf_RegularXorFunc(node)); in rf_RegularPFunc() 294 rf_RegularONQFunc(RF_DagNode_t *node) in rf_RegularONQFunc() argument 296 int np = node->numParams; in rf_RegularONQFunc() [all …]
|
| /mirbsd/src/bin/systrace/ |
| D | parse.y | 291 struct logic *node; variable 292 node = calloc(1, sizeof(struct logic)); 293 if (node == NULL) { 297 node->op = LOGIC_NOT; 298 node->left = $2; 299 $$ = node; 307 struct logic *node; variable 308 node = calloc(1, sizeof(struct logic)); 309 if (node == NULL) { 313 node->op = LOGIC_AND; [all …]
|
| /mirbsd/src/usr.sbin/makefs/cd9660/ |
| D | iso9660_rrip.c | 57 cd9660_susp_initialize(cd9660node *node, cd9660node *parent, in cd9660_susp_initialize() argument 64 assert(node != NULL); in cd9660_susp_initialize() 71 if (!(node->type & CD9660_TYPE_DOT) && in cd9660_susp_initialize() 72 !(node->type & CD9660_TYPE_DOTDOT)) in cd9660_susp_initialize() 73 TAILQ_INIT(&(node->head)); in cd9660_susp_initialize() 74 if (node->dot_record != 0) in cd9660_susp_initialize() 75 TAILQ_INIT(&(node->dot_record->head)); in cd9660_susp_initialize() 76 if (node->dot_dot_record != 0) in cd9660_susp_initialize() 77 TAILQ_INIT(&(node->dot_dot_record->head)); in cd9660_susp_initialize() 80 if ((r = cd9660_susp_initialize_node(node)) < 0) in cd9660_susp_initialize() [all …]
|
| D | cd9660_archimedes.c | 79 archimedes_convert_node(cd9660node *node) in archimedes_convert_node() argument 86 if (node->su_tail_data != NULL) in archimedes_convert_node() 90 len = strlen(node->node->name); in archimedes_convert_node() 93 if (len >= 4 && node->node->name[len-4] == ',') in archimedes_convert_node() 95 type = strtoul(node->node->name + len - 3, NULL, 16); in archimedes_convert_node() 96 if (type == -1 && node->node->name[0] != '!') in archimedes_convert_node() 106 stamp = riscos_date(node->node->inode->st.st_mtime); in archimedes_convert_node() 112 arc->cdfs_attr = node->node->name[0] == '!' ? CDFS_PLING : 0; in archimedes_convert_node() 113 node->su_tail_data = (void *)arc; in archimedes_convert_node() 114 node->su_tail_size = sizeof(*arc); in archimedes_convert_node() [all …]
|
| /mirbsd/src/sbin/isakmpd/ |
| D | conf.c | 184 struct conf_binding *node = 0; in conf_set_now() local 194 node = calloc(1, sizeof *node); in conf_set_now() 195 if (!node) { in conf_set_now() 197 (unsigned long)sizeof *node); in conf_set_now() 200 node->section = node->tag = node->value = NULL; in conf_set_now() 201 if ((node->section = strdup(section)) == NULL) in conf_set_now() 203 if ((node->tag = strdup(tag)) == NULL) in conf_set_now() 205 if ((node->value = strdup(value)) == NULL) in conf_set_now() 207 node->is_default = is_default; in conf_set_now() 209 LIST_INSERT_HEAD(&conf_bindings[conf_hash(section)], node, link); in conf_set_now() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/libiberty/ |
| D | fibheap.c | 66 fibnode_t node; in fibnode_new() local 68 node = (fibnode_t) xcalloc (1, sizeof *node); in fibnode_new() 69 node->left = node; in fibnode_new() 70 node->right = node; in fibnode_new() 72 return node; in fibnode_new() 100 fibnode_t node; in fibheap_insert() local 103 node = fibnode_new (); in fibheap_insert() 106 node->data = data; in fibheap_insert() 107 node->key = key; in fibheap_insert() 110 fibheap_ins_root (heap, node); in fibheap_insert() [all …]
|
| D | splay-tree.c | 53 splay_tree_delete_helper (splay_tree sp, splay_tree_node node) in splay_tree_delete_helper() argument 58 if (!node) in splay_tree_delete_helper() 64 KDEL (node->key); in splay_tree_delete_helper() 65 VDEL (node->value); in splay_tree_delete_helper() 68 node->key = (splay_tree_key)pending; in splay_tree_delete_helper() 69 pending = (splay_tree_node)node; in splay_tree_delete_helper() 115 splay_tree_node *node, splay_tree_node *parent, in splay_tree_splay_helper() argument 122 n = *node; in splay_tree_splay_helper() 142 n = splay_tree_splay_helper (sp, key, next, node, parent); in splay_tree_splay_helper() 146 if (*node != n) in splay_tree_splay_helper() [all …]
|
| /mirbsd/src/gnu/usr.bin/texinfo/info/ |
| D | nodemenu.c | 48 format_node_info (NODE *node) in format_node_info() argument 57 if (node->parent) in format_node_info() 59 parent = filename_non_directory (node->parent); in format_node_info() 61 parent = node->parent; in format_node_info() 66 containing_file = node->filename; in format_node_info() 69 sprintf (line_buffer, "* %s::", node->nodename); in format_node_info() 85 sprintf (line_buffer, "* (%s)%s::", file, node->nodename); in format_node_info() 93 for (i = 0; i < node->nodelen; i++) in format_node_info() 94 if (node->contents[i] == '\n') in format_node_info() 101 sprintf (line_buffer + len, "%ld", node->nodelen); in format_node_info() [all …]
|
| /mirbsd/src/usr.bin/bc/ |
| D | bc.y | 74 static ssize_t node(ssize_t, ...); 124 ssize_t node; member 151 %type <node> argument_list 152 %type <node> alloc_macro 153 %type <node> expression 154 %type <node> function 155 %type <node> function_header 156 %type <node> input_item 157 %type <node> opt_argument_list 158 %type <node> opt_expression [all …]
|
| /mirbsd/src/sbin/pfctl/ |
| D | pfctl_qstats.c | 86 struct pf_altq_node *root = NULL, *node; in pfctl_show_altq() local 95 for (node = root; node != NULL; node = node->next) { in pfctl_show_altq() 96 if (iface != NULL && strcmp(node->altq.ifname, iface)) in pfctl_show_altq() 102 pfctl_print_altq_node(dev, node, 0, opts); in pfctl_show_altq() 111 for (node = root; node != NULL; node = node->next) { in pfctl_show_altq() 112 if (iface != NULL && strcmp(node->altq.ifname, iface)) in pfctl_show_altq() 114 pfctl_print_altq_node(dev, node, 0, opts); in pfctl_show_altq() 124 struct pf_altq_node *node; in pfctl_update_qstats() local 162 if ((node = pfctl_find_altq_node(*root, pa.altq.qname, in pfctl_update_qstats() 164 memcpy(&node->qstats.data, &qstats.data, in pfctl_update_qstats() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/x2p/ |
| D | walk.c | 31 static void numericize ( int node ); 34 int prewalk ( int numit, int level, int node, int *numericptr ); 35 STR * walk ( int useval, int level, int node, int *numericptr, int minprec ); 43 walk(int useval, int level, register int node, int *numericptr, int minprec) in walk() argument 59 if (!node) { in walk() 63 type = ops[node].ival; in walk() 84 str = walk(0,level,ops[node+1].ival,&numarg,P_MIN); in walk() 120 if (ops[node+2].ival) { in walk() 121 str_scat(str,fstr=walk(0,level,ops[node+2].ival,&numarg,P_MIN)); in walk() 125 fstr = walk(0,level+1,ops[node+3].ival,&numarg,P_MIN); in walk() [all …]
|
| /mirbsd/src/usr.sbin/map-mbone/ |
| D | mapper.c | 70 typedef struct node { struct 75 struct node *alias; /* If alias, to what? */ argument 78 struct node *left, *right; argument 92 Interface * find_interface(u_int32_t addr, Node *node); 93 Neighbor * find_neighbor(u_int32_t addr, Node *node); 97 int retry_requests(Node *node); 99 void print_map(Node *node); 101 void graph_edges(Node *node); 102 void elide_aliases(Node *node); 128 Interface *find_interface(u_int32_t addr, Node *node) in find_interface() argument [all …]
|
| /mirbsd/src/usr.bin/tsort/ |
| D | tsort.c | 86 struct node; 91 struct node *node; member 96 struct node { struct 105 struct node *from; /* Previous node in the current path. */ argument 116 struct node **t; 120 static struct node *node_lookup(struct ohash *, const char *, const char *); 122 static struct node *new_node(const char *, const char *); 128 static void insert_arc(struct node *, struct node *); 131 static void dump_node(struct node *); 137 static struct node *find_smallest_node(struct array *); [all …]
|
| /mirbsd/src/usr.sbin/httpd/src/modules/ssl/ |
| D | ssl_expr_eval.c | 78 BOOL ssl_expr_eval(request_rec *r, ssl_expr *node) in ssl_expr_eval() argument 80 switch (node->node_op) { in ssl_expr_eval() 88 ssl_expr *e = (ssl_expr *)node->node_arg1; in ssl_expr_eval() 92 ssl_expr *e1 = (ssl_expr *)node->node_arg1; in ssl_expr_eval() 93 ssl_expr *e2 = (ssl_expr *)node->node_arg2; in ssl_expr_eval() 97 ssl_expr *e1 = (ssl_expr *)node->node_arg1; in ssl_expr_eval() 98 ssl_expr *e2 = (ssl_expr *)node->node_arg2; in ssl_expr_eval() 102 ssl_expr *e = (ssl_expr *)node->node_arg1; in ssl_expr_eval() 112 static BOOL ssl_expr_eval_comp(request_rec *r, ssl_expr *node) in ssl_expr_eval_comp() argument 114 switch (node->node_op) { in ssl_expr_eval_comp() [all …]
|
| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | fileattr.c | 60 fileattr_delproc (Node *node) in fileattr_delproc() argument 62 assert (node->data != NULL); in fileattr_delproc() 63 free (node->data); in fileattr_delproc() 64 node->data = NULL; in fileattr_delproc() 173 Node *node; in fileattr_get() local 188 node = findnode (attrlist, filename); in fileattr_get() 189 if (node == NULL) in fileattr_get() 192 p = node->data; in fileattr_get() 329 Node *node; in fileattr_set() local 352 node = findnode (attrlist, filename); in fileattr_set() [all …]
|
| /mirbsd/src/usr.bin/find/ |
| D | operator.c | 57 PLAN *node; /* top node removed from the plan */ in yanknode() local 59 if ((node = (*planp)) == NULL) in yanknode() 62 node->next = NULL; in yanknode() 63 return (node); in yanknode() 76 PLAN *node; /* pointer to returned node or expression */ in yankexpr() local 82 if ((node = yanknode(planp)) == NULL) in yankexpr() 91 if (node->type == N_OPENPAREN) in yankexpr() 105 node->p_data[0] = subplan; in yankexpr() 106 node->type = N_EXPR; in yankexpr() 107 node->eval = f_expr; in yankexpr() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Pod/ |
| D | ParseUtils.pm | 266 $self->{-node} ||= ''; 287 my ($alttext,$page,$node,$type,$quoted) = (undef,'','','',0); 322 ($alttext, $page, $node) = ($1, $2, $3); 333 ($alttext, $node) = ($1,$2); 339 ($page, $node) = ($1, $2); 345 ($page, $node) = ($1, $2); 350 $node = $1; 356 $node = $1; 361 $node = $1; 366 ($alttext, $page, $node) = ($1, $2, $3); [all …]
|
| /mirbsd/src/sys/arch/sparc/sparc/ |
| D | autoconf.c | 278 register int node; in bootstrap() local 286 if ((node = opennode("/obio/interrupt")) == 0) in bootstrap() 287 if ((node=search_prom(findroot(),"interrupt"))==0) in bootstrap() 291 if (!romprop(&ra, "interrupt", node)) in bootstrap() 344 if ((node = opennode("/obio/counter")) == 0) in bootstrap() 345 if ((node=search_prom(findroot(),"counter"))==0) in bootstrap() 348 if (!romprop(&ra, "counter", node)) in bootstrap() 799 register int node = 0; in cpu_configure() local 861 node = findroot(); in cpu_configure() 862 cp = getpropstring(node, "device_type"); in cpu_configure() [all …]
|
| D | cpu.c | 171 register int node; local 177 sc->node = node = ca->ca_ra.ra_node; 182 if (node == 0) 185 sc->mid = getpropint(node, "mid", 0); 214 getcpuinfo(sc, node); 367 void getcacheinfo_sun4(struct cpu_softc *, int node); 368 void getcacheinfo_sun4c(struct cpu_softc *, int node); 369 void getcacheinfo_obp(struct cpu_softc *, int node); 402 cpumatch_unknown(sc, mp, node) in cpumatch_unknown() argument 405 int node; [all …]
|
| /mirbsd/src/gnu/usr.bin/texinfo/makeinfo/ |
| D | node.c | 52 free (temp->node); in init_tag_table() 67 TAG_ENTRY *node; in write_tag_table_internal() local 92 for (node = tag_table; node; node = node->next_ent) in write_tag_table_internal() 94 if (node->flags & TAG_FLAG_ANCHOR) in write_tag_table_internal() 96 execute_string ("Ref: %s", node->node); in write_tag_table_internal() 100 execute_string ("Node: %s", node->node); in write_tag_table_internal() 102 add_word_args ("\177%d\n", node->position); in write_tag_table_internal() 165 expand_node_name (char *node) in expand_node_name() argument 167 char *result = node; in expand_node_name() 169 if (node) in expand_node_name() [all …]
|
| /mirbsd/src/usr.bin/ctags/ |
| D | tree.c | 98 add_node(NODE *node, NODE *cur_node) in add_node() argument 102 dif = strcmp(node->entry, cur_node->entry); in add_node() 104 if (node->file == cur_node->file) { in add_node() 108 node->file, lineno, node->entry); in add_node() 115 node->file, cur_node->file, node->entry); in add_node() 120 add_node(node, cur_node->left); in add_node() 122 cur_node->left = node; in add_node() 124 add_node(node, cur_node->right); in add_node() 126 cur_node->right = node; in add_node() 130 free_tree(NODE *node) in free_tree() argument [all …]
|