Lines Matching refs:slab
1595 struct kmem_cache *slab; in sk_prot_alloc() local
1597 slab = prot->slab; in sk_prot_alloc()
1598 if (slab != NULL) { in sk_prot_alloc()
1599 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1621 if (slab != NULL) in sk_prot_alloc()
1622 kmem_cache_free(slab, sk); in sk_prot_alloc()
1630 struct kmem_cache *slab; in sk_prot_free() local
1634 slab = prot->slab; in sk_prot_free()
1639 if (slab != NULL) in sk_prot_free()
1640 kmem_cache_free(slab, sk); in sk_prot_free()
3341 kmem_cache_destroy(rsk_prot->slab); in req_prot_cleanup()
3342 rsk_prot->slab = NULL; in req_prot_cleanup()
3357 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name, in req_prot_init()
3362 if (!rsk_prot->slab) { in req_prot_init()
3375 prot->slab = kmem_cache_create_usercopy(prot->name, in proto_register()
3382 if (prot->slab == NULL) { in proto_register()
3426 kmem_cache_destroy(prot->slab); in proto_register()
3427 prot->slab = NULL; in proto_register()
3441 kmem_cache_destroy(prot->slab); in proto_unregister()
3442 prot->slab = NULL; in proto_unregister()
3521 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()