Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rq_of_dl_rq

Proto:static inline struct rq *rq_of_dl_rq(struct dl_rq *dl_rq)

Type:struct rq

Parameter:

TypeParameterName
struct dl_rq *dl_rq
30  Return container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(dl_rq, structrq, dl)
Caller
NameDescribe
__add_running_bw
__sub_running_bw
__add_rq_bw
__sub_rq_bw
task_non_contendingThe utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
setup_new_dl_entityWe are being explicitly informed that a new instance is starting,* and this means that:* - the absolute deadline of the entity has to be placed at* current time + relative deadline;* - the runtime of the entity has to be set to the maximum value
replenish_dl_entityPure Earliest Deadline First (EDF) scheduling does not deal with the* possibility of a entity lasting more than what it declared, and thus* exhausting its runtime
update_dl_entityWhen a deadline entity is placed in the runqueue, its runtime and deadline* might need to be updated. This is done by a CBS wake up rule. There are two* different rules: 1) the original CBS; and 2) the Revisited CBS.
dl_check_constrained_dlDuring the activation, CBS checks if it can reuse the current task's* runtime and period
inc_dl_tasks
dec_dl_tasks
enqueue_dl_entity