Function report |
Source Code:security\keys\gc.c |
Create Date:2022-07-28 18:14:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Garbage collect a list of unreferenced, detached keys
Proto:static noinline void key_gc_unused_keys(struct list_head *keys)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | keys |
| 131 | kdebug("- %u", key serial number ) |
| 135 | If state == KEY_IS_POSITIVE && destroy Then destroy(key) |
| 138 | security_key_free(key) |
| 148 | atomic_dec( & nkeys) |
| 149 | If state != KEY_IS_UNINSTANTIATED Then atomic_dec( & nikeys) |
| 152 | key_user_put( owner of this key ) |
| 153 | key_put_tag( Domain of operation ) |
| 154 | kfree(description) |
| 157 | kmem_cache_free(key_jar, key) |
| Name | Describe |
|---|---|
| key_garbage_collector | Reaper for unused keys. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |