Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__enqueue_dl_entity

Proto:static void __enqueue_dl_entity(struct sched_dl_entity *dl_se)

Type:void

Parameter:

TypeParameterName
struct sched_dl_entity *dl_se
1404  dl_rq = dl_rq_of_se(dl_se)
1405  link = rb_node
1406  struct rb_node * parent = NULL
1408  leftmost = 1
1410  BUG_ON(!'empty' nodes are nodes that are known not to be inserted in an rbtree ( & rb_node))
1412  When link cycle
1413  parent = link
1414  entry = rb_entry(parent, structsched_dl_entity, rb_node)
1415  If dl_time_before( Absolute deadline for this instance , Absolute deadline for this instance ) Then link = rb_left
1417  Else
1418  link = rb_right
1419  leftmost = 0
1423  rb_link_node( & rb_node, parent, link)
1424  rb_insert_color_cached( & rb_node, & unqueue is an rbtree, ordered by deadline , leftmost)
1426  inc_dl_tasks(dl_se, dl_rq)
Caller
NameDescribe
enqueue_dl_entity