Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dcaps.c1239 u32 fscrypt_auth_len; member
1352 ceph_encode_32(&p, arg->fscrypt_auth_len); in encode_cap_msg()
1353 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg()
1485 if (ci->fscrypt_auth_len && in __prep_cap()
1486 WARN_ON_ONCE(ci->fscrypt_auth_len > sizeof(struct ceph_fscrypt_auth))) { in __prep_cap()
1488 arg->fscrypt_auth_len = 0; in __prep_cap()
1490 arg->fscrypt_auth_len = ci->fscrypt_auth_len; in __prep_cap()
1492 min_t(size_t, ci->fscrypt_auth_len, in __prep_cap()
1504 return CAP_MSG_FIXED_FIELDS + arg->fscrypt_auth_len; in cap_msg_size()
1596 arg.fscrypt_auth_len = 0; in __send_flush_snap()
[all …]
H A Dinode.c252 pci->fscrypt_auth_len, in ceph_get_snapdir()
256 ci->fscrypt_auth_len = pci->fscrypt_auth_len; in ceph_get_snapdir()
717 ci->fscrypt_auth_len = 0; in ceph_alloc_inode()
1119 if (iinfo->fscrypt_auth_len && in ceph_fill_inode()
1120 ((inode_state_read_once(inode) & I_NEW) || (ci->fscrypt_auth_len == 0))) { in ceph_fill_inode()
1122 ci->fscrypt_auth_len = iinfo->fscrypt_auth_len; in ceph_fill_inode()
1125 iinfo->fscrypt_auth_len = 0; in ceph_fill_inode()
2655 ceph_vinop(inode), ci->fscrypt_auth_len, len); in __ceph_setattr()
2664 ci->fscrypt_auth_len = len; in __ceph_setattr()
2666 ci->fscrypt_auth_len != len || in __ceph_setattr()
H A Dxattr.c357 return ci->fscrypt_auth_len; in ceph_vxattrcb_fscrypt_auth_exists()
364 if (size < ci->fscrypt_auth_len) in ceph_vxattrcb_fscrypt_auth()
366 memcpy(val, ci->fscrypt_auth, ci->fscrypt_auth_len); in ceph_vxattrcb_fscrypt_auth()
368 return ci->fscrypt_auth_len; in ceph_vxattrcb_fscrypt_auth()
H A Dmds_client.h120 u32 fscrypt_auth_len; member
H A Dsuper.h503 u32 fscrypt_auth_len; member
H A Dmds_client.c227 info->fscrypt_auth_len = 0; in parse_reply_info_in()
231 ceph_decode_32_safe(p, end, info->fscrypt_auth_len, bad); in parse_reply_info_in()
232 if (info->fscrypt_auth_len) { in parse_reply_info_in()
233 info->fscrypt_auth = kmalloc(info->fscrypt_auth_len, in parse_reply_info_in()
238 info->fscrypt_auth_len, bad); in parse_reply_info_in()