Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:keyring_key_to_ptr

Proto:static inline void *keyring_key_to_ptr(struct key *key)

Type:void

Parameter:

TypeParameterName
struct key *key
47  If type of key == key_type_keyring Then Return key | We mark pointers we pass to the associative array with bit 1 set if* they're keyrings and clear otherwise.
49  Return key
Caller
NameDescribe
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