函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:int ipi_send_single(unsigned int virq, unsigned int cpu)

返回类型:int

参数:

类型参数名称
unsigned intvirq
unsigned intcpu
309  desc等于中断转换为描述
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  如果WARN_ON_ONCE(ipi_send_verify(chip, data, NULL, cpu))则返回:负EINVAL
316  返回:__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