函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rq_lock

函数原型:static inline void rq_lock(struct rq *rq, struct rq_flags *rf)__acquires(rq->lock)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct rq_flags *rf
1215  raw_spin_lock( & 运行队列锁)
1216  rq_pin_lock(rq, rf)
调用者
名称描述
ttwu_queue
scheduler_tickThis function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled.
__schedule调度器
task_fork_fairalled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled
this_rq_lock_irq