函数逻辑报告 |
Source Code:lib\assoc_array.c |
Create Date:2022-07-27 07:51:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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,
函数原型:void assoc_array_apply_edit(struct assoc_array_edit *edit)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct assoc_array_edit * | edit |
| 1355 | smp_wmb() |
| 1359 | smp_wmb() |
| 1360 | 以i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(set_parent_slot)循环如果p则 |
| 1364 | smp_wmb() |
| 1365 | 以i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(set_backpointers)循环如果set_backpointers[i]则 |
| 1367 | set_backpointers[i]等于set_backpointers_to |
| 1369 | smp_wmb() |
| 1374 | 如果(The node at the root of the tree == NULL)则 |
| 1375 | nr_leaves_on_tree等于0 |
| 1376 | 否则如果adjust_count_on则 |
| 1377 | node等于adjust_count_on |
| 1378 | 循环 |
| 1381 | ptr等于back_pointer |
| 1384 | 如果assoc_array_ptr_is_shortcut(ptr)则 |
| 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 |
| 名称 | 描述 |
|---|---|
| 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 | |
| __key_link | Link a key into to a keyring.* Must be called with __key_link_begin() having being called. Discards any* already extant link to matching key if there is one, so that each keyring* holds at most one link to any given key of a particular type+description |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |