Lines Matching defs:pai_t
6 typedef struct pai_s pai_t;
9 edata_t *(*alloc)(tsdn_t *tsdn, pai_t *self, size_t size,
18 size_t (*alloc_batch)(tsdn_t *tsdn, pai_t *self, size_t size,
21 bool (*expand)(tsdn_t *tsdn, pai_t *self, edata_t *edata,
24 bool (*shrink)(tsdn_t *tsdn, pai_t *self, edata_t *edata,
26 void (*dalloc)(tsdn_t *tsdn, pai_t *self, edata_t *edata,
29 void (*dalloc_batch)(tsdn_t *tsdn, pai_t *self,
31 uint64_t (*time_until_deferred_work)(tsdn_t *tsdn, pai_t *self);
36 * same pai_t twice on every invocation.
40 pai_alloc(tsdn_t *tsdn, pai_t *self, size_t size, size_t alignment,
48 pai_alloc_batch(tsdn_t *tsdn, pai_t *self, size_t size, size_t nallocs,
55 pai_expand(tsdn_t *tsdn, pai_t *self, edata_t *edata, size_t old_size,
62 pai_shrink(tsdn_t *tsdn, pai_t *self, edata_t *edata, size_t old_size,
69 pai_dalloc(tsdn_t *tsdn, pai_t *self, edata_t *edata,
75 pai_dalloc_batch(tsdn_t *tsdn, pai_t *self, edata_list_active_t *list,
81 pai_time_until_deferred_work(tsdn_t *tsdn, pai_t *self) {
89 size_t pai_alloc_batch_default(tsdn_t *tsdn, pai_t *self, size_t size,
92 void pai_dalloc_batch_default(tsdn_t *tsdn, pai_t *self,