Lines Matching defs:allocator
93 static void mem_allocator_disconnect(void *allocator)
105 if (xa->allocator == allocator)
233 /* Allocate a cyclic ID that maps to allocator pointer.
247 /* Cyclic allocator, reset next id */
273 void *allocator)
285 if (!allocator) {
312 xdp_alloc->allocator = allocator;
314 /* Insert allocator into ID lookup table */
324 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem);
336 enum xdp_mem_type type, void *allocator)
340 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator);
348 enum xdp_mem_type type, void *allocator)
357 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator);
361 if (type == MEM_TYPE_XSK_BUFF_POOL && allocator)
362 xsk_pool_set_rxq_info(allocator, xdp_rxq);