Lines Matching refs:ckey
524 struct ceph_crypto_key *ckey; in ceph_key_preparse() local
534 ckey = kmalloc(sizeof(*ckey), GFP_KERNEL); in ceph_key_preparse()
535 if (!ckey) in ceph_key_preparse()
540 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_preparse()
544 prep->payload[0] = ckey; in ceph_key_preparse()
549 kfree(ckey); in ceph_key_preparse()
556 struct ceph_crypto_key *ckey = prep->payload[0]; in ceph_key_free_preparse() local
557 ceph_crypto_key_destroy(ckey); in ceph_key_free_preparse()
558 kfree(ckey); in ceph_key_free_preparse()
563 struct ceph_crypto_key *ckey = key->payload.data; in ceph_key_destroy() local
565 ceph_crypto_key_destroy(ckey); in ceph_key_destroy()
566 kfree(ckey); in ceph_key_destroy()