Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:16:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:matrix_alloc_area
Proto:static unsigned int matrix_alloc_area(struct irq_matrix *m, struct cpumap *cm, unsigned int num, bool managed)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If managed Then bitmap_set(managed_map, area, num) |
123 | Else bitmap_set(alloc_map, area, num) |
125 | Return area |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |