Lines Matching defs:the_mempool
245 static sc_mempool_int* the_mempool = 0;
278 if (the_mempool == 0) {
283 // Note that the_mempool is never freed. This is going to cause
285 the_mempool = new sc_mempool_int( 1984, sizeof(cell_sizes)/sizeof(cell_sizes[0]) - 1, 8 );
288 if (sz > (unsigned) the_mempool->max_size)
291 return the_mempool->do_allocate(sz);
299 if (use_default_new || sz > (unsigned) the_mempool->max_size) {
304 the_mempool->do_release(p, sz);
311 if (the_mempool && !use_default_new) {
312 the_mempool->display_statistics();