Home | History | Annotate | Download | only in sanitizer_common

Lines Matching refs:cb

38 // void *cb.Allocate(uptr size);
39 // void cb.Deallocate(void *ptr);
55 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
56 c->Enqueue(cb, ptr, size);
58 Drain(c, cb);
61 void NOINLINE Drain(Cache *c, Callback cb) {
67 Recycle(cb);
82 void NOINLINE Recycle(Callback cb) {
92 DoRecycle(&tmp, cb);
95 void NOINLINE DoRecycle(Cache *c, Callback cb) {
102 cb.Recycle((Node*)b->batch[i]);
104 cb.Deallocate(b);
125 void Enqueue(Callback cb, void *ptr, uptr size) {
127 AllocBatch(cb);
162 NOINLINE QuarantineBatch* AllocBatch(Callback cb) {
163 QuarantineBatch *b = (QuarantineBatch *)cb.Allocate(sizeof(*b));