Searched refs:cfa (Results 1 – 1 of 1) sorted by relevance
74 struct ceph_fscrypt_auth *cfa = (struct ceph_fscrypt_auth *)ci->fscrypt_auth; in ceph_crypt_get_context() local82 if (le32_to_cpu(cfa->cfa_version) != CEPH_FSCRYPT_AUTH_VERSION) in ceph_crypt_get_context()85 ctxlen = le32_to_cpu(cfa->cfa_blob_len); in ceph_crypt_get_context()89 memcpy(ctx, cfa->cfa_blob, ctxlen); in ceph_crypt_get_context()99 struct ceph_fscrypt_auth *cfa; in ceph_crypt_set_context() local106 cfa = kzalloc(sizeof(*cfa), GFP_KERNEL); in ceph_crypt_set_context()107 if (!cfa) in ceph_crypt_set_context()110 cfa->cfa_version = cpu_to_le32(CEPH_FSCRYPT_AUTH_VERSION); in ceph_crypt_set_context()111 cfa->cfa_blob_len = cpu_to_le32(len); in ceph_crypt_set_context()112 memcpy(cfa->cfa_blob, ctx, len); in ceph_crypt_set_context()[all …]
Completed in 3 milliseconds