Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/util/storage/
H A Dlruhash.h119 typedef uint32_t hashvalue_type; typedef
220 hashvalue_type hash;
274 void lruhash_insert(struct lruhash* table, hashvalue_type hash,
291 hashvalue_type hash, void* key, int wr);
346 struct lruhash_entry* lruhash_insert_or_retrieve(struct lruhash* table, hashvalue_type hash,
359 void lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key);
377 struct lruhash_bin* bin, hashvalue_type hash, void* key, size_t* collisions);
H A Dslabhash.h112 void slabhash_insert(struct slabhash* table, hashvalue_type hash,
129 hashvalue_type hash, void* key, int wr);
138 void slabhash_remove(struct slabhash* table, hashvalue_type hash, void* key);
173 void slabhash_update_space_used(struct slabhash* table, hashvalue_type hash,
189 struct lruhash* slabhash_gettable(struct slabhash* table, hashvalue_type hash);
H A Dslabhash.c111 slab_idx(struct slabhash* sl, hashvalue_type hash) in slab_idx()
116 void slabhash_insert(struct slabhash* sl, hashvalue_type hash, in slabhash_insert()
123 hashvalue_type hash, void* key, int wr) in slabhash_lookup()
128 void slabhash_remove(struct slabhash* sl, hashvalue_type hash, void* key) in slabhash_remove()
169 void slabhash_update_space_used(struct slabhash* sl, hashvalue_type hash, in slabhash_update_space_used()
186 struct lruhash* slabhash_gettable(struct slabhash* sl, hashvalue_type hash) in slabhash_gettable()
H A Dlruhash.c220 struct lruhash_bin* bin, hashvalue_type hash, void* key, size_t* collisions) in bin_find_entry()
305 lruhash_insert(struct lruhash* table, hashvalue_type hash, in lruhash_insert()
364 lruhash_lookup(struct lruhash* table, hashvalue_type hash, void* key, int wr) in lruhash_lookup()
386 lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key) in lruhash_remove()
618 lruhash_insert_or_retrieve(struct lruhash* table, hashvalue_type hash, in lruhash_insert_or_retrieve()
/freebsd/contrib/unbound/util/data/
H A Ddname.h130 hashvalue_type dname_query_hash(uint8_t* dname, hashvalue_type h);
142 hashvalue_type dname_pkt_hash(struct sldns_buffer* pkt, uint8_t* dname,
143 hashvalue_type h);
H A Dmsgparse.h157 hashvalue_type hash;
346 hashvalue_type pkt_hash_rrset(struct sldns_buffer* pkt, uint8_t* dname,
362 struct sldns_buffer* pkt, hashvalue_type h, uint32_t rrset_flags,
H A Dmsgparse.c83 uint16_t type, uint16_t dclass, hashvalue_type hash, in new_rrset()
171 hashvalue_type
177 hashvalue_type h = 0xab; in pkt_hash_rrset()
186 static hashvalue_type
192 hashvalue_type h = 0xab; in pkt_hash_rrset_first()
198 static hashvalue_type
199 pkt_hash_rrset_rest(hashvalue_type dname_h, uint16_t type, uint16_t dclass, in pkt_hash_rrset_rest()
204 hashvalue_type h; in pkt_hash_rrset_rest()
213 rrset_parse_equals(struct rrset_parse* p, sldns_buffer* pkt, hashvalue_type h, in rrset_parse_equals()
227 hashvalue_type h, uint32_t rrset_flags, uint8_t* dname, in msgparse_hashtable_lookup()
[all …]
H A Ddname.c286 hashvalue_type
287 dname_query_hash(uint8_t* dname, hashvalue_type h) in dname_query_hash()
310 hashvalue_type
311 dname_pkt_hash(sldns_buffer* pkt, uint8_t* dname, hashvalue_type h) in dname_pkt_hash()
H A Dmsgreply.h374 hashvalue_type query_info_hash(struct query_info *q, uint16_t flags);
384 struct reply_info* r, hashvalue_type h);
H A Dpacked_rrset.h366 hashvalue_type rrset_key_hash(struct packed_rrset_key* key);
H A Dpacked_rrset.c162 hashvalue_type
169 hashvalue_type h = 0xab; in rrset_key_hash()
H A Dmsgreply.c722 hashvalue_type
725 hashvalue_type h = 0xab; in query_info_hash()
736 hashvalue_type h) in query_info_entrysetup()
/freebsd/contrib/unbound/services/cache/
H A Drrset.c97 hashvalue_type hash, rrset_id_type id) in rrset_cache_touch()
195 hashvalue_type h = k->entry.hash; in rrset_cache_update()
345 hashvalue_type* h; in rrset_array_unlock_touch()
347 if(count > RR_COUNT_MAX || !(h = (hashvalue_type*)regional_alloc( in rrset_array_unlock_touch()
348 scratch, sizeof(hashvalue_type)*count))) { in rrset_array_unlock_touch()
H A Dinfra.c440 static hashvalue_type
444 hashvalue_type h = 0xab; in hash_addr()
465 static hashvalue_type
930 hashvalue_type h = dname_query_hash(name, 0xab); in infra_find_ratedata()
943 hashvalue_type h = hash_addr(addr, addrlen, 0); in infra_find_ip_ratedata()
955 hashvalue_type h = dname_query_hash(name, 0xab); in infra_create_ratedata()
984 hashvalue_type h = hash_addr(addr, addrlen, 0); in infra_ip_create_ratedata()
H A Drrset.h105 hashvalue_type hash, rrset_id_type id);
H A Ddns.h122 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
H A Ddns.c143 hashvalue_type h; in msg_cache_remove()
156 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, in dns_cache_store_msg()
287 hashvalue_type h; in msg_cache_lookup()
897 hashvalue_type h; in dns_cache_lookup()
1120 hashvalue_type h; in dns_cache_store()
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.h78 hashvalue_type qinfo_hash;
H A Dsubnetmod.c371 hashvalue_type h = qstate->minfo[id] && in update_cache()
456 hashvalue_type h = query_info_hash(&qstate->qinfo, qstate->query_flags); in lookup_and_reply()
/freebsd/contrib/unbound/iterator/
H A Diter_scrub.c164 hashvalue_type h = pkt_hash_rrset(pkt, nm, in mark_additional_rrset()
/freebsd/contrib/unbound/services/
H A Dmesh.c316 hashvalue_type h; in mesh_serve_expired_lookup()
/freebsd/contrib/unbound/daemon/
H A Dworker.c1364 hashvalue_type h; in worker_handle_request()
H A Dremote.c1673 hashvalue_type h; in do_cache_remove()