Searched refs:buckets_mask (Results 1 – 1 of 1) sorted by relevance
36 uint32_t buckets_mask; member67 return hm->buckets_mask + 1; in _n_buckets()156 hm->buckets_mask = MIN_BUCKETS - 1; in iwhmap_create()191 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in _entry_find()203 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in _entry_add()249 hm_copy.buckets_mask = num_buckets - 1; in _rehash()274 hm->buckets_mask = num_buckets - 1; in _rehash()367 if ((hm->buckets_mask > MIN_BUCKETS - 1) && (hm->count < hm->buckets_mask / 2)) { in _entry_remove()384 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in iwhmap_remove()422 if (hm->count > hm->buckets_mask) { in iwhmap_put()[all …]