Lines Matching defs:allocator
92 static void mem_allocator_disconnect(void *allocator)
104 if (xa->allocator == allocator)
235 /* Allocate a cyclic ID that maps to allocator pointer.
249 /* Cyclic allocator, reset next id */
275 void *allocator)
287 if (!allocator) {
316 xdp_alloc->allocator = allocator;
318 /* Insert allocator into ID lookup table */
328 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem);
340 enum xdp_mem_type type, void *allocator)
344 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator);
352 enum xdp_mem_type type, void *allocator)
361 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator);