函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:assoc_array_rcu_cleanup

函数原型:static void assoc_array_rcu_cleanup(struct rcu_head *head)

返回类型:void

参数:

类型参数名称
struct rcu_head *head
1303  edit等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(head, structassoc_array_edit, rcu)
1307  打印调试信息("-->%s()\n", __func__)
1309  如果dead_leaffree_object(assoc_array_ptr_to_leaf(dead_leaf))
1311 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(excised_meta)循环如果excised_meta[i]则
1313  kfree(assoc_array_ptr_to_node(excised_meta[i]))
1315  如果excised_subtree
1316  BUG_ON(assoc_array_ptr_is_leaf(excised_subtree))
1320  back_pointer = NULL
1321  否则
1324  back_pointer = NULL
1326  Destructively iterate over an associative array. The caller must prevent* other simultaneous accesses.
1330  kfree(edit)