Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\keyring.c Create Date:2022-07-28 18:16:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:keyring_ptr_to_key

Proto:static inline struct key *keyring_ptr_to_key(const struct assoc_array_ptr *x)

Type:struct key

Parameter:

TypeParameterName
const struct assoc_array_ptr *x
42  object = assoc_array_ptr_to_leaf(x)
43  Return object & ~We mark pointers we pass to the associative array with bit 1 set if* they're keyrings and clear otherwise.
Caller
NameDescribe
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