函数逻辑报告 |
Source Code:security\keys\key.c |
Create Date:2022-07-27 19:50:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int __key_instantiate_and_link(struct key *key, struct key_preparsed_payload *prep, struct key *keyring, struct key *authkey, struct assoc_array_edit **_edit)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | key | |
struct key_preparsed_payload * | prep | |
struct key * | keyring | |
struct key * | authkey | |
struct assoc_array_edit ** | _edit |
432 | awaken等于0 |
440 | ret等于instantiate(key, prep) |
442 | 如果ret恒等于0则 |
444 | atomic_inc( & nikeys) |
447 | 如果st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).则awaken等于1 |
451 | 如果keyring则 |
452 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则设置内存位 |
455 | __key_link(key, _edit) |
475 | 返回:ret |
名称 | 描述 |
---|---|
key_instantiate_and_link | key_instantiate_and_link - Instantiate a key and link it into the keyring.*@key: The key to instantiate.*@data: The data to use to instantiate the keyring.*@datalen: The length of @data.*@keyring: Keyring to create a link in on success (or NULL). |
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |