Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/ceph/
H A Dcrypto.c78 if (!cfa || (ci->fscrypt_auth_len < (offsetof(struct ceph_fscrypt_auth, cfa_blob) + 1))) in ceph_crypt_get_context()
179 ci->fscrypt_auth_len = ceph_fscrypt_auth_len(as->fscrypt_auth); in ceph_fscrypt_prepare_context()
180 ci->fscrypt_auth = kmemdup(as->fscrypt_auth, ci->fscrypt_auth_len, in ceph_fscrypt_prepare_context()
H A Dcaps.c1221 u32 fscrypt_auth_len; member
1330 ceph_encode_32(&p, arg->fscrypt_auth_len); in encode_cap_msg()
1331 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg()
1460 if (ci->fscrypt_auth_len && in __prep_cap()
1461 WARN_ON_ONCE(ci->fscrypt_auth_len > sizeof(struct ceph_fscrypt_auth))) { in __prep_cap()
1463 arg->fscrypt_auth_len = 0; in __prep_cap()
1465 arg->fscrypt_auth_len = ci->fscrypt_auth_len; in __prep_cap()
1467 min_t(size_t, ci->fscrypt_auth_len, in __prep_cap()
1479 return CAP_MSG_FIXED_FIELDS + arg->fscrypt_auth_len; in cap_msg_size()
3396 u32 fscrypt_auth_len; global() member
[all...]
H A Dinode.c200 pci->fscrypt_auth_len, in ceph_get_snapdir()
204 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir()
657 ci->fscrypt_auth_len = 0; in ceph_alloc_inode()
1018 if (iinfo->fscrypt_auth_len && in ceph_fill_inode()
1019 ((inode->i_state & I_NEW) || (ci->fscrypt_auth_len == 0))) { in ceph_fill_inode()
1021 ci->fscrypt_auth_len = iinfo->fscrypt_auth_len; in ceph_fill_inode()
1024 iinfo->fscrypt_auth_len = 0; in ceph_fill_inode()
2481 ceph_vinop(inode), ci->fscrypt_auth_len, le in __ceph_setattr()
[all...]
H A Dxattr.c358 return ci->fscrypt_auth_len; in ceph_vxattrcb_fscrypt_auth_exists()
365 if (size < ci->fscrypt_auth_len) in ceph_vxattrcb_fscrypt_auth()
367 memcpy(val, ci->fscrypt_auth, ci->fscrypt_auth_len); in ceph_vxattrcb_fscrypt_auth()
369 return ci->fscrypt_auth_len; in ceph_vxattrcb_fscrypt_auth()
H A Dmds_client.h94 u32 fscrypt_auth_len; member
H A Dmds_client.c210 info->fscrypt_auth_len = 0; in parse_reply_info_in()
214 ceph_decode_32_safe(p, end, info->fscrypt_auth_len, bad); in parse_reply_info_in()
215 if (info->fscrypt_auth_len) { in parse_reply_info_in()
216 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len, in parse_reply_info_in()
221 info->fscrypt_auth_len, bad); in parse_reply_info_in()
H A Dsuper.h464 u32 fscrypt_auth_len; member

Completed in 20 milliseconds