Home
last modified time | relevance | path

Searched refs:key_hash (Results 1 – 1 of 1) sorted by relevance

/minix3/lib/libc/cdb/
H A Dcdbw.c61 struct key_hash { struct
62 SLIST_ENTRY(key_hash) link;
69 SLIST_HEAD(key_hash_head, key_hash); argument
181 struct key_hash *key_hash; in cdbw_put_key() local
191 SLIST_FOREACH(key_hash, head, link) { in cdbw_put_key()
192 if (key_hash->keylen != keylen) in cdbw_put_key()
194 if (key_hash->hashes[0] != hashes[0]) in cdbw_put_key()
196 if (key_hash->hashes[1] != hashes[1]) in cdbw_put_key()
198 if (key_hash->hashes[2] != hashes[2]) in cdbw_put_key()
200 if (memcmp(key, key_hash->key, keylen)) in cdbw_put_key()
[all …]