Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Schedule a dead links collection run.

Proto:void key_schedule_gc_links(void)

Type:void

Parameter:Nothing

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
Caller
NameDescribe
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