Function report | 
Source Code:arch\x86\kernel\apic\io_apic.c | 
Create Date:2022-07-28 08:29:50 | 
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mp_map_pin_to_irq
Proto:static int mp_map_pin_to_irq(unsigned int gsi, int idx, int ioapic, int pin, unsigned int flags, struct irq_alloc_info *info)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | gsi | |
| int | idx | |
| int | ioapic | |
| int | pin | |
| unsigned int | flags | |
| struct irq_alloc_info * | info | 
| 1038 | bool legacy = false | 
| 1041 | domain = mp_ioapic_irqdomain(ioapic) | 
| 1048 | legacy = mp_is_legacy_irq(irq) | 
| 1051 | mutex_lock( & ioapic_mutex) | 
| 1052 | If Not (flags & IOAPIC_MAP_ALLOC) Then | 
| 1053 | If Not legacy Then | 
| 1058 | Else | 
| 1065 | Else if Not mp_check_pin_attr(irq, & tmp) Then irq = -EBUSY | 
| 1067 | If irq >= 0 Then | 
| 1068 | data = irq_get_chip_data(irq) | 
| 1069 | count++ | 
| 1072 | mutex_unlock( & ioapic_mutex) | 
| 1074 | Return irq | 
| Name | Describe | 
|---|---|
| pin_2_irq | |
| mp_map_gsi_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  |