函数逻辑报告 |
Source Code:include\linux\rbtree_augmented.h |
Create Date:2022-07-27 07:09:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__rb_change_child
函数原型:static inline void __rb_change_child(struct rb_node *old, struct rb_node *new, struct rb_node *parent, struct rb_root *root)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rb_node * | old | |
| struct rb_node * | new | |
| struct rb_node * | parent | |
| struct rb_root * | root |
| 172 | 如果parent则 |
| 173 | 如果rb_left恒等于old则WRITE_ONCE(rb_left, new) |
| 175 | 否则WRITE_ONCE(rb_right, new) |
| 177 | 否则WRITE_ONCE(rb_node, new) |
| 名称 | 描述 |
|---|---|
| __rb_rotate_set_parents | Helper function for rotations:* - old's parent and color get assigned to new* - old gets assigned new as a parent and 'color' as a color. |
| rb_replace_node | |
| __rb_erase_augmented |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |