函数逻辑报告 |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-27 11:17:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:matrix_alloc_area
函数原型:static unsigned int matrix_alloc_area(struct irq_matrix *m, struct cpumap *cm, unsigned int num, bool managed)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct irq_matrix * | m | |
| struct cpumap * | cm | |
| unsigned int | num | |
| bool | managed |
| 113 | start等于alloc_start |
| 116 | bitmap_or(scratch_map, managed_map, system_map, end) |
| 117 | bitmap_or(scratch_map, scratch_map, alloc_map, end) |
| 121 | 如果managed则bitmap_set(managed_map, area, num) |
| 123 | 否则bitmap_set(alloc_map, area, num) |
| 125 | 返回:area |
| 名称 | 描述 |
|---|---|
| irq_matrix_reserve_managed | q_matrix_reserve_managed - Reserve a managed interrupt in a CPU map*@m: Matrix pointer*@msk: On which CPUs the bits should be reserved |
| irq_matrix_alloc | 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |