函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:29:18
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:alloc_irq_from_domain

函数原型:static int alloc_irq_from_domain(struct irq_domain *domain, int ioapic, unsigned int gsi, struct irq_alloc_info *info)

返回类型:int

参数:

类型参数名称
struct irq_domain *domain
intioapic
unsigned intgsi
struct irq_alloc_info *info
962  bool legacy = false
963  irq等于负1
964  type等于type
967  :type恒等于IOAPIC_DOMAIN_LEGACY
972  如果非ioapic_initializedgsi大于等于nr_legacy_irqs()则irq等于gsi
974  legacy等于mp_is_legacy_irq(irq)
975  退出
976  :type恒等于IOAPIC_DOMAIN_STRICT
977  irq等于gsi
978  退出
979  :type恒等于IOAPIC_DOMAIN_DYNAMIC
980  退出
981  默认
982  WARN(1, "ioapic: unknown irqdomain type %d\n", type)
983  返回:负1
986  返回:__irq_domain_alloc_irqs(domain, irq, 1, ioapic_alloc_attr_node(info), info, legacy, NULL)
调用者
名称描述
mp_map_pin_to_irq