Home
last modified time | relevance | path

Searched refs:newnode (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/bsd/unbound/dist/edns-subnet/
H A Daddrtree.c365 struct addrnode *newnode, *node; in addrtree_insert() local
404 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
405 if (!newnode) return; in addrtree_insert()
406 if (!edge_create(newnode, addr, sourcemask, node, in addrtree_insert()
408 clean_node(tree, newnode); in addrtree_insert()
410 free(newnode); in addrtree_insert()
413 tree->size_bytes += node_size(tree, newnode); in addrtree_insert()
414 lru_push(tree, newnode); in addrtree_insert()
431 if (!(newnode = node_create(tree, NULL, 0, 0))) in addrtree_insert()
434 if (!edge_create(newnode, addr, common, node, index)) { in addrtree_insert()
[all …]
/netbsd-src/external/mit/libuv/dist/src/
H A Dheap-inl.h53 struct heap_node* newnode,
107 struct heap_node* newnode, in HEAP_EXPORT() argument
115 newnode->left = NULL; in HEAP_EXPORT()
116 newnode->right = NULL; in HEAP_EXPORT()
117 newnode->parent = NULL; in HEAP_EXPORT()
139 newnode->parent = *parent; in HEAP_EXPORT()
140 *child = newnode; in HEAP_EXPORT()
146 while (newnode->parent != NULL && less_than(newnode, newnode->parent)) in HEAP_EXPORT()
147 heap_node_swap(heap, newnode->parent, newnode); in HEAP_EXPORT()
/netbsd-src/sys/dev/microcode/aic7xxx/
H A Daicasm_symbol.c225 symbol_node_t *newnode; in symlist_add() local
227 newnode = (symbol_node_t *)malloc(sizeof(symbol_node_t)); in symlist_add()
228 if (newnode == NULL) { in symlist_add()
232 newnode->symbol = symbol; in symlist_add()
258 && (curnode->symbol->type > newnode->symbol->type in symlist_add()
259 || (curnode->symbol->type == newnode->symbol->type in symlist_add()
261 newnode->symbol->info.finfo->value)))) in symlist_add()
263 newnode->symbol->info.rinfo->address))) { in symlist_add()
264 SLIST_INSERT_HEAD(symlist, newnode, links); in symlist_add()
270 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dfileattr.c112 Node *newnode; in fileattr_read() local
120 newnode = getnode (); in fileattr_read()
121 newnode->type = FILEATTR; in fileattr_read()
122 newnode->delproc = fileattr_delproc; in fileattr_read()
123 newnode->key = xstrdup (line + 1); in fileattr_read()
124 newnode->data = xstrdup (p); in fileattr_read()
125 if (addnode (attrlist, newnode) != 0) in fileattr_read()
130 freenode (newnode); in fileattr_read()
/netbsd-src/usr.sbin/ofctl/
H A Dofctl.c143 struct of_node *newnode; in of_tree_mknode() local
144 newnode = malloc(sizeof(*newnode)); in of_tree_mknode()
145 if (newnode == NULL) in of_tree_mknode()
146 err(1, "malloc(%zu)", sizeof(*newnode)); in of_tree_mknode()
150 memset(newnode, 0, sizeof(*newnode)); in of_tree_mknode()
151 TAILQ_INIT(&newnode->of_children); in of_tree_mknode()
152 TAILQ_INIT(&newnode->of_properties); in of_tree_mknode()
153 newnode->of_parent = parent; in of_tree_mknode()
155 TAILQ_INSERT_TAIL(&parent->of_children, newnode, of_sibling); in of_tree_mknode()
157 return newnode; in of_tree_mknode()
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_vnops.c244 struct v7fs_node *newnode = (*a->a_vpp)->v_data; in v7fs_create() local
245 newnode->update_ctime = true; in v7fs_create()
246 newnode->update_mtime = true; in v7fs_create()
247 newnode->update_atime = true; in v7fs_create()
297 struct v7fs_node *newnode = (*a->a_vpp)->v_data; in v7fs_mknod() local
298 newnode->update_ctime = true; in v7fs_mknod()
299 newnode->update_mtime = true; in v7fs_mknod()
300 newnode->update_atime = true; in v7fs_mknod()
871 struct v7fs_node *newnode = (*a->a_vpp)->v_data; in v7fs_mkdir() local
872 newnode->update_ctime = true; in v7fs_mkdir()
[all …]
/netbsd-src/usr.sbin/makefs/
H A Dcd9660.c828 cd9660_translate_node_common(iso9660_disk *diskStructure, cd9660node *newnode) in cd9660_translate_node_common() argument
836 (void)cd9660_convert_filename(diskStructure, newnode->node->name, in cd9660_translate_node_common()
837 temp, !(S_ISDIR(newnode->node->type))); in cd9660_translate_node_common()
840 if (S_ISDIR(newnode->node->type)) in cd9660_translate_node_common()
843 cd9660_populate_iso_dir_record(newnode->isoDirRecord, 0, in cd9660_translate_node_common()
846 cd9660_bothendian_dword(newnode->fileDataLength, in cd9660_translate_node_common()
847 newnode->isoDirRecord->size); in cd9660_translate_node_common()
849 if (S_ISLNK(newnode->node->type)) in cd9660_translate_node_common()
850 newnode->fileDataLength = 0; in cd9660_translate_node_common()
865 cd9660node *newnode) in cd9660_translate_node() argument
[all …]
/netbsd-src/sbin/restore/
H A Drestore.c106 newnode(ep); in addfile()
336 newnode(ep); in nodeupdates()
390 newnode(ep); in nodeupdates()
431 newnode(ip); in nodeupdates()
H A Dutilities.c78 newnode(ep); in pathcheck()
141 newnode(struct entry *np) in newnode() function
H A Dextern.h75 void newnode(struct entry *);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dnsec3.c548 dns_dbnode_t *newnode = NULL; in dns_nsec3_addnsec3() local
609 CHECK(dns_db_findnsec3node(db, hashname, true, &newnode)); in dns_nsec3_addnsec3()
617 result = dns_db_findrdataset(db, newnode, version, dns_rdatatype_nsec3, in dns_nsec3_addnsec3()
762 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
788 CHECK(dns_db_findnsec3node(db, hashname, true, &newnode)); in dns_nsec3_addnsec3()
789 result = dns_db_findrdataset(db, newnode, version, in dns_nsec3_addnsec3()
796 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
885 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
901 if (newnode != NULL) { in dns_nsec3_addnsec3()
902 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dnsec3.c546 dns_dbnode_t *newnode = NULL; in dns_nsec3_addnsec3()
607 CHECK(dns_db_findnsec3node(db, hashname, true, &newnode)); in dns_nsec3_addnsec3()
610 * Seek the iterator to the 'newnode'. in dns_nsec3_addnsec3()
615 result = dns_db_findrdataset(db, newnode, version, dns_rdatatype_nsec3, in dns_nsec3_addnsec3()
760 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
786 CHECK(dns_db_findnsec3node(db, hashname, true, &newnode)); in dns_nsec3_addnsec3()
787 result = dns_db_findrdataset(db, newnode, version, in dns_nsec3_addnsec3()
794 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
883 dns_db_detachnode(db, &newnode); in dns_nsec3_addnsec3()
899 if (newnode ! in dns_nsec3_addnsec3()
548 dns_dbnode_t *newnode = NULL; dns_nsec3_addnsec3() local
[all...]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vect-slp-patterns.cc1152 slp_tree newnode in build() local
1163 SLP_TREE_CHILDREN (*this->m_node)[1] = newnode; in build()
1170 slp_tree newnode in build() local
1181 SLP_TREE_CHILDREN (*this->m_node)[1] = newnode; in build()
1347 slp_tree newnode = in build() local
1360 SLP_TREE_CHILDREN (*this->m_node).quick_push (newnode); in build()
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dmsgencode.c211 struct compress_tree_node* newnode; in compress_tree_store() local
222 if(!(newnode = compress_tree_newnode(dname, labs, offset, in compress_tree_store()
231 newnode->right = prevnode; in compress_tree_store()
232 prevnode->parent = newnode; in compress_tree_store()
239 prevnode = newnode; in compress_tree_store()
/netbsd-src/sys/arch/sparc64/dev/
H A Dlom.c269 const struct sysctlnode *node = NULL, *newnode; in lom_attach() local
365 sysctl_createv(NULL, 0, NULL, &newnode, in lom_attach()
370 if (newnode != NULL) in lom_attach()
371 sc->sc_sysctl_num[i] = newnode->sysctl_num; in lom_attach()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_acl.c1326 zfs_acl_node_t *newnode; in zfs_acl_chmod() local
1338 newnode = zfs_acl_node_alloc((abstract_size * 6) + aclp->z_acl_bytes); in zfs_acl_chmod()
1340 zacep = newnode->z_acldata; in zfs_acl_chmod()
1431 newnode->z_ace_count = new_count; in zfs_acl_chmod()
1432 newnode->z_size = new_bytes; in zfs_acl_chmod()
1433 list_insert_tail(&aclp->z_acl, newnode); in zfs_acl_chmod()
/netbsd-src/sys/net80211/
H A Dieee80211_node.c1269 int newnode = 0; in ieee80211_add_scan() local
1291 newnode = 1; in ieee80211_add_scan()
1296 dump_probe_beacon(subtype, newnode, wh->i_addr2, sp); in ieee80211_add_scan()
1345 if (!newnode) in ieee80211_add_scan()
/netbsd-src/usr.bin/vgrind/
H A Dvgrindefs.src96 newnode nextcom nil null parent plus precnl prevcom prog progn\
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dlayout.cc137 Free_list_node newnode(p->start_, start); in remove() local
139 this->list_.insert(p, newnode); in remove()
196 Free_list_node newnode(p->start_, start); in allocate() local
198 this->list_.insert(p, newnode); in allocate()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dlayout.cc140 Free_list_node newnode(p->start_, start); in remove() local
142 this->list_.insert(p, newnode); in remove()
199 Free_list_node newnode(p->start_, start); in allocate() local
201 this->list_.insert(p, newnode); in allocate()