函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\vector.c Create Date:2022-07-27 09:28:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vector_configure_legacy

函数原型:static bool vector_configure_legacy(unsigned int virq, struct irq_data *irqd, struct apic_chip_data *apicd)

返回类型:bool

参数:

类型参数名称
unsigned intvirq
struct irq_data *irqd
struct apic_chip_data *apicd
504  bool realloc = false
506  vector等于Vectors 0x30-0x3f are used for ISA interrupts.* round up to the next 16-vector boundary(virq)
507  cpu等于0
509  raw_spin_lock_irqsave( & vector_lock, flags)
514  如果irqd_is_activated(irqd)则
515  trace_vector_setup(virq, true, 0)
516  apic_update_irq_cfg(irqd, vector, cpu)
517  否则
519  can_reserve = true
520  irqd_set_can_reserve(irqd)
521  clear_irq_vector(irqd)
522  realloc = true
524  raw_spin_unlock_irqrestore( & vector_lock, flags)
525  返回:realloc
调用者
名称描述
x86_vector_alloc_irqs