Lines Matching refs:slab
1910 struct kmem_cache *slab; in sk_prot_alloc() local
1912 slab = prot->slab; in sk_prot_alloc()
1913 if (slab != NULL) { in sk_prot_alloc()
1914 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1935 if (slab != NULL) in sk_prot_alloc()
1936 kmem_cache_free(slab, sk); in sk_prot_alloc()
1944 struct kmem_cache *slab; in sk_prot_free() local
1948 slab = prot->slab; in sk_prot_free()
1953 if (slab != NULL) in sk_prot_free()
1954 kmem_cache_free(slab, sk); in sk_prot_free()
3690 kmem_cache_destroy(rsk_prot->slab); in req_prot_cleanup()
3691 rsk_prot->slab = NULL; in req_prot_cleanup()
3706 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name, in req_prot_init()
3711 if (!rsk_prot->slab) { in req_prot_init()
3724 prot->slab = kmem_cache_create_usercopy(prot->name, in proto_register()
3731 if (prot->slab == NULL) { in proto_register()
3761 kmem_cache_destroy(prot->slab); in proto_register()
3762 prot->slab = NULL; in proto_register()
3776 kmem_cache_destroy(prot->slab); in proto_unregister()
3777 prot->slab = NULL; in proto_unregister()
3852 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()