Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\ipi.c Create Date:2022-07-28 10:15:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest)

Type:int

Parameter:

TypeParameterName
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  If ipi_send_mask Then
279  ipi_send_mask(data, dest)
280  Return 0
283  If irq_domain_is_ipi_per_cpu(domain) Then
284  base = irq
287  irq = base + cpu - ipi_offset
289  data = irq_get_irq_data(irq)
290  ipi_send_single(data, cpu)
292  Else
293  for_each_cpu(cpu, dest)
294  ipi_send_single(data, cpu)
296  Return 0
Caller
NameDescribe
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.