Lines Matching refs:ckey
520 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
530 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
531 if (!ckey) in ceph_key_preparse()
536 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_preparse()
540 prep->payload.data[0] = ckey; in ceph_key_preparse()
545 kfree(ckey); in ceph_key_preparse()
552 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() local
553 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
554 kfree(ckey); in ceph_key_free_preparse()
559 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy() local
561 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
562 kfree(ckey); in ceph_key_destroy()