Lines Matching refs:hash_max
54 uint32_t hash_max; member
87 nmax = ((data->hash_max + 1) << 1) - 1; in hash_split()
95 ehash = data->hash + data->hash_max + 1; in hash_split()
106 data->hash_max = nmax; in hash_split()
125 slot = hv & data->hash_max; in ps_sd_new()
140 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
154 slot = ps_sd_hash(sd->key, strlen(sd->key)) & data->hash_max; in ps_sd_destroy()
181 slot = hv & data->hash_max; in ps_sd_lookup()
233 data->hash_max = 511; in ps_mm_initialize()
234 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
255 for (h = 0; h < data->hash_max + 1; h++) { in ps_mm_destroy()
453 ehash = data->hash + data->hash_max + 1; in PS_GC_FUNC()