Lines Matching defs:rsk_prot
4147 static void req_prot_cleanup(struct request_sock_ops *rsk_prot)
4149 if (!rsk_prot)
4151 kfree(rsk_prot->slab_name);
4152 rsk_prot->slab_name = NULL;
4153 kmem_cache_destroy(rsk_prot->slab);
4154 rsk_prot->slab = NULL;
4159 struct request_sock_ops *rsk_prot = prot->rsk_prot;
4161 if (!rsk_prot)
4164 rsk_prot->slab_name = kasprintf(GFP_KERNEL, "request_sock_%s",
4166 if (!rsk_prot->slab_name)
4169 rsk_prot->slab = kmem_cache_create(rsk_prot->slab_name,
4170 rsk_prot->obj_size, 0,
4174 if (!rsk_prot->slab) {
4230 req_prot_cleanup(prot->rsk_prot);
4250 req_prot_cleanup(prot->rsk_prot);