Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:09:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_set_vcpu_affinity - Set vcpu affinity for the interrupt*@irq: interrupt number to set affinity*@vcpu_info: vCPU specific data or pointer to a percpu array of vCPU* specific data for percpu_devid interrupts* This function uses the vCPU specific data to
Proto:int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | irq | |
| void * | vcpu_info |
| 463 | desc = irq_get_desc_lock(irq, & flags, 0) |
| 471 | data = irq_desc_get_irq_data(desc) |
| 472 | Do |
| 473 | chip = irq_data_get_irq_chip(data) |
| 474 | If chip && irq_set_vcpu_affinity Then Break |
| 479 | data = NULL |
| 483 | If data Then ret = irq_set_vcpu_affinity(data, vcpu_info) |
| 485 | irq_put_desc_unlock(desc, flags) |
| 487 | 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 |