Lines Matching refs:fscrypt_auth
74 struct ceph_fscrypt_auth *cfa = (struct ceph_fscrypt_auth *)ci->fscrypt_auth;
114 cia.fscrypt_auth = cfa;
119 kfree(cia.fscrypt_auth);
165 as->fscrypt_auth = kzalloc(sizeof(*as->fscrypt_auth), GFP_KERNEL);
166 if (!as->fscrypt_auth)
169 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob,
174 as->fscrypt_auth->cfa_version = cpu_to_le32(CEPH_FSCRYPT_AUTH_VERSION);
175 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize);
177 WARN_ON_ONCE(ci->fscrypt_auth);
178 kfree(ci->fscrypt_auth);
179 ci->fscrypt_auth_len = ceph_fscrypt_auth_len(as->fscrypt_auth);
180 ci->fscrypt_auth = kmemdup(as->fscrypt_auth, ci->fscrypt_auth_len,
182 if (!ci->fscrypt_auth)
193 swap(req->r_fscrypt_auth, as->fscrypt_auth);