Searched refs:oldtbl (Results 1 – 1 of 1) sorted by relevance
155 static int mesh_table_grow(struct mesh_table *oldtbl, in mesh_table_grow() argument162 if (atomic_read(&oldtbl->entries) in mesh_table_grow()163 < oldtbl->mean_chain_len * (oldtbl->hash_mask + 1)) in mesh_table_grow()166 newtbl->free_node = oldtbl->free_node; in mesh_table_grow()167 newtbl->mean_chain_len = oldtbl->mean_chain_len; in mesh_table_grow()168 newtbl->copy_node = oldtbl->copy_node; in mesh_table_grow()169 newtbl->known_gates = oldtbl->known_gates; in mesh_table_grow()170 atomic_set(&newtbl->entries, atomic_read(&oldtbl->entries)); in mesh_table_grow()172 oldhash = oldtbl->hash_buckets; in mesh_table_grow()173 for (i = 0; i <= oldtbl->hash_mask; i++) in mesh_table_grow()[all …]