函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__ipi_send_single - send an IPI to a target Linux SMP CPU*@desc: pointer to irq_desc of the IRQ*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* This function is for architecture or core code to speed up IPI sending. Not

函数原型:int __ipi_send_single(struct irq_desc *desc, unsigned int cpu)

返回类型:int

参数:

类型参数名称
struct irq_desc *desc
unsigned intcpu
223  data等于irq_desc_get_irq_data(desc)
224  chip等于irq_data_get_irq_chip(data)
235  如果非ipi_send_single
236  ipi_send_mask(data, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu))
237  返回:0
241  如果irq_domain_is_ipi_per_cpu(硬件中断对象)且cpu不等于ipi_offset
244  irq等于中断号cpuipi_offset
246  data等于irq_get_irq_data(irq)
248  ipi_send_single(data, cpu)
249  返回:0
调用者
名称描述
ipi_send_singlepi_send_single - Send an IPI to a single CPU*@virq: linux irq number from irq_reserve_ipi()*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* Returns zero on success and negative error number on failure.