Searched refs:xdp_alloc (Results 1 – 1 of 1) sorted by relevance
276 struct xdp_mem_allocator *xdp_alloc; in __xdp_reg_mem_model() local303 xdp_alloc = kzalloc(sizeof(*xdp_alloc), gfp); in __xdp_reg_mem_model()304 if (!xdp_alloc) in __xdp_reg_mem_model()314 xdp_alloc->mem = *mem; in __xdp_reg_mem_model()315 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model()331 return xdp_alloc; in __xdp_reg_mem_model()334 kfree(xdp_alloc); in __xdp_reg_mem_model()344 if (IS_ERR(xdp_alloc)) in xdp_reg_mem_model()345 return PTR_ERR(xdp_alloc); in xdp_reg_mem_model()361 if (IS_ERR(xdp_alloc)) in xdp_rxq_info_reg_mem_model()[all …]
Completed in 4 milliseconds