函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:assoc_array_cancel_edit - Discard an edit script

函数原型:void assoc_array_cancel_edit(struct assoc_array_edit *edit)

返回类型:void

参数:

类型参数名称
struct assoc_array_edit *edit
1415  打印调试信息("-->%s()\n", __func__)
1418 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(new_meta)循环
1419  ptr等于new_meta[i]
1420  如果ptr
1427  kfree(edit)
调用者
名称描述
assoc_array_insertassoc_array_insert - Script insertion of an object into an associative array*@array: The array to insert into
assoc_array_deleteassoc_array_delete - Script deletion of an object from an associative array*@array: The array to search.*@ops: The operations to use.*@index_key: The key to the object.* Precalculate and preallocate a script for the deletion of an object from an
__key_link_endFinish linking a key into to a keyring.* Must be called with __key_link_begin() having being called.
__key_unlink_endFinish unlinking a key from to a keyring.
__key_link_beginPreallocate memory so that a key can be linked into to a keyring.