Lines Matching defs:allocator
89 static void mem_allocator_disconnect(void *allocator)
101 if (xa->allocator == allocator)
229 /* Allocate a cyclic ID that maps to allocator pointer.
243 /* Cyclic allocator, reset next id */
269 void *allocator)
281 if (!allocator) {
308 xdp_alloc->allocator = allocator;
310 /* Insert allocator into ID lookup table */
320 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect);
332 enum xdp_mem_type type, void *allocator)
336 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator);
344 enum xdp_mem_type type, void *allocator)
353 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator);