Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:assoc_array_rcu_cleanup

Proto:static void assoc_array_rcu_cleanup(struct rcu_head *head)

Type:void

Parameter:

TypeParameterName
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  pr_devel("-->%s()\n", __func__)
1309  If dead_leaf Then free_object(assoc_array_ptr_to_leaf(dead_leaf))
1311  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(excised_meta) cycle If excised_meta[i] Then
1313  kfree(assoc_array_ptr_to_node(excised_meta[i]))
1315  If excised_subtree Then
1316  BUG_ON(assoc_array_ptr_is_leaf(excised_subtree))
1320  back_pointer = NULL
1321  Else
1324  back_pointer = NULL
1326  Destructively iterate over an associative array. The caller must prevent* other simultaneous accesses.
1330  kfree(edit)