Lines Matching refs:allocator
92 static void mem_allocator_disconnect(void *allocator) in mem_allocator_disconnect() argument
104 if (xa->allocator == allocator) in mem_allocator_disconnect()
272 void *allocator) in __xdp_reg_mem_model() argument
284 if (!allocator) { in __xdp_reg_mem_model()
311 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model()
323 page_pool_use_xdp_mem(allocator, mem_allocator_disconnect, mem); in __xdp_reg_mem_model()
335 enum xdp_mem_type type, void *allocator) in xdp_reg_mem_model() argument
339 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model()
347 enum xdp_mem_type type, void *allocator) in xdp_rxq_info_reg_mem_model() argument
356 xdp_alloc = __xdp_reg_mem_model(&xdp_rxq->mem, type, allocator); in xdp_rxq_info_reg_mem_model()
360 if (type == MEM_TYPE_XSK_BUFF_POOL && allocator) in xdp_rxq_info_reg_mem_model()
361 xsk_pool_set_rxq_info(allocator, xdp_rxq); in xdp_rxq_info_reg_mem_model()