函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ipi_send_verify

函数原型:static int ipi_send_verify(struct irq_chip *chip, struct irq_data *data, const struct cpumask *dest, unsigned int cpu)

返回类型:int

参数:

类型参数名称
struct irq_chip *chip
struct irq_data *data
const struct cpumask *dest
unsigned intcpu
189  ipimask等于irq_data_get_affinity_mask(data)
191  如果非chip或非ipimask则返回:负EINVAL
194  如果非ipi_send_single且非ipi_send_mask则返回:负EINVAL
197  如果cpu大于等于nr_cpu_ids则返回:负EINVAL
200  如果dest
201  如果非pumask_subset - (*src1p & ~*src2p) == 0*@src1p: the first input*@src2p: the second input* Returns 1 if *@src1p is a subset of *@src2p, else returns 0则返回:负EINVAL
203  否则
204  如果非测试CPU信息则返回:负EINVAL
207  返回:0
调用者
名称描述
ipi_send_singlepi_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.
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.