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