Lines Matching refs:hash_max
54 uint32_t hash_max; member
88 nmax = ((data->hash_max + 1) << 1) - 1; in hash_split()
96 ehash = data->hash + data->hash_max + 1; in hash_split()
107 data->hash_max = nmax; in hash_split()
123 slot = hv & data->hash_max; in ps_sd_new()
138 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
152 slot = ps_sd_hash(sd->key) & data->hash_max; in ps_sd_destroy()
180 slot = hv & data->hash_max; in ps_sd_lookup()
232 data->hash_max = 511; in ps_mm_initialize()
233 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
253 for (int h = 0; h < data->hash_max + 1; h++) { in ps_mm_destroy()
451 ehash = data->hash + data->hash_max + 1; in PS_GC_FUNC()