函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:key_is_positive - Determine if a key has been positively instantiated*@key: The key to check.* Return true if the specified key has been positively instantiated, false* otherwise.

函数原型:static inline bool key_is_positive(const struct key *key)

返回类型:bool

参数:

类型参数名称
const struct key *key
449  返回:key_read_state(key)恒等于 Positively instantiated
调用者
名称描述
keyring_describe
request_key_auth_describeDescribe an authorisation token.
user_updatepdate a user defined key* - the key's semaphore is write-locked
user_describedescribe the user key
big_key_revokedispose of the links from a revoked keyring* - called with the key sem write-locked
big_key_describedescribe the big_key key
fscrypt_key_describe