Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pick_next_rt_entity

Proto:static struct sched_rt_entity *pick_next_rt_entity(struct rq *rq, struct rt_rq *rt_rq)

Type:struct sched_rt_entity

Parameter:

TypeParameterName
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 = queue + idx
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.(next, structsched_rt_entity, run_list)
1553  Return next
Caller
NameDescribe
_pick_next_task_rt