函数逻辑报告 |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-27 10:44:33 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This itererator needs some explanation.* It returns 1 for the header position.* This means 2 is CPU 0.* In a hotplugged system some CPUs, including CPU 0, may be missing so we have* to use cpumask_* to iterate over the CPUs.
函数原型:static void *sched_debug_start(struct seq_file *file, loff_t *offset)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | file | |
loff_t * | offset |
770 | 如果n恒等于0则返回:1 |
773 | n自减 |
775 | 如果n大于0则n等于pumask_next - get the next cpu in a cpumask*@n: the cpu prior to the place to search (ie. return will be > @n)*@srcp: the cpumask pointer* Returns >= nr_cpu_ids if no further cpus set. |
782 | 如果n小于nr_cpu_ids则返回:n加2 |
785 | 返回:NULL |
名称 | 描述 |
---|---|
sched_debug_next |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |