函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__enqueue_dl_entity

函数原型:static void __enqueue_dl_entity(struct sched_dl_entity *dl_se)

返回类型:void

参数:

类型参数名称
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 link循环
1413  parent等于link
1414  entry等于rb_entry(parent, structsched_dl_entity, rb_node)
1415  如果dl_time_before( Absolute deadline for this instance , Absolute deadline for this instance )则link等于rb_left
1417  否则
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)
调用者
名称描述
enqueue_dl_entity