Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:16:58 |
| 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_assign_system - Assign system wide entry in the matrix*@m: Matrix pointer*@bit: Which bit to reserve*@replace: Replace an already allocated vector with a system* vector at the same bit position.* The BUG_ON()s below are on purpose
Proto:void irq_matrix_assign_system(struct irq_matrix *m, unsigned int bit, bool replace)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_matrix * | m | |
| unsigned int | bit | |
| bool | replace |
| 184 | cm = this_cpu_ptr(maps) |
| 186 | BUG_ON(bit > matrix_bits) |
| 187 | BUG_ON(online_maps > 1 || (online_maps && !replace)) |
| 190 | If replace Then |
| 191 | BUG_ON(!st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).) |
| 192 | allocated-- |
| 193 | total_allocated-- |
| 195 | If bit >= alloc_start && bit < alloc_end Then systembits_inalloc++ |
| Name | Describe |
|---|---|
| lapic_assign_system_vectors |
| 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 |