函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:queued_read_lock_slowpath - acquire read lock of a queue rwlock*@lock: Pointer to queue rwlock structure

函数原型:void queued_read_lock_slowpath(struct qrwlock *lock)

返回类型:void

参数:

类型参数名称
struct qrwlock *lock
26  如果此条件成立可能性小(为编译器优化)(in_interrupt())则
33  atomic_cond_read_acquire( & cnts, !(VAL & A writer holds the lock ))
34  返回
36  atomic_sub(_QR_BIAS, & cnts)
41  r sched/core.c and kernel_lock.c: ( & wait_lock)
42  atomic_add(_QR_BIAS, & cnts)
49  atomic_cond_read_acquire( & cnts, !(VAL & A writer holds the lock ))
54  arch_spin_unlock( & wait_lock)