函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\assoc_array.c Create Date:2022-07-27 07:51:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:assoc_array_clear - Script deletion of all objects from an associative array*@array: The array to clear.*@ops: The operations to use.* Precalculate and preallocate a script for the deletion of all the objects* from an associative array

函数原型:struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, const struct assoc_array_ops *ops)

返回类型:struct assoc_array_edit

参数:

类型参数名称
struct assoc_array *array
const struct assoc_array_ops *ops
1280  打印调试信息("-->%s()\n", __func__)
1282  如果非The node at the root of the tree 则返回:NULL
1285  edit等于分配内存并置零
1286  如果非edit则返回:错误号
1288  array等于array
1289  ops等于ops
1290  ptr等于The node at the root of the tree
1291  to = NULL
1292  excised_subtree等于The node at the root of the tree
1293  ops_for_excised_subtree等于ops
1294  打印调试信息("all gone\n")
1295  返回:edit
调用者
名称描述
keyring_revoke
keyring_clearkeyring_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.