Home
last modified time | relevance | path

Searched refs:kcp (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/s390/crypto/
Dpkey_api.c1202 struct pkey_clr2protk kcp; in pkey_unlocked_ioctl() local
1204 if (copy_from_user(&kcp, ucp, sizeof(kcp))) in pkey_unlocked_ioctl()
1206 rc = pkey_clr2protkey(kcp.keytype, in pkey_unlocked_ioctl()
1207 &kcp.clrkey, &kcp.protkey); in pkey_unlocked_ioctl()
1211 if (copy_to_user(ucp, &kcp, sizeof(kcp))) in pkey_unlocked_ioctl()
1213 memzero_explicit(&kcp, sizeof(kcp)); in pkey_unlocked_ioctl()
/linux-6.1.9/kernel/rcu/
Drcutorture.c2256 struct kmem_cache *kcp; in rcu_torture_mem_dump_obj() local
2259 kcp = kmem_cache_create("rcuscale", 136, 8, SLAB_STORE_USER, NULL); in rcu_torture_mem_dump_obj()
2260 if (WARN_ON_ONCE(!kcp)) in rcu_torture_mem_dump_obj()
2262 rhp = kmem_cache_alloc(kcp, GFP_KERNEL); in rcu_torture_mem_dump_obj()
2264 kmem_cache_destroy(kcp); in rcu_torture_mem_dump_obj()
2280 kmem_cache_free(kcp, rhp); in rcu_torture_mem_dump_obj()
2281 kmem_cache_destroy(kcp); in rcu_torture_mem_dump_obj()