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:__fscrypt_prepare_symlink
Proto:int __fscrypt_prepare_symlink(struct inode *dir, unsigned int len, unsigned int max_len, struct fscrypt_str *disk_link)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | dir | |
| unsigned int | len | |
| unsigned int | max_len | |
| struct fscrypt_str * | disk_link |
| 140 | err = fscrypt_get_encryption_info(dir) |
| 143 | If Not fscrypt_has_encryption_key(dir) Then Return -ENOKEY |
| 157 | If Not fscrypt_fname_encrypted_size(dir, len, max_len - sizeof(structfscrypt_symlink_data), & len) Then Return -ENAMETOOLONG |
| 161 | len += sizeof(structfscrypt_symlink_data) |
| 163 | name = NULL |
| 164 | Return 0 |
| Name | Describe |
|---|---|
| fscrypt_prepare_symlink | scrypt_prepare_symlink - prepare to create a possibly-encrypted symlink*@dir: directory in which the symlink is being created*@target: plaintext symlink target*@len: length of @target excluding null terminator*@max_len: space the filesystem has available |
| 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 |