函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:keyring_ptr_to_key

函数原型:static inline struct key *keyring_ptr_to_key(const struct assoc_array_ptr *x)

返回类型:struct key

参数:

类型参数名称
const struct assoc_array_ptr *x
42  object等于assoc_array_ptr_to_leaf(x)
43  返回:object按位与We mark pointers we pass to the associative array with bit 1 set if* they're keyrings and clear otherwise.的反
调用者
名称描述
keyring_get_object_key_chunk
keyring_compare_object
keyring_diff_objectsCompare the index keys of a pair of objects and determine the bit position* at which they differ - if they differ.
keyring_free_objectFree an object after stripping the keyring flag off of the pointer.
keyring_read_iterator
keyring_search_iteratorIteration function to consider each key found.
search_nested_keyringsSearch a tree of keyrings that point to other keyrings up to the maximum* depth.
find_key_to_updateSearch the given keyring for a key that might be updated.* The caller must guarantee that the keyring is a keyring and that the* permission is granted to modify the keyring as no check is made here. The
keyring_detect_cycle_iterator
keyring_gc_select_iterator
keyring_gc_check_iterator