Function report |
Source Code:arch\x86\kernel\apic\vector.c |
Create Date:2022-07-28 08:28:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apic_update_vector
Proto:static void apic_update_vector(struct irq_data *irqd, unsigned int newvec, unsigned int newcpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_data * | irqd | |
| unsigned int | newvec | |
| unsigned int | newcpu |
| 134 | apicd = apic_chip_data(irqd) |
| 135 | desc = irq_data_to_desc(irqd) |
| 136 | managed = irqd_affinity_is_managed(irqd) |
| 138 | lockdep_assert_held( & vector_lock) |
| 149 | prev_vector = 0 |
| 150 | If Not vector || vector == MANAGED_IRQ_SHUTDOWN_VECTOR Then Go to setnew |
| 160 | If cpu_online(cpu) Then |
| 164 | Else |
| 165 | irq_matrix_free(vector_matrix, cpu, vector, managed) |
| 169 | setnew : |
| 172 | BUG_ON(!IS_ERR_OR_NULL(per_cpu(vector_irq, newcpu)[newvec])) |
| 173 | per_cpu(vector_irq, newcpu)[newvec] = desc |
| Name | Describe |
|---|---|
| assign_vector_locked | |
| assign_managed_vector |
| 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 |