Function report |
Source Code:security\keys\gc.c |
Create Date:2022-07-28 18:14:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reap keys of dead type.* We use three flags to make sure we see three complete cycles of the garbage* collector: the first to mark keys of that type as being dead, the second to* collect dead links and the third to clean up the dead keys. We have to be
Proto:void key_gc_keytype(struct key_type *ktype)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct key_type * | ktype |
| 101 | kenter("%s", ame of the type ) |
| 103 | key_gc_dead_keytype = ktype |
| 105 | smp_mb() |
| 108 | kdebug("schedule") |
| 111 | kdebug("sleep") |
| 115 | key_gc_dead_keytype = NULL |
| 116 | kleave("") |
| Name | Describe |
|---|---|
| unregister_key_type | register_key_type - Unregister a type of key.*@ktype: The key type.* Unregister a key type and mark all the extant keys of this type as dead.* Those keys of this type are then destroyed to get rid of their payloads and |
| 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 |