Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dst.c338 int i, old_num_bins = table->num_bins, new_num_bins; in rehash() local
341 new_num_bins = new_size(old_num_bins + 1); in rehash()
342 if (!new_num_bins) in rehash()
346 (st_table_entry **) Calloc(new_num_bins, sizeof(st_table_entry *)); in rehash()
352 hash_val = ptr->hash % new_num_bins; in rehash()
359 table->num_bins = new_num_bins; in rehash()