Lines Matching refs:slab
1829 struct kmem_cache *slab; in sk_prot_alloc() local
1831 slab = prot->slab; in sk_prot_alloc()
1832 if (slab != NULL) { in sk_prot_alloc()
1833 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1854 if (slab != NULL) in sk_prot_alloc()
1855 kmem_cache_free(slab, sk); in sk_prot_alloc()
1863 struct kmem_cache *slab; in sk_prot_free() local
1867 slab = prot->slab; in sk_prot_free()
1872 if (slab != NULL) in sk_prot_free()
1873 kmem_cache_free(slab, sk); in sk_prot_free()
3608 kmem_cache_destroy(rsk_prot->slab); in req_prot_cleanup()
3609 rsk_prot->slab = NULL; in req_prot_cleanup()
3624 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name, in req_prot_init()
3629 if (!rsk_prot->slab) { in req_prot_init()
3642 prot->slab = kmem_cache_create_usercopy(prot->name, in proto_register()
3649 if (prot->slab == NULL) { in proto_register()
3679 kmem_cache_destroy(prot->slab); in proto_register()
3680 prot->slab = NULL; in proto_register()
3694 kmem_cache_destroy(prot->slab); in proto_unregister()
3695 prot->slab = NULL; in proto_unregister()
3770 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()