Lines Matching refs:fscrypt_nokey_name
22 * struct fscrypt_nokey_name - identifier for directory entry when key is absent
51 struct fscrypt_nokey_name {
60 * sizeof(struct fscrypt_nokey_name), as the padding at the end isn't included.
62 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256)
310 * encode it for presentation in fscrypt_nokey_name format.
311 * See struct fscrypt_nokey_name for details.
321 struct fscrypt_nokey_name nokey_name;
338 * Sanity check that struct fscrypt_nokey_name doesn't have padding
341 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, dirhash) !=
342 offsetof(struct fscrypt_nokey_name, bytes));
343 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, bytes) !=
344 offsetof(struct fscrypt_nokey_name, sha256));
352 size = offsetof(struct fscrypt_nokey_name, bytes[iname->len]);
382 * decode it to get the struct fscrypt_nokey_name. Non-@lookup operations will
392 struct fscrypt_nokey_name *nokey_name;
443 if (ret < (int)offsetof(struct fscrypt_nokey_name, bytes[1]) ||
444 (ret > offsetof(struct fscrypt_nokey_name, sha256) &&
458 ret - offsetof(struct fscrypt_nokey_name, bytes);
478 * we'll need to match against a fscrypt_nokey_name that includes a strong hash.
485 const struct fscrypt_nokey_name *nokey_name =