Lines Matching refs:hash_max
58 uint32_t hash_max; member
91 nmax = ((data->hash_max + 1) << 1) - 1; in hash_split()
99 ehash = data->hash + data->hash_max + 1; in hash_split()
110 data->hash_max = nmax; in hash_split()
129 slot = hv & data->hash_max; in ps_sd_new()
144 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
158 slot = ps_sd_hash(sd->key, strlen(sd->key)) & data->hash_max; in ps_sd_destroy()
185 slot = hv & data->hash_max; in ps_sd_lookup()
237 data->hash_max = 511; in ps_mm_initialize()
238 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
259 for (h = 0; h < data->hash_max + 1; h++) { in ps_mm_destroy()
457 ehash = data->hash + data->hash_max + 1; in PS_GC_FUNC()