Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\assoc_array.c Create Date:2022-07-28 06:54:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, const struct assoc_array_ops *ops)

Type:struct assoc_array_edit

Parameter:

TypeParameterName
struct assoc_array *array
const struct assoc_array_ops *ops
1280  pr_devel("-->%s()\n", __func__)
1282  If Not The node at the root of the tree Then Return NULL
1285  edit = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
1286  If Not edit Then Return ERR_PTR( - ENOMEM)
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  pr_devel("all gone\n")
1295  Return edit
Caller
NameDescribe
keyring_revoke