Function report | 
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 activity | Download SCCT | Chinese | 
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:
| Type | Parameter | Name | 
|---|---|---|
| struct assoc_array_edit * | edit | 
| 1355 | smp_wmb() | 
| 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 | 
| 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 | 
| 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 | 
| 1379 | nr_leaves_on_branch += adjust_count_by | 
| 1381 | ptr = back_pointer | 
| 1382 | If Not ptr Then Break | 
| 1384 | If assoc_array_ptr_is_shortcut(ptr) Then | 
| 1390 | BUG_ON(!assoc_array_ptr_is_node(ptr)) | 
| 1391 | node = assoc_array_ptr_to_node(ptr) | 
| 1394 | nr_leaves_on_tree += adjust_count_by | 
| Name | Describe | 
|---|---|
| assoc_array_gc | assoc_array_gc - Garbage collect an associative array | 
| __key_unlink | Apply an unlink change. | 
| keyring_clear | keyring_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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |