函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-27 11:10:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function must be called with desc->lock held

函数原型:static const void *__cleanup_nmi(unsigned int irq, struct irq_desc *desc)

返回类型:void

参数:

类型参数名称
unsigned intirq
struct irq_desc *desc
1868  const char * devname = NULL
1870  istate与等于IRQS_NMI的反
1872  如果非WARN_ON(中断服务例程链表 == NULL)则
1873  irq_pm_remove_action(desc, 中断服务例程链表)
1874  devname等于设备名
1875  unregister_handler_proc(irq, 中断服务例程链表)
1877  释放内存
1878  中断服务例程链表 = NULL
1881  irq_settings_clr_disable_unlazy(desc)
1882  irq_shutdown_and_deactivate(desc)
1884  irq_release_resources(desc)
1886  q_chip_pm_put - Disable power for an IRQ chip*@data: Pointer to interrupt specific data* Disable the power to the IRQ chip referenced by the interrupt data* structure, belongs. Note that power will only be disabled, once this
1887  module_put(owner)
1889  返回:devname
调用者
名称描述
free_nmi
request_nmiquest_nmi - allocate an interrupt line for NMI delivery*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs