Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:osq_is_locked

Proto:static inline bool osq_is_locked(struct optimistic_spin_queue *lock)

Type:bool

Parameter:

TypeParameterName
struct optimistic_spin_queue *lock
38  Return atomic_read( & * Stores an encoded value of the CPU # of the tail node in the queue. * If the queue is empty, then it's set to OSQ_UNLOCKED_VAL.) != OSQ_UNLOCKED_VAL