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_lock_init

Proto:static inline void osq_lock_init(struct optimistic_spin_queue *lock)

Type:void

Parameter:

TypeParameterName
struct optimistic_spin_queue *lock
30  atomic_set( & * 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)