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

/bind-9.6-ESV-R11/bin/tests/
H A Dmempool_test.c32 isc_mempool_t *mp1, *mp2; local
49 mp2 = NULL;
50 RUNTIME_CHECK(isc_mempool_create(mctx, 31, &mp2) == ISC_R_SUCCESS);
53 isc_mempool_associatelock(mp2, &lock);
91 * Now, beat up on mp2 for a while. Allocate 50 items, then free
94 isc_mempool_setfreemax(mp2, 25);
95 isc_mempool_setfillcount(mp2, 25);
98 items2[i] = isc_mempool_get(mp2);
102 isc_mempool_put(mp2, items2[i]);
119 isc_mempool_destroy(&mp2);
[all...]
/bind-9.6-ESV-R11/bin/tests/mem/
H A Dt_mem.c44 isc_mempool_t *mp1, *mp2; local
69 mp2 = NULL;
70 isc_result = isc_mempool_create(mctx, 31, &mp2);
136 * Now, beat up on mp2 for a while. Allocate 50 items, then free
141 isc_mempool_setfreemax(mp2, 25);
143 isc_mempool_setfillcount(mp2, 25);
148 items2[i] = isc_mempool_get(mp2);
155 isc_mempool_put(mp2, items2[i]);
175 isc_mempool_destroy(&mp2);

Completed in 557 milliseconds