函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-27 11:09:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)

返回类型:int

参数:

类型参数名称
unsigned intirq
void *vcpu_info
463  desc等于irq_get_desc_lock(irq, & flags, 0)
466  ret等于负ENOSYS
468  如果非desc则返回:负EINVAL
471  data等于irq_desc_get_irq_data(desc)
472  循环
473  chip等于irq_data_get_irq_chip(data)
474  如果chipirq_set_vcpu_affinity退出
479  data = NULL
481 data循环
483  如果dataret等于irq_set_vcpu_affinity(data, vcpu_info)
485  irq_put_desc_unlock(desc, flags)
487  返回:ret