Lines Matching refs:hi
716 const struct hashmap_type_info *hi = &hashmap_type_info[h->type];
721 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets);
722 memset(p, DIB_RAW_INIT, sizeof(dib_raw_t) * hi->n_direct_buckets);
727 const struct hashmap_type_info *hi = &hashmap_type_info[type];
732 h = use_pool ? mempool_alloc0_tile(hi->mempool) : malloc0(hi->head_size);
1033 const struct hashmap_type_info *hi;
1041 hi = &hashmap_type_info[h->type];
1049 if (!h->has_indirect && new_n_entries <= hi->n_direct_buckets)
1061 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t))))
1070 new_n_buckets * (hi->entry_size + sizeof(dib_raw_t)),
1082 old_n_buckets * (hi->entry_size + sizeof(dib_raw_t)));
1096 (hi->entry_size + sizeof(dib_raw_t));
1098 old_dibs = (dib_raw_t*)(new_storage + hi->entry_size * old_n_buckets);
1115 (n_buckets(h) - old_n_buckets) * hi->entry_size);
1142 memzero(bucket_at(h, idx), hi->entry_size);