函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscrypt.h Create Date:2022-07-29 10:32:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scrypt_encrypt_symlink - encrypt the symlink target if needed*@inode: symlink inode*@target: plaintext symlink target*@len: length of @target excluding null terminator*@disk_link: (in/out) the on-disk symlink target being prepared* If the symlink target

函数原型:static inline int fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link)

返回类型:int

参数:

类型参数名称
struct inode *inode
const char *target
unsigned intlen
struct fscrypt_str *disk_link
735  如果IS_ENCRYPTED(inode)则返回:__fscrypt_encrypt_symlink(inode, target, len, disk_link)
737  返回:0