Lines Matching refs:ckey
299 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
309 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
310 if (!ckey) in ceph_key_preparse()
315 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_preparse()
319 prep->payload.data[0] = ckey; in ceph_key_preparse()
324 kfree(ckey); in ceph_key_preparse()
331 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() local
332 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
333 kfree(ckey); in ceph_key_free_preparse()
338 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy() local
340 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
341 kfree(ckey); in ceph_key_destroy()