函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pick_next_rt_entity

函数原型:static struct sched_rt_entity *pick_next_rt_entity(struct rq *rq, struct rt_rq *rt_rq)

返回类型:struct sched_rt_entity

参数:

类型参数名称
struct rq *rq
struct rt_rq *rt_rq
1542  array等于active
1543  struct sched_rt_entity * next = NULL
1547  idx等于Every architecture must define this function. It's the fastest* way of searching a 100-bit bitmap. It's guaranteed that at least* one of the 100 bits is cleared.
1548  BUG_ON(idx >= MAX_RT_PRIO)
1550  queue等于queueidx
1551  next等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structsched_rt_entity, run_list)
1553  返回:next
调用者
名称描述
_pick_next_task_rt