函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__enqueue_rt_entity

函数原型:static void __enqueue_rt_entity(struct sched_rt_entity *rt_se, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct sched_rt_entity *rt_se
unsigned intflags
1233  rt_rq等于rt_rq_of_se(rt_se)
1234  array等于active
1235  group_rq等于group_rt_rq(rt_se)
1236  queue等于queuert_se_prio(rt_se)
1244  如果group_rqrt_rq_throttled(group_rq)或非rt_nr_running的值则
1245  如果on_list__delist_rt_entity(rt_se, array)
1247  返回
1250  如果Change rt_se->run_list location unless SAVE && !MOVE* assumes ENQUEUE/DEQUEUE flags match
1251  WARN_ON_ONCE(on_list)
1252  如果flags按位与ENQUEUE_HEAD添加链表项
1254  否则添加链表项
1257  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
1258  on_list等于1
1260  on_rq等于1
1262  inc_rt_tasks(rt_se, rt_rq)
调用者
名称描述
enqueue_rt_entity
dequeue_rt_entity