Function report |
Source Code:kernel\irq\matrix.c |
Create Date:2022-07-28 10:17:03 |
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_managed - Allocate a managed interrupt in a CPU map*@m: Matrix pointer*@cpu: On which CPU the interrupt should be allocated
Proto:int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk, unsigned int *mapped_cpu)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct irq_matrix * | m | |
const struct cpumask * | msk | |
unsigned int * | mapped_cpu |
291 | If pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. Then Return -EINVAL |
298 | cm = per_cpu_ptr(maps, cpu) |
301 | bitmap_andnot(scratch_map, managed_map, alloc_map, end) |
306 | allocated++ |
307 | managed_allocated++ |
308 | total_allocated++ |
309 | mapped_cpu = cpu |
310 | trace_irq_matrix_alloc_managed(bit, cpu, m, cm) |
311 | 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 |