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

/netbsd-current/external/bsd/libbind/dist/isc/
H A Dmemcluster.c85 #define NUM_BASIC_BLOCKS 64 macro
256 new = malloc(NUM_BASIC_BLOCKS * mem_target);
264 for (i = 0; i < (NUM_BASIC_BLOCKS - 1); i++) {
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dmem.c67 #define NUM_BASIC_BLOCKS 64 /*%< must be > 1 */ macro
407 tmp = (ctx->memalloc)(NUM_BASIC_BLOCKS * ctx->mem_target);
408 ctx->total += NUM_BASIC_BLOCKS * ctx->mem_target;
411 ctx->malloced += NUM_BASIC_BLOCKS * ctx->mem_target;
418 for (int i = 0; i < (NUM_BASIC_BLOCKS - 1); i++) {
429 last = first + NUM_BASIC_BLOCKS * ctx->mem_target - 1;
929 ctx->malloced -= NUM_BASIC_BLOCKS * ctx->mem_target;
2119 NUM_BASIC_BLOCKS * ctx->mem_target;
2122 (uint64_t)ctx->basic_table_count * NUM_BASIC_BLOCKS *
2240 NUM_BASIC_BLOCKS * ct
[all...]
/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Dmem.c58 #define NUM_BASIC_BLOCKS 64 /*%< must be > 1 */ macro
543 increment = NUM_BASIC_BLOCKS * ctx->mem_target;
566 new = (ctx->memalloc)(ctx->arg, NUM_BASIC_BLOCKS * ctx->mem_target);
577 for (i = 0; i < (NUM_BASIC_BLOCKS - 1); i++) {
588 last = first + NUM_BASIC_BLOCKS * ctx->mem_target - 1;
2394 NUM_BASIC_BLOCKS * ctx->mem_target;
2399 NUM_BASIC_BLOCKS *

Completed in 175 milliseconds