Function report | 
Source Code:kernel\irq\matrix.c | 
Create Date:2022-07-28 10:17:00 | 
| 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_reserve_managed - Reserve a managed interrupt in a CPU map*@m: Matrix pointer*@msk: On which CPUs the bits should be reserved
Proto:int irq_matrix_reserve_managed(struct irq_matrix *m, const struct cpumask *msk)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct irq_matrix * | m | |
| const struct cpumask * | msk | 
| 215 | cm = per_cpu_ptr(maps, cpu) | 
| 218 | bit = matrix_alloc_area(m, cm, 1, true) | 
| 221 | managed++ | 
| 222 | If online Then | 
| 223 | available-- | 
| 224 | global_available-- | 
| 226 | trace_irq_matrix_reserve_managed(bit, cpu, m, cm) | 
| 228 | Return 0 | 
| 229 | cleanup : | 
| 230 | failed_cpu = cpu | 
| 232 | If cpu == failed_cpu Then Break | 
| 236 | Return -ENOSPC | 
| 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  |