函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpudl_heapify

函数原型:static void cpudl_heapify(struct cpudl *cp, int idx)

返回类型:void

参数:

类型参数名称
struct cpudl *cp
intidx
97  如果idx大于0且dl_time_before(dl, dl)则cpudl_heapify_up(cp, idx)
100  否则cpudl_heapify_down(cp, idx)
调用者
名称描述
cpudl_clearpudl_clear - remove a CPU from the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)
cpudl_setpudl_set - update the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU*@dl: the new earliest deadline for this CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)