Function report | 
Source Code:fs\crypto\policy.c | 
Create Date:2022-07-28 20:24:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Retrieve an inode's encryption policy
Proto:static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| union fscrypt_policy * | policy | 
| 253 | ci = READ_ONCE(i_crypt_info) | 
| 254 | If ci Then | 
| 257 | Return 0 | 
| 260 | If Not IS_ENCRYPTED(inode) Then Return -ENODATA | 
| 263 | ret = get_context(inode, & ctx, size of ctx ) | 
| 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  |