Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:29:46 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_irq_from_domain
Proto:static int alloc_irq_from_domain(struct irq_domain *domain, int ioapic, unsigned int gsi, struct irq_alloc_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_domain * | domain | |
| int | ioapic | |
| unsigned int | gsi | |
| struct irq_alloc_info * | info |
| 962 | bool legacy = false |
| 963 | irq = -1 |
| 967 | Case type == IOAPIC_DOMAIN_LEGACY |
| 972 | If Not ioapic_initialized || gsi >= nr_legacy_irqs() Then irq = gsi |
| 974 | legacy = mp_is_legacy_irq(irq) |
| 975 | Break |
| 976 | Case type == IOAPIC_DOMAIN_STRICT |
| 979 | Case type == IOAPIC_DOMAIN_DYNAMIC |
| 980 | Break |
| 981 | Default |
| 986 | Return __irq_domain_alloc_irqs(domain, irq, 1, ioapic_alloc_attr_node(info), info, legacy, NULL) |
| Name | Describe |
|---|---|
| mp_map_pin_to_irq |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |