Lines Matching refs:fscrypt_auth_len
1252 u32 fscrypt_auth_len; member
1365 ceph_encode_32(&p, arg->fscrypt_auth_len); in encode_cap_msg()
1366 ceph_encode_copy(&p, arg->fscrypt_auth, arg->fscrypt_auth_len); in encode_cap_msg()
1498 if (ci->fscrypt_auth_len && in __prep_cap()
1499 WARN_ON_ONCE(ci->fscrypt_auth_len > sizeof(struct ceph_fscrypt_auth))) { in __prep_cap()
1501 arg->fscrypt_auth_len = 0; in __prep_cap()
1503 arg->fscrypt_auth_len = ci->fscrypt_auth_len; in __prep_cap()
1505 min_t(size_t, ci->fscrypt_auth_len, in __prep_cap()
1517 return CAP_MSG_FIXED_FIELDS + arg->fscrypt_auth_len; in cap_msg_size()
1609 arg.fscrypt_auth_len = 0; in __send_flush_snap()
3488 u32 fscrypt_auth_len; member
3602 if (ci->fscrypt_auth_len != extra_info->fscrypt_auth_len || in handle_cap_grant()
3604 ci->fscrypt_auth_len)) in handle_cap_grant()
3607 ci->fscrypt_auth_len, in handle_cap_grant()
3608 extra_info->fscrypt_auth_len); in handle_cap_grant()
4294 ceph_decode_32_safe(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()
4295 if (extra->fscrypt_auth_len) { in parse_fscrypt_fields()
4296 ceph_decode_need(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()
4297 extra->fscrypt_auth = kmalloc(extra->fscrypt_auth_len, in parse_fscrypt_fields()
4302 extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()