函数逻辑报告 |
Source Code:security\keys\key.c |
Create Date:2022-07-27 19:50:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Change the key state to being instantiated.
函数原型:static void mark_key_instantiated(struct key *key, int reject_error)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | key | |
int | reject_error |
411 | smp_store_release( & Key state (+) or rejection error (-) , (reject_error < 0) ? reject_error : KEY_IS_POSITIVE) |
名称 | 描述 |
---|---|
__key_instantiate_and_link | Instantiate a key and link it into the target keyring atomically. Must be* called with the target keyring's semaphore writelocked. The target key's* semaphore need not be locked as instantiation is serialised by* key_construction_mutex. |
key_reject_and_link | key_reject_and_link - Negatively instantiate a key and link it into the keyring.*@key: The key to instantiate.*@timeout: The timeout on the negative key.*@error: The error to return when the key is hit. |
__key_update | 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. |
key_update | key_update - Update a key's contents.*@key_ref: The pointer (plus possession flag) to the key.*@payload: The data to be used to update the key.*@plen: The length of @payload.* Attempt to update the contents of a key with the given payload data. The |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |