Lines Matching refs:tab
38 hashsize(register Hash_table_t* tab, int size) in hashsize() argument
49 if (size > 0 && size != tab->size && !(size & (size - 1))) in hashsize()
51 if (region = tab->root->local->region) in hashsize()
53 handle = tab->root->local->handle; in hashsize()
57 if (!new_s) tab->flags |= HASH_FIXED; in hashsize()
60 old_sx = (old_s = tab->table) + tab->size; in hashsize()
61 tab->size = size; in hashsize()
70 HASHMOD(tab, index); in hashsize()
75 if ((tab->flags & (HASH_RESIZE|HASH_STATIC)) != HASH_STATIC) in hashsize()
77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize()
78 else free(tab->table); in hashsize()
80 tab->table = new_s; in hashsize()
81 tab->flags |= HASH_RESIZE; in hashsize()