Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\ipi.c Create Date:2022-07-28 10:15:41
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 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.

Proto:int ipi_send_mask(unsigned int virq, const struct cpumask *dest)

Type:int

Parameter:

TypeParameterName
unsigned intvirq
const struct cpumask *dest
330  desc = Interrupt to descriptor
331  struct irq_data * data = desc ? irq_desc_get_irq_data(desc) : NULL
332  struct irq_chip * chip = data ? irq_data_get_irq_chip(data) : NULL
334  If WARN_ON_ONCE(ipi_send_verify(chip, data, dest, 0)) Then Return -EINVAL
337  Return 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