Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scrypt_require_key - require an inode's encryption key*@inode: the inode we need the key for* If the inode is encrypted, set up its encryption key if not already done

Proto:static inline int fscrypt_require_key(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
547  If IS_ENCRYPTED(inode) Then
548  err = fscrypt_get_encryption_info(inode)
550  If err Then Return err
552  If Not fscrypt_has_encryption_key(inode) Then Return -ENOKEY
555  Return 0
Caller
NameDescribe
fscrypt_file_openscrypt_file_open - prepare to open a possibly-encrypted regular file*@inode: the inode being opened*@filp: the struct file being set up* Currently, an encrypted regular file can only be opened if its encryption key
__fscrypt_prepare_link
__fscrypt_prepare_rename
__fscrypt_encrypt_symlink