Searched refs:newtab (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/sys/rump/librump/rumpkern/ |
| H A D | kobj_rename.c | 72 char *worktab, *newtab; in kobj_renamespace() local 119 newtab = kmem_alloc(worktabidx, KM_SLEEP); in kobj_renamespace() 120 memcpy(newtab, worktab, worktabidx); in kobj_renamespace() 124 *strtab = newtab; in kobj_renamespace()
|
| /netbsd-src/sys/external/bsd/ipf/netinet/ |
| H A D | ip_nat.c | 7907 nat_t **newtab[2], *nat, **natp; in ipf_nat_rehash() local 7922 newtab[0] = NULL; in ipf_nat_rehash() 7923 newtab[1] = NULL; in ipf_nat_rehash() 7930 KMALLOCS(newtab[0], nat_t **, newsize * sizeof(nat_t *)); in ipf_nat_rehash() 7931 if (newtab[0] == NULL) { in ipf_nat_rehash() 7936 KMALLOCS(newtab[1], nat_t **, newsize * sizeof(nat_t *)); in ipf_nat_rehash() 7937 if (newtab[1] == NULL) { in ipf_nat_rehash() 7961 bzero((char *)newtab[0], newsize * sizeof(nat_t *)); in ipf_nat_rehash() 7962 bzero((char *)newtab[1], newsize * sizeof(nat_t *)); in ipf_nat_rehash() 7973 softn->ipf_nat_table[0] = newtab[ in ipf_nat_rehash() 8073 ipnat_t **newtab, *np, ***old, **npp; ipf_nat_rehash_rules() local 8158 hostmap_t *hm, **newtab; ipf_nat_hostmap_rehash() local [all...] |
| H A D | ip_state.c | 5149 ipstate_t **newtab, *is; in ipf_state_rehash() local 5164 KMALLOCS(newtab, ipstate_t **, newsize * sizeof(ipstate_t *)); in ipf_state_rehash() 5165 if (newtab == NULL) { in ipf_state_rehash() 5172 KFREES(newtab, newsize * sizeof(*softs->ipf_state_table)); in ipf_state_rehash() 5180 KFREES(newtab, newsize * sizeof(*newtab)); in ipf_state_rehash() 5189 bzero((char *)newtab, newsize * sizeof(ipstate_t *)); in ipf_state_rehash() 5198 softs->ipf_state_table = newtab; in ipf_state_rehash()
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_vnode.c | 1386 struct hashhead *oldtab, *newtab; in vcache_reinit() 1389 newtab = hashinit(desiredvnodes, HASH_SLIST, true, &newmask); in vcache_reinit() 1394 vcache_hashtab = newtab; in vcache_reinit() 1400 SLIST_INSERT_HEAD(&newtab[hash & vcache_hashmask], in vcache_reinit() 1381 struct hashhead *oldtab, *newtab; vcache_reinit() local
|