Function report |
Source Code:arch\x86\kernel\apic\vector.c |
Create Date:2022-07-28 08:28:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:x86_vector_activate
Proto:static int x86_vector_activate(struct irq_domain *dom, struct irq_data *irqd, bool reserve)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_domain * | dom | |
| struct irq_data * | irqd | |
| bool | reserve |
| 442 | apicd = apic_chip_data(irqd) |
| 444 | ret = 0 |
| 450 | If Not can_reserve && Not is_managed Then Return 0 |
| 453 | raw_spin_lock_irqsave( & vector_lock, flags) |
| 454 | If reserve || irqd_is_managed_and_shutdown(irqd) Then vector_assign_managed_shutdown(irqd) |
| 456 | Else if is_managed Then ret = activate_managed(irqd) |
| 458 | Else if has_reserved Then ret = activate_reserved(irqd) |
| 460 | raw_spin_unlock_irqrestore( & vector_lock, flags) |
| 461 | Return ret |
| 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 |