Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:key_put_tag - Release a ref on a tag.*@tag: The tag to release.* This releases a reference the given tag and returns true if that ref was the* last one.

Proto:bool key_put_tag(struct key_tag *tag)

Type:bool

Parameter:

TypeParameterName
struct key_tag *tag
240  If _dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then
241  kfree_rcu() - kfree an object after a grace period(tag, rcu)
242  Return true
245  Return false
Caller
NameDescribe
key_remove_domainkey_remove_domain - Kill off a key domain and gc its keys*@domain_tag: The domain tag to release.* This marks a domain tag as being dead and releases a ref on it. If that* wasn't the last reference, the garbage collector is poked to try and delete