Function report |
Source Code:kernel\irq\cpuhotplug.c |
Create Date:2022-07-28 10:14:57 |
| Last Modify:2020-03-17 14:50:00 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:migrate_one_irq
Proto:static bool migrate_one_irq(struct irq_desc *desc)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_desc * | desc |
| 54 | d = irq_desc_get_irq_data(desc) |
| 55 | chip = irq_data_get_irq_chip(d) |
| 56 | maskchip = Not irq_can_move_pcntxt(d) && Not irqd_irq_masked(d) |
| 58 | bool brokeaff = false |
| 66 | If Not chip || Not irq_set_affinity Then |
| 80 | If irqd_is_per_cpu(d) || Not irqd_is_started(d) || Not For !GENERIC_IRQ_EFFECTIVE_AFF_MASK this looks at general affinity mask Then |
| 86 | Return false |
| 105 | Else affinity = irq_data_get_affinity_mask(d) |
| 131 | err = irq_do_set_affinity(d, affinity, false) |
| 132 | If err Then |
| 133 | pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n", irq, err) |
| 135 | brokeaff = false |
| 138 | If maskchip && irq_unmask Then irq_unmask(d) |
| 141 | Return brokeaff |
| Name | Describe |
|---|---|
| irq_migrate_all_off_this_cpu | q_migrate_all_off_this_cpu - Migrate irqs away from offline cpu* The current CPU has been marked offline |
| 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 |