Function report | 
Source Code:fs\crypto\fname.c | 
Create Date:2022-07-28 20:23:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:scrypt_fname_alloc_buffer - allocate a buffer for presented filenames* Allocate a buffer that is large enough to hold any decrypted or encoded* filename (null-terminated), for the given maximum encrypted filename length
Proto:int fscrypt_fname_alloc_buffer(const struct inode *inode, unsigned int max_encrypted_len, struct fscrypt_str *crypto_str)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct inode * | inode | |
| unsigned int | max_encrypted_len | |
| struct fscrypt_str * | crypto_str | 
| 214 | max_presented_len = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(max_encoded_len, max_encrypted_len) | 
| 216 | name = Allocation memory | 
| 219 | len = max_presented_len | 
| 220 | Return 0 | 
| Name | Describe | 
|---|---|
| fscrypt_get_symlink | scrypt_get_symlink - get the target of an encrypted symlink*@inode: the symlink inode*@caddr: the on-disk contents of the symlink*@max_size: size of @caddr buffer*@done: if successful, will be set up to free the returned target if needed | 
| 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  |