Searched refs:REGIONAL_CHUNK_SIZE (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/contrib/unbound/util/
H A Dregional.c56 #define REGIONAL_CHUNK_SIZE 8192 macro
68 return regional_create_custom(REGIONAL_CHUNK_SIZE);
136 s = malloc(REGIONAL_CHUNK_SIZE);
141 r->available = REGIONAL_CHUNK_SIZE - ALIGNMENT;
210 log_assert(REGIONAL_CHUNK_SIZE > ALIGNMENT);
211 log_assert(REGIONAL_CHUNK_SIZE-ALIGNMENT > REGIONAL_LARGE_OBJECT_SIZE);
212 log_assert(REGIONAL_CHUNK_SIZE >= sizeof(struct regional));
221 return r->first_size + (count_chunks(r)-1)*REGIONAL_CHUNK_SIZE

Completed in 91 milliseconds