| 函数逻辑报告 | 
| Source Code: security\keys\key.c | Create Date:2022-07-27 19:50:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:key_payload_reserve - Adjust data quota reservation for the key's payload*@key: The key to make the reservation for
函数原型:int key_payload_reserve(struct key *key, size_t datalen)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct key * | key | |
| size_t | datalen | 
| 371 | delta等于datalen减 payload data length * - may not match RCU dereferenced payload * - payload should contain own length | 
| 372 | ret等于0 | 
| 396 | 如果ret恒等于0则 payload data length * - may not match RCU dereferenced payload * - payload should contain own length等于datalen | 
| 399 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| generic_key_instantiate | generic_key_instantiate - Simple instantiation of a key from preparsed data*@key: The key to be instantiated*@prep: The preparsed data to load.* Instantiate a key from preparsed data. We assume we can just copy the data | 
| __key_link_begin | Preallocate memory so that a key can be linked into to a keyring. | 
| __key_link_end | Finish linking a key into to a keyring.* Must be called with __key_link_begin() having being called. | 
| __key_unlink | Apply an unlink change. | 
| keyring_clear | keyring_clear - Clear a keyring*@keyring: The keyring to clear.* Clear the contents of the specified keyring.* Returns 0 if successful or -ENOTDIR if the keyring isn't a keyring. | 
| keyring_revoke | |
| user_update | pdate a user defined key* - the key's semaphore is write-locked | 
| user_revoke | dispose of the links from a revoked keyring* - called with the key sem write-locked | 
| big_key_revoke | dispose of the links from a revoked keyring* - called with the key sem write-locked | 
| trusted_payload_alloc | |
| encrypted_key_alloc | Allocate memory for decrypted key and datablob. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |