函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int ipi_send_mask(unsigned int virq, const struct cpumask *dest)

返回类型:int

参数:

类型参数名称
unsigned intvirq
const struct cpumask *dest
330  desc等于中断转换为描述
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  如果WARN_ON_ONCE(ipi_send_verify(chip, data, dest, 0))则返回:负EINVAL
337  返回: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