函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\keyring.c Create Date:2022-07-27 19:51:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:keyring_key_to_ptr

函数原型:static inline void *keyring_key_to_ptr(struct key *key)

返回类型:void

参数:

类型参数名称
struct key *key
47  如果 type of key 恒等于key_type_keyring则返回:key按位或We mark pointers we pass to the associative array with bit 1 set if* they're keyrings and clear otherwise.
49  返回:key
调用者
名称描述
search_nested_keyringsSearch a tree of keyrings that point to other keyrings up to the maximum* depth.
__key_linkLink a key into to a keyring.* Must be called with __key_link_begin() having being called. Discards any* already extant link to matching key if there is one, so that each keyring* holds at most one link to any given key of a particular type+description