| Function report | 
| Source Code: security\keys\key.c | Create Date:2022-07-28 18:16:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Attempt to update an existing key.* The key is given to us with an incremented refcount that we need to discard* if we get an error.
Proto:static inline key_ref_t __key_update(key_ref_t key_ref, struct key_preparsed_payload *prep)
Type:key_ref_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| key_ref_t | key_ref | |
| struct key_preparsed_payload * | prep | 
| 751 | key = key_ref_to_ptr(key_ref) | 
| 763 | lock for writing | 
| 766 | If ret == 0 Then Change the key state to being instantiated. | 
| 774 | out : | 
| 775 | Return key_ref | 
| 777 | error : | 
| 780 | Go to out | 
| Name | Describe | 
|---|---|
| key_create_or_update | key_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key. | 
| 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 |