函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:bool key_put_tag(struct key_tag *tag)

返回类型:bool

参数:

类型参数名称
struct key_tag *tag
240  如果_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
241  kfree_rcu() - kfree an object after a grace period(tag, rcu)
242  返回:true
245  返回:false
调用者
名称描述
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