Lines Matching refs:slab
1612 struct kmem_cache *slab; in sk_prot_alloc() local
1614 slab = prot->slab; in sk_prot_alloc()
1615 if (slab != NULL) { in sk_prot_alloc()
1616 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1641 if (slab != NULL) in sk_prot_alloc()
1642 kmem_cache_free(slab, sk); in sk_prot_alloc()
1650 struct kmem_cache *slab; in sk_prot_free() local
1654 slab = prot->slab; in sk_prot_free()
1660 if (slab != NULL) in sk_prot_free()
1661 kmem_cache_free(slab, sk); in sk_prot_free()
3421 kmem_cache_destroy(rsk_prot->slab); in req_prot_cleanup()
3422 rsk_prot->slab = NULL; in req_prot_cleanup()
3437 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name, in req_prot_init()
3442 if (!rsk_prot->slab) { in req_prot_init()
3455 prot->slab = kmem_cache_create_usercopy(prot->name, in proto_register()
3462 if (prot->slab == NULL) { in proto_register()
3506 kmem_cache_destroy(prot->slab); in proto_register()
3507 prot->slab = NULL; in proto_register()
3521 kmem_cache_destroy(prot->slab); in proto_unregister()
3522 prot->slab = NULL; in proto_unregister()
3596 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()