函数逻辑报告 |
Source Code:kernel\irq\affinity.c |
Create Date:2022-07-27 11:16:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:q_calc_affinity_vectors - Calculate the optimal number of vectors*@minvec: The minimum number of vectors available*@maxvec: The maximum number of vectors available*@affd: Description of the affinity requirements
函数原型:unsigned int irq_calc_affinity_vectors(unsigned int minvec, unsigned int maxvec, const struct irq_affinity *affd)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | minvec | |
unsigned int | maxvec | |
const struct irq_affinity * | affd |
499 | resv等于pre_vectors加post_vectors |
505 | 如果calc_sets则 |
507 | 否则 |
508 | get_online_cpus() |
509 | set_vecs等于pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in. |
510 | put_online_cpus() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |