Searched refs:newa (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/unbound/util/storage/ |
H A D | lruhash.c | 118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split() argument 137 lock_quick_lock(&newa[i].lock); in bin_split() 138 lock_quick_lock(&newa[newbit|i].lock); in bin_split() 142 newbin = &newa[p->hash & newmask]; in bin_split() 147 lock_quick_unlock(&newa[i].lock); in bin_split() 148 lock_quick_unlock(&newa[newbit|i].lock); in bin_split() 238 struct lruhash_bin* newa; in table_grow() local 246 newa = calloc(table->size*2, sizeof(struct lruhash_bin)); in table_grow() 247 if(!newa) { in table_grow() 252 bin_init(newa, table->size*2); in table_grow() [all …]
|
H A D | lruhash.h | 398 void bin_split(struct lruhash* table, struct lruhash_bin* newa,
|
/freebsd/contrib/unbound/util/ |
H A D | alloc.c | 616 void* real, *newa; in unbound_stat_realloc_lite() local 645 newa = unbound_stat_malloc_lite(size, file, line, func); in unbound_stat_realloc_lite() 646 if(!newa) in unbound_stat_realloc_lite() 649 memmove(newa, ptr, orig); in unbound_stat_realloc_lite() 650 else memmove(newa, ptr, size); in unbound_stat_realloc_lite() 653 return newa; in unbound_stat_realloc_lite()
|