Searched refs:xdp_alloc (Results 1 – 1 of 1) sorted by relevance
275 struct xdp_mem_allocator *xdp_alloc; in __xdp_reg_mem_model() local300 xdp_alloc = kzalloc_obj(*xdp_alloc, gfp); in __xdp_reg_mem_model()301 if (!xdp_alloc) in __xdp_reg_mem_model()311 xdp_alloc->mem = *mem; in __xdp_reg_mem_model()312 xdp_alloc->allocator = allocator; in __xdp_reg_mem_model()315 ptr = rhashtable_insert_slow(mem_id_ht, &id, &xdp_alloc->node); in __xdp_reg_mem_model()328 return xdp_alloc; in __xdp_reg_mem_model()331 kfree(xdp_alloc); in __xdp_reg_mem_model()338 struct xdp_mem_allocator *xdp_alloc; in xdp_reg_mem_model() local340 xdp_alloc = __xdp_reg_mem_model(mem, type, allocator); in xdp_reg_mem_model()[all …]