Searched refs:hashval (Results 1 – 2 of 2) sorted by relevance
39 uint32_t hashval; in stats_prefix_find() local56 hashval = hash(key, length) % PREFIX_HASH_SIZE; in stats_prefix_find()58 for (pfs = prefix_stats[hashval]; NULL != pfs; pfs = pfs->next) { in stats_prefix_find()80 pfs->next = prefix_stats[hashval]; in stats_prefix_find()81 prefix_stats[hashval] = pfs; in stats_prefix_find()
308 int hashval = hash("abc", 3) % PREFIX_HASH_SIZE; in test_stats_prefix_dump() local355 if (hashval == hash(tmp, strlen(tmp) - 1) % PREFIX_HASH_SIZE) { in test_stats_prefix_dump()