Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-28 05:59:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rq_of

Proto:static inline struct rq *rq_of(struct cfs_rq *cfs_rq)

Type:struct rq

Parameter:

TypeParameterName
struct cfs_rq *cfs_rq
1016  Return container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(cfs_rq, structrq, cfs)
Caller
NameDescribe
update_currUpdate the current task's runtime statistics.
update_stats_wait_start
update_stats_wait_end
update_stats_enqueue_sleeper
update_stats_dequeue
update_stats_curr_startWe are picking a new current task - update its stats:
cfs_rq_util_change
check_preempt_tickPreempt the current task with a newly woken task if needed:
set_next_entity
sched_trace_cfs_rq_cpu