函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Handle insertion into an empty tree.

函数原型:static bool assoc_array_insert_in_empty_tree(struct assoc_array_edit *edit)

返回类型:bool

参数:

类型参数名称
struct assoc_array_edit *edit
455  打印调试信息("-->%s()\n", __func__)
457  new_n0等于分配内存并置零
458  如果非new_n0则返回:false
461  new_meta[0]等于assoc_array_node_to_ptr(new_n0)
462  leaf_p等于slots[0]
463  adjust_count_on等于new_n0
464  ptr等于The node at the root of the tree
465  to等于assoc_array_node_to_ptr(new_n0)
467  打印调试信息("<--%s() = ok [no root]\n", __func__)
468  返回:true
调用者
名称描述
assoc_array_insertassoc_array_insert - Script insertion of an object into an associative array*@array: The array to insert into