函数逻辑报告 |
Source Code:lib\smp_processor_id.c |
Create Date:2022-07-27 07:51:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_preemption_disabled
函数原型:notrace static inline __attribute__((__always_inline__)) unsigned int check_preemption_disabled(const char *what1, const char *what2)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | what1 | |
| const char * | what2 |
| 16 | 如果此条件成立可能性大(为编译器优化)(抢占计数值)则转到:out |
| 26 | 如果nr_cpus_allowed恒等于1则转到:out |
| 32 | 如果Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.小于SYSTEM_SCHEDULING则转到:out |
| 40 | 如果非printk_ratelimit()则转到:out_enable |
| 43 | printk(r conditions "BUG: using %s%s() in preemptible [%08x] code: %s/%d\n", what1, what2, 抢占计数值 - 1, comm, pid) |
| 46 | printk("caller is %pS\n", __builtin_return_address(0)) |
| 47 | dump_stack() |
| 49 | out_enable : |
| 51 | out : |
| 52 | 返回:this_cpu |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |