Lines Matching defs:allocator
91 static void mem_allocator_disconnect(void *allocator)
103 if (xa->allocator == allocator)
234 /* Allocate a cyclic ID that maps to allocator pointer.
248 /* Cyclic allocator, reset next id */
274 void *allocator)
286 if (!allocator) {
315 xdp_alloc->allocator = allocator;
317 /* Insert allocator into ID lookup table */
327 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem);
339 enum xdp_mem_type type, void *allocator)
343 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator);
351 enum xdp_mem_type type, void *allocator)
360 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator);