函数逻辑报告 |
Source Code:kernel\irq\ipi.c |
Create Date:2022-07-27 11:15:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pi_get_hwirq - Get the hwirq associated with an IPI to a cpu*@irq: linux irq number*@cpu: the target cpu* When dealing with coprocessors IPI, we need to inform the coprocessor of* the hwirq it needs to use to receive and send IPIs.
函数原型:irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu)
返回类型:irq_hw_number_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | irq | |
| unsigned int | cpu |
| 164 | data等于irq_get_irq_data(irq) |
| 165 | struct cpumask * ipimask = data ? irq_data_get_affinity_mask(data) : NULL |
| 167 | 如果非data或非ipimask或cpu大于等于nr_cpu_ids则返回:Contrary to Linux irqs, for hardware irqs the irq number 0 is valid |
| 179 | 如果irq_domain_is_ipi_per_cpu(硬件中断对象)则data等于irq_get_irq_data(irq + cpu - ipi_offset) |
| 182 | 返回:如果data则irqd_to_hwirq(data)否则Contrary to Linux irqs, for hardware irqs the irq number 0 is valid |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |