Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:assoc_array_apply_edit - Apply an edit script to an associative array*@edit: The script to apply.* Apply an edit script to an associative array to effect an insertion,* deletion or clearance. As the edit script includes preallocated memory,

Proto:void assoc_array_apply_edit(struct assoc_array_edit *edit)

Type:void

Parameter:

TypeParameterName
struct assoc_array_edit *edit
1353  pr_devel("-->%s()\n", __func__)
1355  smp_wmb()
1356  If leaf_p Then leaf_p = leaf
1359  smp_wmb()
1360  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(set_parent_slot) cycle If p Then
1362  p = to
1364  smp_wmb()
1365  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(set_backpointers) cycle If set_backpointers[i] Then
1367  set_backpointers[i] = set_backpointers_to
1369  smp_wmb()
1370  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(set) cycle If ptr Then
1372  ptr = to
1374  If (The node at the root of the tree == NULL) Then
1375  nr_leaves_on_tree = 0
1376  Else if adjust_count_on Then
1377  node = adjust_count_on
1378  cycle
1381  ptr = back_pointer
1382  If Not ptr Then Break
1386  ptr = back_pointer
1387  If Not ptr Then Break
1394  nr_leaves_on_tree += adjust_count_by
1397  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.
Caller
NameDescribe
assoc_array_gcassoc_array_gc - Garbage collect an associative array
__key_unlinkApply an unlink change.
keyring_clearkeyring_clear - Clear a keyring*@keyring: The keyring to clear.* Clear the contents of the specified keyring.* Returns 0 if successful or -ENOTDIR if the keyring isn't a keyring.
keyring_revoke