函数逻辑报告 |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-27 11:10:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:quest_percpu_nmi - allocate a percpu interrupt line for NMI delivery*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
函数原型:int request_percpu_nmi(unsigned int irq, irq_handler_t handler, const char *name, void __percpu *dev_id)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | irq | |
irq_handler_t | handler | |
const char * | name | |
void __percpu * | dev_id |
2487 | 如果非desc或非设置请求参数或非irq_settings_is_per_cpu_devid(desc)或中断能够被设置或非irq_supports_nmi(desc)则返回:负EINVAL |
2502 | 中断动作标志等于IRQF_PERCPU按位或IRQF_NO_SUSPEND按位或IRQF_NO_THREAD按位或IRQF_NOBALANCING |
2505 | percpu_dev_id等于dev_id |
2507 | retval等于q_chip_pm_get - Enable power for an IRQ chip*@data: Pointer to interrupt specific data* Enable the power to the IRQ chip referenced by the interrupt data* structure. |
2512 | 如果retval则转到:err_irq_setup |
2515 | raw_spin_lock_irqsave( & 自旋锁, flags) |
2517 | raw_spin_unlock_irqrestore( & 自旋锁, flags) |
2519 | 返回:0 |
2521 | err_irq_setup : |
2523 | err_out : |
2524 | 释放内存 |
2526 | 返回:retval |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |