函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Schedule a dead links collection run.

函数原型:void key_schedule_gc_links(void)

返回类型:void

参数:

74  set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not
75  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
调用者
名称描述
key_gc_timer_funcSome key's cleanup time was met after it expired, so we need to get the* reaper to go through a cycle finding expired keys.
key_invalidatekey_invalidate - Invalidate a key.*@key: The key to be invalidated.* Mark a key as being invalidated and have it cleaned up immediately. The key* is ignored by all searches and other operations from this point.
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