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_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.

Proto:int ipi_send_single(unsigned int virq, unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intvirq
unsigned intcpu
309  desc = Interrupt to descriptor
310  struct irq_data * data = desc ? irq_desc_get_irq_data(desc) : NULL
311  struct irq_chip * chip = data ? irq_data_get_irq_chip(data) : NULL
313  If WARN_ON_ONCE(ipi_send_verify(chip, data, NULL, cpu)) Then Return -EINVAL
316  Return __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