Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:17:07 |
| 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_free - Free allocated interrupt in the matrix*@m: Matrix pointer*@cpu: Which CPU map needs be updated*@bit: The bit to remove*@managed: If true, the interrupt is managed and not accounted* as available.
Proto:void irq_matrix_free(struct irq_matrix *m, unsigned int cpu, unsigned int bit, bool managed)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_matrix * | m | |
| unsigned int | cpu | |
| unsigned int | bit | |
| bool | managed |
| 414 | cm = per_cpu_ptr(maps, cpu) |
| 416 | If WARN_ON_ONCE(bit < alloc_start || bit >= alloc_end) Then Return |
| 420 | allocated-- |
| 421 | If managed Then managed_allocated-- |
| 424 | If online Then total_allocated-- |
| 427 | If Not managed Then |
| 428 | available++ |
| 429 | If online Then global_available++ |
| 432 | trace_irq_matrix_free(bit, cpu, m, cm) |
| Name | Describe |
|---|---|
| clear_irq_vector |
| 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 |