Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscrypt.h Create Date:2022-07-28 20:02:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link)

Type:int

Parameter:

TypeParameterName
struct inode *inode
const char *target
unsigned intlen
struct fscrypt_str *disk_link
735  If IS_ENCRYPTED(inode) Then Return __fscrypt_encrypt_symlink(inode, target, len, disk_link)
737  Return 0