函数逻辑报告

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:15
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ioapic_copy_alloc_attr

函数原型:static void ioapic_copy_alloc_attr(struct irq_alloc_info *dst, struct irq_alloc_info *src, unsigned int gsi, int ioapic_idx, int pin)

返回类型:void

参数:

类型参数名称
struct irq_alloc_info *dst
struct irq_alloc_info *src
unsigned intgsi
intioapic_idx
intpin
892  copy_irq_alloc_info(dst, src)
893  type等于X86_IRQ_ALLOC_TYPE_IOAPIC
894  ioapic_id等于mpc_ioapic_id(ioapic_idx)
895  ioapic_pin等于pin
896  ioapic_valid等于1
897  如果srcioapic_valid
898  ioapic_node等于ioapic_node
899  ioapic_trigger等于ioapic_trigger
900  ioapic_polarity等于ioapic_polarity
901  否则
902  ioapic_node等于NUMA_NO_NODE
903  如果acpi_get_override_irq(gsi, & trigger, & polarity)大于等于0则
904  ioapic_trigger等于trigger
906  否则
调用者
名称描述
mp_map_pin_to_irq