函数逻辑报告 | 
Source Code:fs\crypto\hooks.c | 
Create Date:2022-07-29 10:57:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__fscrypt_prepare_symlink
函数原型:int __fscrypt_prepare_symlink(struct inode *dir, unsigned int len, unsigned int max_len, struct fscrypt_str *disk_link)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct inode * | dir | |
| unsigned int | len | |
| unsigned int | max_len | |
| struct fscrypt_str * | disk_link | 
| 143 | 如果非fscrypt_has_encryption_key(dir)则返回:负ENOKEY | 
| 157 | 如果非fscrypt_fname_encrypted_size(dir, len, max_len - sizeof(structfscrypt_symlink_data), & len)则返回:负ENAMETOOLONG | 
| 161 | len加等于sizeof(structfscrypt_symlink_data) | 
| 163 | name = NULL | 
| 164 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |