Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-28 10:10:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function must be called with desc->lock held

Proto:static const void *__cleanup_nmi(unsigned int irq, struct irq_desc *desc)

Type:void

Parameter:

TypeParameterName
unsigned intirq
struct irq_desc *desc
1868  const char * devname = NULL
1870  istate &= ~IRQS_NMI
1872  If Not WARN_ON( IRQ action list == NULL) Then
1873  irq_pm_remove_action(desc, IRQ action list )
1874  devname = name
1875  unregister_handler_proc(irq, IRQ action list )
1877  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
1878  IRQ action list = 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  Return devname
Caller
NameDescribe
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