Lines Matching refs:fscrypt_nokey_name
58 struct fscrypt_nokey_name { struct
69 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256)
369 struct fscrypt_nokey_name nokey_name; in fscrypt_fname_disk_to_usr()
389 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, dirhash) != in fscrypt_fname_disk_to_usr()
390 offsetof(struct fscrypt_nokey_name, bytes)); in fscrypt_fname_disk_to_usr()
391 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, bytes) != in fscrypt_fname_disk_to_usr()
392 offsetof(struct fscrypt_nokey_name, sha256)); in fscrypt_fname_disk_to_usr()
400 size = offsetof(struct fscrypt_nokey_name, bytes[iname->len]); in fscrypt_fname_disk_to_usr()
441 struct fscrypt_nokey_name *nokey_name; in fscrypt_setup_filename()
491 if (ret < (int)offsetof(struct fscrypt_nokey_name, bytes[1]) || in fscrypt_setup_filename()
492 (ret > offsetof(struct fscrypt_nokey_name, sha256) && in fscrypt_setup_filename()
506 ret - offsetof(struct fscrypt_nokey_name, bytes); in fscrypt_setup_filename()
533 const struct fscrypt_nokey_name *nokey_name = in fscrypt_match_name()