Lines Matching refs:ckey
288 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
298 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
299 if (!ckey) in ceph_key_preparse()
304 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_preparse()
308 prep->payload.data[0] = ckey; in ceph_key_preparse()
313 kfree(ckey); in ceph_key_preparse()
320 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() local
321 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
322 kfree(ckey); in ceph_key_free_preparse()
327 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy() local
329 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
330 kfree(ckey); in ceph_key_destroy()