函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\matrix.c Create Date:2022-07-27 11:17:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Find the best CPU which has the lowest number of managed IRQs allocated

函数原型:static unsigned int matrix_find_best_cpu_managed(struct irq_matrix *m, const struct cpumask *msk)

返回类型:unsigned int

参数:

类型参数名称
struct irq_matrix *m
const struct cpumask *msk
153  allocated等于UINT_MAX
156  best_cpu等于UINT_MAX
159  cm等于per_cpu_ptr(maps, cpu)
161  如果非onlinemanaged_allocated大于allocated则继续下一循环
164  best_cpu等于cpu
165  allocated等于managed_allocated
167  返回:best_cpu
调用者
名称描述
irq_matrix_alloc_managedq_matrix_alloc_managed - Allocate a managed interrupt in a CPU map*@m: Matrix pointer*@cpu: On which CPU the interrupt should be allocated