Lines Matching refs:fscrypt_auth_len
1238 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()
3474 u32 fscrypt_auth_len; member
3588 if (ci->fscrypt_auth_len != extra_info->fscrypt_auth_len || in handle_cap_grant()
3590 ci->fscrypt_auth_len)) in handle_cap_grant()
3593 ci->fscrypt_auth_len, in handle_cap_grant()
3594 extra_info->fscrypt_auth_len); in handle_cap_grant()
4281 ceph_decode_32_safe(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()
4282 if (extra->fscrypt_auth_len) { in parse_fscrypt_fields()
4283 ceph_decode_need(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()
4284 extra->fscrypt_auth = kmalloc(extra->fscrypt_auth_len, in parse_fscrypt_fields()
4289 extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()