Lines Matching refs:hv
43 uint32_t hv; /* hash value of key */ member
99 ps->next = nhash[ps->hv & nmax]; in hash_split()
100 nhash[ps->hv & nmax] = ps; in hash_split()
111 uint32_t hv, slot; in ps_sd_new() local
124 hv = ps_sd_hash(key, keylen); in ps_sd_new()
125 slot = hv & data->hash_max; in ps_sd_new()
128 sd->hv = hv; in ps_sd_new()
177 uint32_t hv, slot; in ps_sd_lookup() local
180 hv = ps_sd_hash(key, strlen(key)); in ps_sd_lookup()
181 slot = hv & data->hash_max; in ps_sd_lookup()
184 if (ret->hv == hv && !strcmp(ret->key, key)) { in ps_sd_lookup()
199 ps_mm_debug(("lookup(%s): ret=%p,hv=%u,slot=%d\n", key, ret, hv, slot)); in ps_sd_lookup()