Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpudeadline.c Create Date:2022-07-28 09:41:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpudl_heapify_down

Proto:static void cpudl_heapify_down(struct cpudl *cp, int idx)

Type:void

Parameter:

TypeParameterName
struct cpudl *cp
intidx
30  orig_cpu = cpu
31  orig_dl = dl
33  If left_child(idx) >= size Then Return
37  When 1 cycle
40  l = left_child(idx)
41  r = right_child(idx)
42  largest = idx
43  largest_dl = orig_dl
45  If l < size && dl_time_before(orig_dl, dl) Then
47  largest = l
48  largest_dl = dl
50  If r < size && dl_time_before(largest_dl, dl) Then largest = r
54  If largest == idx Then Break
58  cpu = cpu
59  dl = dl
60  idx = idx
61  idx = largest
64  cpu = orig_cpu
65  dl = orig_dl
66  idx = idx
Caller
NameDescribe
cpudl_heapify