函数逻辑报告 |
Source Code:kernel\irq\devres.c |
Create Date:2022-07-27 11:12:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:devm_request_any_context_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs*@irqflags: Interrupt type flags*@devname: An ascii
函数原型:int devm_request_any_context_irq(struct device *dev, unsigned int irq, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct device * | dev | |
| unsigned int | irq | |
| irq_handler_t | handler | |
| unsigned long | irqflags | |
| const char * | devname | |
| void * | dev_id |
| 106 | dr等于devres_alloc(devm_irq_release, sizeof(structirq_devres), GFP_KERNEL) |
| 114 | rc等于quest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs |
| 115 | 如果rc小于0则 |
| 116 | devres_free(dr) |
| 117 | 返回:rc |
| 122 | devres_add(dev, dr) |
| 124 | 返回:rc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |