Searched refs:LHASH_ITEM (Results 1 – 2 of 2) sorted by relevance
82 LHASH_ITEM **buckets;103 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new()108 OPENSSL_memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new()121 LHASH_ITEM *next; in lh_free()122 for (LHASH_ITEM *n = lh->buckets[i]; n != NULL; n = next) { in lh_free()141 static LHASH_ITEM **get_next_ptr_and_hash(const _LHASH *lh, uint32_t *out_hash, in get_next_ptr_and_hash()150 LHASH_ITEM **ret = &lh->buckets[hash % lh->num_buckets]; in get_next_ptr_and_hash()151 for (LHASH_ITEM *cur = *ret; cur != NULL; cur = *ret) { in get_next_ptr_and_hash()163 static LHASH_ITEM **get_next_ptr_by_key(const _LHASH *lh, const void *key, in get_next_ptr_by_key()167 LHASH_ITEM **ret = &lh->buckets[key_hash % lh->num_buckets]; in get_next_ptr_by_key()[all …]
101 } LHASH_ITEM; typedef