Lines Matching refs:slab
1681 struct kmem_cache *slab; in sk_prot_alloc() local
1683 slab = prot->slab; in sk_prot_alloc()
1684 if (slab != NULL) { in sk_prot_alloc()
1685 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1707 if (slab != NULL) in sk_prot_alloc()
1708 kmem_cache_free(slab, sk); in sk_prot_alloc()
1716 struct kmem_cache *slab; in sk_prot_free() local
1720 slab = prot->slab; in sk_prot_free()
1725 if (slab != NULL) in sk_prot_free()
1726 kmem_cache_free(slab, sk); in sk_prot_free()
3452 kmem_cache_destroy(rsk_prot->slab); in req_prot_cleanup()
3453 rsk_prot->slab = NULL; in req_prot_cleanup()
3468 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name, in req_prot_init()
3473 if (!rsk_prot->slab) { in req_prot_init()
3486 prot->slab = kmem_cache_create_usercopy(prot->name, in proto_register()
3493 if (prot->slab == NULL) { in proto_register()
3537 kmem_cache_destroy(prot->slab); in proto_register()
3538 prot->slab = NULL; in proto_register()
3552 kmem_cache_destroy(prot->slab); in proto_unregister()
3553 prot->slab = NULL; in proto_unregister()
3628 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()