函数逻辑报告 |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-27 11:17:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:q_matrix_alloc - Allocate a regular interrupt in a CPU map*@m: Matrix pointer*@msk: Which CPUs to search in*@reserved: Allocate previously reserved interrupts*@mapped_cpu: Pointer to store the CPU for which the irq was allocated
函数原型:int irq_matrix_alloc(struct irq_matrix *m, const struct cpumask *msk, bool reserved, unsigned int *mapped_cpu)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct irq_matrix * | m | |
| const struct cpumask * | msk | |
| bool | reserved | |
| unsigned int * | mapped_cpu |
| 387 | cm等于per_cpu_ptr(maps, cpu) |
| 388 | bit等于matrix_alloc_area(m, cm, 1, false) |
| 391 | allocated自加 |
| 392 | available自减 |
| 393 | total_allocated自加 |
| 394 | global_available自减 |
| 395 | 如果reserved则global_reserved自减 |
| 397 | mapped_cpu等于cpu |
| 398 | trace_irq_matrix_alloc(bit, cpu, m, cm) |
| 399 | 返回:bit |
| 名称 | 描述 |
|---|---|
| assign_vector_locked |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |