Searched refs:fscrypt_modes (Results 1 – 3 of 3) sorted by relevance
16 struct fscrypt_mode fscrypt_modes[] = { variable70 BUILD_BUG_ON(ARRAY_SIZE(fscrypt_modes) != FSCRYPT_MODE_MAX + 1); in select_encryption_mode()73 return &fscrypt_modes[fscrypt_policy_contents_mode(policy)]; in select_encryption_mode()76 return &fscrypt_modes[fscrypt_policy_fnames_mode(policy)]; in select_encryption_mode()186 const u8 mode_num = mode - fscrypt_modes; in setup_per_mode_enc_key()
639 extern struct fscrypt_mode fscrypt_modes[];
78 mode = &fscrypt_modes[contents_mode]; in supported_direct_key_modes()