Searched refs:fscrypt_auth (Results 1 - 7 of 7) sorted by relevance

/linux-master/fs/ceph/
H A Dcrypto.c74 struct ceph_fscrypt_auth *cfa = (struct ceph_fscrypt_auth *)ci->fscrypt_auth;
114 cia.fscrypt_auth = cfa;
119 kfree(cia.fscrypt_auth);
166 as->fscrypt_auth = kzalloc(sizeof(*as->fscrypt_auth), GFP_KERNEL);
167 if (!as->fscrypt_auth)
170 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob,
175 as->fscrypt_auth->cfa_version = cpu_to_le32(CEPH_FSCRYPT_AUTH_VERSION);
176 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize);
178 WARN_ON_ONCE(ci->fscrypt_auth);
[all...]
H A Dinode.c201 /* if encrypted, just borrow fscrypt_auth from parent */
205 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth,
208 if (ci->fscrypt_auth) {
212 doutc(cl, "Failed to alloc snapdir fscrypt_auth\n");
668 ci->fscrypt_auth = NULL;
680 kfree(ci->fscrypt_auth);
1046 kfree(ci->fscrypt_auth);
1048 ci->fscrypt_auth = iinfo->fscrypt_auth;
[all...]
H A Dsuper.h467 u8 *fscrypt_auth; member in struct:ceph_inode_info
1101 struct ceph_fscrypt_auth *fscrypt_auth; member in struct:ceph_iattr
1141 struct ceph_fscrypt_auth *fscrypt_auth; member in struct:ceph_acl_sec_ctx
H A Dcaps.c1252 u8 fscrypt_auth[sizeof(struct ceph_fscrypt_auth)]; // for context member in struct:cap_msg_args
1358 * fscrypt_auth and fscrypt_file (version 12)
1360 * fscrypt_auth holds the crypto context (if any). fscrypt_file
1365 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len);
1503 memcpy(arg->fscrypt_auth, ci->fscrypt_auth,
1505 sizeof(arg->fscrypt_auth)));
1607 /* No fscrypt_auth changes from a capsnap.*/
3472 u8 *fscrypt_auth; member in struct:cap_extra_info
3586 memcmp(ci->fscrypt_auth, extra_inf
[all...]
H A Dmds_client.h95 u8 *fscrypt_auth; member in struct:ceph_mds_reply_info_in
H A Dxattr.c368 memcpy(val, ci->fscrypt_auth, ci->fscrypt_auth_len);
1457 kfree(as_ctx->fscrypt_auth);
H A Dmds_client.c210 info->fscrypt_auth = NULL;
217 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len,
219 if (!info->fscrypt_auth)
221 ceph_decode_copy_safe(p, end, info->fscrypt_auth,
800 kfree(info->diri.fscrypt_auth);
802 kfree(info->targeti.fscrypt_auth);
810 kfree(rde->inode.fscrypt_auth);
2925 /* v6: fscrypt_auth and fscrypt_file */
3063 /* fscrypt_auth */
3064 len += sizeof(u32); // fscrypt_auth
[all...]

Completed in 165 milliseconds