| Function report | 
| Source Code: fs\crypto\keysetup.c | Create Date:2022-07-28 20:24:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:select_encryption_mode
Proto:static struct fscrypt_mode *select_encryption_mode(const union fscrypt_policy *policy, const struct inode *inode)
Type:struct fscrypt_mode
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const union fscrypt_policy * | policy | |
| const struct inode * | inode | 
| 53 | If S_ISREG(i_mode) Then Return available_modes[Return the contents encryption mode of a valid encryption policy ] | 
| 56 | If S_ISDIR(i_mode) || S_ISLNK(i_mode) Then Return available_modes[Return the filenames encryption mode of a valid encryption policy ] | 
| 59 | WARN_ONCE(1, "fscrypt: filesystem tried to load encryption info for inode %lu, which is not encryptable (file type %d)\n", Stat data, not accessed from path walking , (i_mode & S_IFMT)) | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |