| 函数逻辑报告 | 
| Source Code: kernel\workqueue.c | Create Date:2022-07-27 10:28:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:workqueue_congested - test whether a workqueue is congested*@cpu: CPU in question*@wq: target workqueue* Test whether @wq's cpu workqueue for @cpu is congested. There is* no synchronization around this function and the test result is
函数原型:bool workqueue_congested(int cpu, struct workqueue_struct *wq)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | cpu | |
| struct workqueue_struct * | wq | 
| 4516 | 禁止抢占() | 
| 4518 | 如果cpu恒等于WORK_CPU_UNBOUND则cpu等于当前cpu ID() | 
| 4521 | 如果非hot fields used during command issue, aligned to cacheline 按位与WQ_UNBOUND的值则pwq等于per_cpu_ptr(I: per-cpu pwqs , cpu) | 
| 4527 | 禁用抢占和中断() | 
| 4530 | 返回:ret | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |