Home
last modified time | relevance | path

Searched refs:fscrypt_auth_len (Results 1 – 5 of 5) sorted by relevance

/linux/fs/ceph/
H A Dcaps.c1238 u32 fscrypt_auth_len; member
1351 ceph_encode_32(&p, arg->fscrypt_auth_len); in encode_cap_msg()
1352 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg()
1484 if (ci->fscrypt_auth_len && in __prep_cap()
1485 WARN_ON_ONCE(ci->fscrypt_auth_len > sizeof(struct ceph_fscrypt_auth))) { in __prep_cap()
1487 arg->fscrypt_auth_len = 0; in __prep_cap()
1489 arg->fscrypt_auth_len = ci->fscrypt_auth_len; in __prep_cap()
1491 min_t(size_t, ci->fscrypt_auth_len, in __prep_cap()
1503 return CAP_MSG_FIXED_FIELDS + arg->fscrypt_auth_len; in cap_msg_size()
1595 arg.fscrypt_auth_len = 0; in __send_flush_snap()
[all …]
H A Dcrypto.c78 if (!cfa || (ci->fscrypt_auth_len < (offsetof(struct ceph_fscrypt_auth, cfa_blob) + 1))) in ceph_crypt_get_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()
H A Dinode.c206 pci->fscrypt_auth_len, in ceph_get_snapdir()
210 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir()
669 ci->fscrypt_auth_len = 0; in ceph_alloc_inode()
1045 if (iinfo->fscrypt_auth_len && in ceph_fill_inode()
1046 ((inode->i_state & I_NEW) || (ci->fscrypt_auth_len == 0))) { in ceph_fill_inode()
1048 ci->fscrypt_auth_len = iinfo->fscrypt_auth_len; in ceph_fill_inode()
1051 iinfo->fscrypt_auth_len = 0; in ceph_fill_inode()
2553 ceph_vinop(inode), ci->fscrypt_auth_len, len); in __ceph_setattr()
2562 ci->fscrypt_auth_len = len; in __ceph_setattr()
2564 ci->fscrypt_auth_len != len || in __ceph_setattr()
H A Dmds_client.h117 u32 fscrypt_auth_len; member
H A Dmds_client.c211 info->fscrypt_auth_len = 0; in parse_reply_info_in()
215 ceph_decode_32_safe(p, end, info->fscrypt_auth_len, bad); in parse_reply_info_in()
216 if (info->fscrypt_auth_len) { in parse_reply_info_in()
217 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len, in parse_reply_info_in()
222 info->fscrypt_auth_len, bad); in parse_reply_info_in()