函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pudl_find - find the best (later-dl) CPU in the system*@cp: the cpudl max-heap context*@p: the task*@later_mask: a mask to fill in with the selected CPUs (or NULL)* Returns: int - CPUs were found

函数原型:int cpudl_find(struct cpudl *cp, struct task_struct *p, struct cpumask *later_mask)

返回类型:int

参数:

类型参数名称
struct cpudl *cp
struct task_struct *p
struct cpumask *later_mask
120  dl_se等于dl
122  如果later_maskpumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
124  返回:1
125  否则
126  best_cpu等于cpudl_maximum(cp)
128  WARN_ON(best_cpu != - 1 && !cpu_present(best_cpu))
132  如果later_mask设置CPU信息
135  返回:1
138  返回:0