Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/unbound/util/storage/
H A Dlruhash.h119 typedef uint32_t hashvalue_type; typedef
218 hashvalue_type hash;
272 void lruhash_insert(struct lruhash* table, hashvalue_type hash,
289 hashvalue_type hash, void* key, int wr);
333 struct lruhash_entry* lruhash_insert_or_retrieve(struct lruhash* table, hashvalue_type hash,
346 void lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key);
363 struct lruhash_bin* bin, hashvalue_type hash, void* key);
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);
177 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()
179 struct lruhash* slabhash_gettable(struct slabhash* sl, hashvalue_type hash) in slabhash_gettable()
H A Dlruhash.c219 struct lruhash_bin* bin, hashvalue_type hash, void* key) in bin_find_entry()
300 lruhash_insert(struct lruhash* table, hashvalue_type hash, in lruhash_insert()
356 lruhash_lookup(struct lruhash* table, hashvalue_type hash, void* key, int wr) in lruhash_lookup()
378 lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key) in lruhash_remove()
576 lruhash_insert_or_retrieve(struct lruhash* table, hashvalue_type hash, in lruhash_insert_or_retrieve()
/freebsd-13.1/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.h151 hashvalue_type hash;
320 hashvalue_type pkt_hash_rrset(struct sldns_buffer* pkt, uint8_t* dname,
336 struct sldns_buffer* pkt, hashvalue_type h, uint32_t rrset_flags,
H A Dmsgparse.c80 uint16_t type, uint16_t dclass, hashvalue_type hash, in new_rrset()
168 hashvalue_type
174 hashvalue_type h = 0xab; in pkt_hash_rrset()
183 static hashvalue_type
189 hashvalue_type h = 0xab; in pkt_hash_rrset_first()
195 static hashvalue_type
201 hashvalue_type h; in pkt_hash_rrset_rest()
224 hashvalue_type h, uint32_t rrset_flags, uint8_t* dname, in msgparse_hashtable_lookup()
397 hashvalue_type hash = pkt_hash_rrset(pkt, sigset->dname, datatype, in change_rrsig_rrset()
471 hashvalue_type dname_h = pkt_hash_rrset_first(pkt, dname); in find_rrset()
[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.h344 hashvalue_type query_info_hash(struct query_info *q, uint16_t flags);
354 struct reply_info* r, hashvalue_type h);
H A Dpacked_rrset.h363 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.c666 hashvalue_type
669 hashvalue_type h = 0xab; in query_info_hash()
680 hashvalue_type h) in query_info_entrysetup()
/freebsd-13.1/contrib/unbound/services/cache/
H A Drrset.c96 hashvalue_type hash, rrset_id_type id) in rrset_cache_touch()
191 hashvalue_type h = k->entry.hash; in rrset_cache_update()
341 hashvalue_type* h; in rrset_array_unlock_touch()
343 if(count > RR_COUNT_MAX || !(h = (hashvalue_type*)regional_alloc( in rrset_array_unlock_touch()
344 scratch, sizeof(hashvalue_type)*count))) { in rrset_array_unlock_touch()
H A Dinfra.c334 static hashvalue_type
338 hashvalue_type h = 0xab; in hash_addr()
359 static hashvalue_type
827 hashvalue_type h = dname_query_hash(name, 0xab); in infra_find_ratedata()
840 hashvalue_type h = hash_addr(&(repinfo->addr), in infra_find_ip_ratedata()
853 hashvalue_type h = dname_query_hash(name, 0xab); in infra_create_ratedata()
881 hashvalue_type h = hash_addr(&(repinfo->addr), in infra_ip_create_ratedata()
H A Drrset.h105 hashvalue_type hash, rrset_id_type id);
H A Ddns.h118 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
H A Ddns.c119 hashvalue_type h; in msg_cache_remove()
157 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, in dns_cache_store_msg()
245 hashvalue_type h; in msg_cache_lookup()
808 hashvalue_type h; in dns_cache_lookup()
1003 hashvalue_type h; in dns_cache_store()
/freebsd-13.1/contrib/unbound/edns-subnet/
H A Dsubnetmod.h78 hashvalue_type qinfo_hash;
H A Dsubnetmod.c331 hashvalue_type h = qstate->minfo[id] ? in update_cache()
406 hashvalue_type h = query_info_hash(&qstate->qinfo, qstate->query_flags); in lookup_and_reply()
/freebsd-13.1/contrib/unbound/iterator/
H A Diter_scrub.c164 hashvalue_type h = pkt_hash_rrset(pkt, nm, in mark_additional_rrset()
/freebsd-13.1/contrib/unbound/daemon/
H A Dworker.c1066 hashvalue_type h; in worker_handle_request()
H A Dremote.c1576 hashvalue_type h; in do_cache_remove()
/freebsd-13.1/contrib/unbound/services/
H A Dmesh.c372 hashvalue_type h; in mesh_serve_expired_lookup()