Searched refs:fscrypt_auth (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/ceph/ |
| H A D | crypto.c | 21 struct ceph_fscrypt_auth *cfa = (struct ceph_fscrypt_auth *)ci->fscrypt_auth; in ceph_crypt_get_context() 61 cia.fscrypt_auth = cfa; in ceph_crypt_set_context() 66 kfree(cia.fscrypt_auth); in ceph_crypt_set_context() 115 as->fscrypt_auth = kzalloc_obj(*as->fscrypt_auth); in ceph_fscrypt_prepare_context() 116 if (!as->fscrypt_auth) in ceph_fscrypt_prepare_context() 119 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob, in ceph_fscrypt_prepare_context() 124 as->fscrypt_auth->cfa_version = cpu_to_le32(CEPH_FSCRYPT_AUTH_VERSION); in ceph_fscrypt_prepare_context() 125 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize); in ceph_fscrypt_prepare_context() 127 WARN_ON_ONCE(ci->fscrypt_auth); in ceph_fscrypt_prepare_context() 128 kfree(ci->fscrypt_auth); in ceph_fscrypt_prepare_context() [all …]
|
| H A D | inode.c | 251 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir() 254 if (ci->fscrypt_auth) { in ceph_get_snapdir() 715 ci->fscrypt_auth = NULL; in ceph_alloc_inode() 727 kfree(ci->fscrypt_auth); in ceph_free_inode() 1083 kfree(ci->fscrypt_auth); in ceph_fill_inode() 1085 ci->fscrypt_auth = iinfo->fscrypt_auth; in ceph_fill_inode() 1086 iinfo->fscrypt_auth = NULL; in ceph_fill_inode() 2604 if (cia && cia->fscrypt_auth) { in __ceph_setattr() 2605 u32 len = ceph_fscrypt_auth_len(cia->fscrypt_auth); in __ceph_setattr() 2607 if (len > sizeof(*cia->fscrypt_auth)) { in __ceph_setattr() [all …]
|
| H A D | caps.c | 1240 u8 fscrypt_auth[sizeof(struct ceph_fscrypt_auth)]; // for context member 1353 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg() 1491 memcpy(arg->fscrypt_auth, ci->fscrypt_auth, in __prep_cap() 1493 sizeof(arg->fscrypt_auth))); in __prep_cap() 3474 u8 *fscrypt_auth; member 3590 memcmp(ci->fscrypt_auth, extra_info->fscrypt_auth, in handle_cap_grant() 4285 extra->fscrypt_auth = kmalloc(extra->fscrypt_auth_len, in parse_fscrypt_fields() 4287 if (!extra->fscrypt_auth) in parse_fscrypt_fields() 4289 ceph_decode_copy_safe(p, end, extra->fscrypt_auth, in parse_fscrypt_fields() 4574 kfree(extra_info.fscrypt_auth); in ceph_handle_caps()
|
| H A D | super.h | 495 u8 *fscrypt_auth; member 1127 struct ceph_fscrypt_auth *fscrypt_auth; member 1166 struct ceph_fscrypt_auth *fscrypt_auth; member
|
| H A D | mds_client.h | 115 u8 *fscrypt_auth; member
|
| H A D | xattr.c | 366 memcpy(val, ci->fscrypt_auth, ci->fscrypt_auth_len); in ceph_vxattrcb_fscrypt_auth() 1455 kfree(as_ctx->fscrypt_auth); in ceph_release_acl_sec_ctx()
|
| H A D | mds_client.c | 211 info->fscrypt_auth = NULL; in parse_reply_info_in() 218 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len, in parse_reply_info_in() 220 if (!info->fscrypt_auth) in parse_reply_info_in() 222 ceph_decode_copy_safe(p, end, info->fscrypt_auth, in parse_reply_info_in() 801 kfree(info->diri.fscrypt_auth); in destroy_reply_info() 803 kfree(info->targeti.fscrypt_auth); in destroy_reply_info() 811 kfree(rde->inode.fscrypt_auth); in destroy_reply_info()
|