Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
unsigned intirq
void *vcpu_info
463  desc = irq_get_desc_lock(irq, & flags, 0)
466  ret = -ENOSYS
468  If Not desc Then Return -EINVAL
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
481  When data cycle
483  If data Then ret = irq_set_vcpu_affinity(data, vcpu_info)
485  irq_put_desc_unlock(desc, flags)
487  Return ret