Lines Matching refs:Callback
38 // The callback interface is:
39 // void Callback::Recycle(Node *ptr);
42 template<typename Callback, typename Node>
45 typedef QuarantineCache<Callback> Cache;
60 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
66 void NOINLINE Drain(Cache *c, Callback cb) {
87 void NOINLINE Recycle(Callback cb) {
101 void NOINLINE DoRecycle(Cache *c, Callback cb) {
118 template<typename Callback>
133 void Enqueue(Callback cb, void *ptr, uptr size) {
176 NOINLINE QuarantineBatch* AllocBatch(Callback cb) {