Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\vector.c Create Date:2022-07-28 08:28:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:x86_vector_activate

Proto:static int x86_vector_activate(struct irq_domain *dom, struct irq_data *irqd, bool reserve)

Type:int

Parameter:

TypeParameterName
struct irq_domain *dom
struct irq_data *irqd
boolreserve
442  apicd = apic_chip_data(irqd)
444  ret = 0
446  trace_vector_activate(irq, is_managed, can_reserve, reserve)
450  If Not can_reserve && Not is_managed Then Return 0
453  raw_spin_lock_irqsave( & vector_lock, flags)
454  If reserve || irqd_is_managed_and_shutdown(irqd) Then vector_assign_managed_shutdown(irqd)
456  Else if is_managed Then ret = activate_managed(irqd)
458  Else if has_reserved Then ret = activate_reserved(irqd)
460  raw_spin_unlock_irqrestore( & vector_lock, flags)
461  Return ret