Searched refs:regional (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-10-stable/contrib/unbound/util/
H A Dregional.h2 * regional.h -- region based memory allocator.
46 * o allocs the regional struct inside the first block.
47 * o can take a block to create regional from.
55 * the regional* is the first block*.
57 * and so does the regional struct, which is the first block.
59 struct regional struct
80 * Create a new regional.
81 * @return: newly allocated regional.
83 struct regional* regional_create(void);
88 * @return: newly allocated regional
[all...]
H A Dregional.c2 * regional.c -- region based memory allocator.
45 #include "util/regional.h"
65 struct regional*
71 /** init regional struct with first block */
73 regional_init(struct regional* r)
75 size_t a = ALIGN_UP(sizeof(struct regional), ALIGNMENT);
83 struct regional*
86 struct regional* r = (struct regional*)malloc(size);
87 log_assert(sizeof(struct regional) <
[all...]
H A Dmodule.h167 struct regional;
295 struct regional* scratch;
418 struct regional* region;
H A Dnet_help.h46 struct regional;
312 socklen_t len, struct regional* region);
315 * Append one list to another. Must both be from same qstate(regional).
339 void sock_list_merge(struct sock_list** list, struct regional* region,
H A Dalloc.h53 struct regional;
92 /** how many regional blocks to keep back max */
94 /** how many regional blocks are kept now */
96 /** linked list of regional blocks, using regional->next */
97 struct regional* reg_list;
156 * Get a new regional for query states
158 * @return regional for use or NULL on alloc failure.
160 struct regional* alloc_reg_obtain(struct alloc_cache* alloc);
163 * Put regional fo
[all...]
/freebsd-10-stable/contrib/unbound/iterator/
H A Diter_scrub.h48 struct regional;
60 * @param regional: where to allocate (new) parts of the message.
66 struct query_info* qinfo, uint8_t* zonename, struct regional* regional,
H A Diter_delegpt.h46 struct regional;
154 * @param regional: where to allocate it.
157 struct delegpt* delegpt_create(struct regional* regional);
162 * @param regional: where to allocate it.
165 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* regional);
170 * @param regional: where to allocate the name copy.
174 int delegpt_set_name(struct delegpt* dp, struct regional* regional,
[all...]
H A Diter_donotq.h48 struct regional;
54 /** regional for allocation */
55 struct regional* region;
H A Diter_priv.h49 struct regional;
56 /** regional for allocation */
57 struct regional* region;
H A Diter_utils.h54 struct regional;
99 * Allocate dns_msg from parsed msg, in regional.
101 * @param msg: parsed message (cleaned and ready for regional allocation).
102 * @param regional: regional to use for allocation.
106 struct regional* regional);
109 * Copy a dns_msg to this regional.
110 * @param from: dns message, also in regional.
111 * @param regional
[all...]
/freebsd-10-stable/contrib/unbound/services/cache/
H A Ddns.h49 struct regional;
87 struct regional* region, uint16_t flags);
110 struct reply_info* qrep, struct regional* region);
127 struct regional* region, struct dns_msg** msg, time_t timenow);
145 uint16_t flags, struct regional* region, struct regional* scratch);
156 struct regional* region, struct delegpt* dp);
170 uint16_t qclass, struct regional* region, size_t capacity);
181 int dns_msg_authadd(struct dns_msg* msg, struct regional* region,
H A Drrset.h50 struct regional;
188 void rrset_array_unlock_touch(struct rrset_cache* r, struct regional* scratch,
H A Ddns.c51 #include "util/regional.h"
72 struct regional* region)
110 struct reply_info* qrep, struct regional* region)
174 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region,
211 struct regional* region, struct delegpt* dp, time_t now,
265 struct regional* region, struct delegpt* dp)
318 find_add_ds(struct module_env* env, struct regional* region,
352 uint16_t qclass, struct regional* region, size_t capacity)
382 dns_msg_authadd(struct dns_msg* msg, struct regional* region,
394 dns_msg_ansadd(struct dns_msg* msg, struct regional* regio
[all...]
/freebsd-10-stable/contrib/unbound/validator/
H A Dval_kentry.h45 struct regional;
115 struct regional* region);
171 struct key_entry_key* key_entry_create_null(struct regional* region,
186 struct key_entry_key* key_entry_create_rrset(struct regional* region,
200 struct key_entry_key* key_entry_create_bad(struct regional* region,
211 struct regional* region);
H A Dval_kcache.h48 struct regional;
109 struct regional* region, time_t now);
H A Dval_utils.h51 struct regional;
205 struct key_entry_key* val_verify_new_DNSKEYs(struct regional* region,
233 struct key_entry_key* val_verify_new_DNSKEYs_with_ta(struct regional* region,
372 void val_blacklist(struct sock_list** blacklist, struct regional* region,
408 uint16_t c, struct regional* region, uint8_t* topname);
H A Dval_sigcrypt.h51 struct regional;
301 enum sec_status dnskey_verify_rrset_sig(struct regional* region,
320 int rrset_canonical_equal(struct regional* region,
H A Dval_neg.h54 struct regional;
258 struct query_info* qinfo, struct regional* region,
/freebsd-10-stable/contrib/unbound/util/data/
H A Dmsgencode.h48 struct regional;
71 int cached, struct regional* region, uint16_t udpsize,
93 struct regional* region, uint16_t udpsize, int dnssec);
H A Dmsgreply.h50 struct regional;
211 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd,
244 struct regional* region, struct edns_data* edns);
263 struct reply_info** rep, struct regional* region);
334 struct alloc_cache* alloc, struct regional* region);
348 struct rrset_parse *pset, struct regional* region,
H A Dmsgparse.h71 struct regional;
237 struct regional* region);
/freebsd-10-stable/contrib/unbound/daemon/
H A Dacl_list.h47 struct regional;
72 /** regional for allocation */
73 struct regional* region;
H A Dworker.h61 struct regional;
119 /** thread scratch regional */
120 struct regional* scratchpad;
/freebsd-10-stable/contrib/unbound/libunbound/
H A Dlibworker.h58 struct regional;
149 struct regional* temp, enum sec_status msg_security);
/freebsd-10-stable/contrib/unbound/services/
H A Dlocalzone.h47 struct regional;
121 struct regional* region;
234 struct edns_data* edns, struct sldns_buffer* buf, struct regional* temp,

Completed in 148 milliseconds

123