Searched defs:mp2 (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/bin/tests/
H A Dmempool_test.c23 isc_mempool_t *mp1, *mp2; local
40 mp2 = NULL;
41 RUNTIME_CHECK(isc_mempool_create(mctx, 31, &mp2) == ISC_R_SUCCESS);
44 isc_mempool_associatelock(mp2, &lock);
82 * Now, beat up on mp2 for a while. Allocate 50 items, then free
85 isc_mempool_setfreemax(mp2, 25);
86 isc_mempool_setfillcount(mp2, 25);
89 items2[i] = isc_mempool_get(mp2);
93 isc_mempool_put(mp2, items2[i]);
110 isc_mempool_destroy(&mp2);
[all...]
/bind-9.11.3/bin/tests/mem/
H A Dt_mem.c35 isc_mempool_t *mp1, *mp2; local
60 mp2 = NULL;
61 isc_result = isc_mempool_create(mctx, 31, &mp2);
127 * Now, beat up on mp2 for a while. Allocate 50 items, then free
132 isc_mempool_setfreemax(mp2, 25);
134 isc_mempool_setfillcount(mp2, 25);
139 items2[i] = isc_mempool_get(mp2);
146 isc_mempool_put(mp2, items2[i]);
166 isc_mempool_destroy(&mp2);

Completed in 10 milliseconds