Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-28 08:30:57
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mp_irqdomain_free

Proto:void mp_irqdomain_free(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)

Type:void

Parameter:

TypeParameterName
struct irq_domain *domain
unsigned intvirq
unsigned intnr_irqs
3038  BUG_ON(nr_irqs != 1)
3039  irq_data = q_domain_get_irq_data - Get irq_data associated with @virq and @domain*@domain: domain to match*@virq: IRQ number to get irq_data
3040  If irq_data && chip_data Then
3041  data = chip_data
3042  __remove_pin_from_irq(data, mp_irqdomain_ioapic_idx(domain), (int)hwirq)
3044  WARN_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
3045  free previously allocated memory
3047  irq_domain_free_irqs_top(domain, virq, nr_irqs)