Function report |
Source Code:fs\crypto\hooks.c |
Create Date:2022-07-28 20:23:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:const char *fscrypt_get_symlink(struct inode *inode, const void *caddr, unsigned int max_size, struct delayed_call *done)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| const void * | caddr | |
| unsigned int | max_size | |
| struct delayed_call * | done |
| 243 | If WARN_ON(!IS_ENCRYPTED(inode)) Then Return ERR_PTR( - EINVAL) |
| 255 | err = fscrypt_get_encryption_info(inode) |
| 268 | name = encrypted_path |
| 269 | len = le16_to_cpu(len) |
| 297 | If (!has_key || cmpxchg_release( & i_link, NULL, name) != NULL) Then I really wish we had closures with sane typechecking... |
| 301 | Return name |
| 303 | err_kfree : |
| 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 |