Lines Matching refs:ckey
300 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
310 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
311 if (!ckey) in ceph_key_preparse()
316 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_preparse()
320 prep->payload.data[0] = ckey; in ceph_key_preparse()
325 kfree(ckey); in ceph_key_preparse()
332 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() local
333 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
334 kfree(ckey); in ceph_key_free_preparse()
339 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy() local
341 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
342 kfree(ckey); in ceph_key_destroy()