函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:is_master_key_secret_present

函数原型:static inline bool is_master_key_secret_present(const struct fscrypt_master_key_secret *secret)

返回类型:bool

参数:

类型参数名称
const struct fscrypt_master_key_secret *secret
406  返回:READ_ONCE(Size of the raw key in bytes. Set even if ->raw isn't set. )不等于0
调用者
名称描述
fscrypt_key_describe
add_existing_master_key
do_remove_keyTry to remove an fscrypt master encryption key
fscrypt_ioctl_get_key_statusRetrieve the status of an fscrypt master encryption key
setup_file_encryption_keyFind the master key, then set up the inode's actual encryption key.* If the master key is found in the filesystem-level keyring, then the* corresponding 'struct key' is returned in *master_key_ret with* ->mk_secret_sem read-locked
fscrypt_drop_inodescrypt_drop_inode - check whether the inode's master key has been removed* Filesystems supporting fscrypt must call this from their ->drop_inode()* method so that encrypted inodes are evicted as soon as they're no longer in