Searched refs:fscrypt_auth (Results 1 – 7 of 7) sorted by relevance
| /fs/ceph/ |
| A D | crypto.c | 114 cia.fscrypt_auth = cfa; in ceph_crypt_set_context() 119 kfree(cia.fscrypt_auth); in ceph_crypt_set_context() 166 as->fscrypt_auth = kzalloc(sizeof(*as->fscrypt_auth), GFP_KERNEL); in ceph_fscrypt_prepare_context() 167 if (!as->fscrypt_auth) in ceph_fscrypt_prepare_context() 176 as->fscrypt_auth->cfa_blob_len = cpu_to_le32(ctxsize); in ceph_fscrypt_prepare_context() 178 WARN_ON_ONCE(ci->fscrypt_auth); in ceph_fscrypt_prepare_context() 179 kfree(ci->fscrypt_auth); in ceph_fscrypt_prepare_context() 180 ci->fscrypt_auth_len = ceph_fscrypt_auth_len(as->fscrypt_auth); in ceph_fscrypt_prepare_context() 181 ci->fscrypt_auth = kmemdup(as->fscrypt_auth, ci->fscrypt_auth_len, in ceph_fscrypt_prepare_context() 183 if (!ci->fscrypt_auth) in ceph_fscrypt_prepare_context() [all …]
|
| A D | inode.c | 205 ci->fscrypt_auth = kmemdup(pci->fscrypt_auth, in ceph_get_snapdir() 208 if (ci->fscrypt_auth) { in ceph_get_snapdir() 668 ci->fscrypt_auth = NULL; in ceph_alloc_inode() 680 kfree(ci->fscrypt_auth); in ceph_free_inode() 1047 kfree(ci->fscrypt_auth); in ceph_fill_inode() 1049 ci->fscrypt_auth = iinfo->fscrypt_auth; in ceph_fill_inode() 1050 iinfo->fscrypt_auth = NULL; in ceph_fill_inode() 2564 kfree(ci->fscrypt_auth); in __ceph_setattr() 2565 ci->fscrypt_auth = (u8 *)cia->fscrypt_auth; in __ceph_setattr() 2569 memcmp(ci->fscrypt_auth, cia->fscrypt_auth, len)) { in __ceph_setattr() [all …]
|
| A D | caps.c | 1239 u8 fscrypt_auth[sizeof(struct ceph_fscrypt_auth)]; // for context member 1352 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg() 1490 memcpy(arg->fscrypt_auth, ci->fscrypt_auth, in __prep_cap() 1492 sizeof(arg->fscrypt_auth))); in __prep_cap() 3473 u8 *fscrypt_auth; member 3589 memcmp(ci->fscrypt_auth, extra_info->fscrypt_auth, in handle_cap_grant() 4284 extra->fscrypt_auth = kmalloc(extra->fscrypt_auth_len, in parse_fscrypt_fields() 4286 if (!extra->fscrypt_auth) in parse_fscrypt_fields() 4288 ceph_decode_copy_safe(p, end, extra->fscrypt_auth, in parse_fscrypt_fields() 4570 kfree(extra_info.fscrypt_auth); in ceph_handle_caps()
|
| A D | super.h | 468 u8 *fscrypt_auth; member 1099 struct ceph_fscrypt_auth *fscrypt_auth; member 1138 struct ceph_fscrypt_auth *fscrypt_auth; member
|
| A D | mds_client.h | 115 u8 *fscrypt_auth; member
|
| A D | xattr.c | 368 memcpy(val, ci->fscrypt_auth, ci->fscrypt_auth_len); in ceph_vxattrcb_fscrypt_auth() 1457 kfree(as_ctx->fscrypt_auth); in ceph_release_acl_sec_ctx()
|
| A D | mds_client.c | 210 info->fscrypt_auth = NULL; in parse_reply_info_in() 217 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len, in parse_reply_info_in() 219 if (!info->fscrypt_auth) in parse_reply_info_in() 221 ceph_decode_copy_safe(p, end, info->fscrypt_auth, in parse_reply_info_in() 800 kfree(info->diri.fscrypt_auth); in destroy_reply_info() 802 kfree(info->targeti.fscrypt_auth); in destroy_reply_info() 810 kfree(rde->inode.fscrypt_auth); in destroy_reply_info()
|
Completed in 35 milliseconds