函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:27:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Helper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.
函数原型:static void __call_rcu(struct callback_head *head, rcu_callback_t func, bool lazy)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct callback_head * | head | |
| rcu_callback_t | func | |
| bool | lazy |
| 2594 | WARN_ON_ONCE((unsignedlong)head & (*的长度 - 1)) |
| 2605 | 返回 |
| 2608 | next = NULL |
| 2609 | local_irq_save(flags) |
| 2610 | rdp等于this_cpu_ptr( & rcu_data) |
| 2622 | 如果rcu_nocb_try_bypass(rdp, head, & was_alldone, flags)则返回 |
| 2625 | rcu_segcblist_enqueue( & Segmented callback list, with , head, lazy) |
| 2639 | __call_rcu_nocb_wake(rdp, was_alldone, flags) |
| 2640 | 否则 |
| 2642 | local_irq_restore(flags) |
| 名称 | 描述 |
|---|---|
| call_rcu | all_rcu() - Queue an RCU callback for invocation after a grace period |
| kfree_call_rcu | Queue an RCU callback for lazy invocation after a grace period.* This will likely be later named something like "call_rcu_lazy()",* but this change will require some way of tagging the lazy RCU* callbacks in the list of pending callbacks. Until then, this |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |