函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_rt_rq

函数原型:void init_rt_rq(struct rt_rq *rt_rq)

返回类型:void

参数:

类型参数名称
struct rt_rq *rt_rq
81  array等于active
82 i小于MAX_RT_PRIO循环
83  初始化链表头
84  __clear_bit - Clears a bit in memory*@nr: the bit to clear*@addr: the address to start counting from* Unlike clear_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
87  __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.
97  rt_queued等于0
99  rt_time等于0
100  rt_throttled等于0
101  rt_runtime等于0
102  raw_spin_lock_init( & Nests inside the rq lock: )
调用者
名称描述
sched_init初始化调度器数据结构并创建运行队列