函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest)

返回类型:int

参数:

类型参数名称
struct irq_desc *desc
const struct cpumask *dest
265  data等于irq_desc_get_irq_data(desc)
266  chip等于irq_data_get_irq_chip(data)
278  如果ipi_send_mask
279  ipi_send_mask(data, dest)
280  返回:0
283  如果irq_domain_is_ipi_per_cpu(硬件中断对象)则
284  base等于中断号
287  irq等于basecpuipi_offset
289  data等于irq_get_irq_data(irq)
290  ipi_send_single(data, cpu)
292  否则
293  遍历CPU(cpu, dest)
294  ipi_send_single(data, cpu)
296  返回:0
调用者
名称描述
ipi_send_maskpi_send_mask - Send an IPI to target CPU(s)*@virq: linux irq number from irq_reserve_ipi()*@dest: dest CPU(s), must be a subset of the mask passed to* irq_reserve_ipi()* Returns zero on success and negative error number on failure.