Searched refs:xdp_alloc (Results 1 – 1 of 1) sorted by relevance
265 struct xdp_mem_allocator *xdp_alloc; in xdp_rxq_info_reg_mem_model() local297 xdp_alloc = kzalloc(sizeof(*xdp_alloc), gfp); in xdp_rxq_info_reg_mem_model()298 if (!xdp_alloc) in xdp_rxq_info_reg_mem_model()308 xdp_alloc->mem = xdp_rxq->mem; in xdp_rxq_info_reg_mem_model()309 xdp_alloc->allocator = allocator; in xdp_rxq_info_reg_mem_model()312 ptr = rhashtable_insert_slow(mem_id_ht, &id, &xdp_alloc->node); in xdp_rxq_info_reg_mem_model()325 trace_mem_connect(xdp_alloc, xdp_rxq); in xdp_rxq_info_reg_mem_model()329 kfree(xdp_alloc); in xdp_rxq_info_reg_mem_model()