Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:17:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int irq_matrix_alloc(struct irq_matrix *m, const struct cpumask *msk, bool reserved, unsigned int *mapped_cpu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If reserved Then global_reserved-- |
| 397 | mapped_cpu = cpu |
| 398 | trace_irq_matrix_alloc(bit, cpu, m, cm) |
| 399 | Return bit |
| 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 |