| Function report | 
| Source Code: security\keys\keyring.c | Create Date:2022-07-28 18:18:45 | 
| 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 pointers from a keyring.* Not called with any locks held. The keyring's key struct will not be* deallocated under us as only our caller may deallocate it.
Proto:void keyring_gc(struct key *keyring, time64_t limit)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct key * | keyring | |
| time64_t | limit | 
| 1718 | kenter("%x{%s}", key serial number , description ? : "") | 
| 1720 | If status flags (change with bitops) & ( 1 << set if key has been invalidated | 1 << set if key had been revoked ) Then Go to dont_gc | 
| 1732 | dont_gc : | 
| 1733 | kleave(" [no gc]") | 
| 1734 | Return | 
| 1736 | do_gc : | 
| 1737 | lock for writing | 
| 1740 | lease a write lock | 
| 1741 | kleave(" [gc]") | 
| 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 |