Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ptr_ring_empty

Proto:static inline bool ptr_ring_empty(struct ptr_ring *r)

Type:bool

Parameter:

TypeParameterName
struct ptr_ring *r
204  spin_lock( & consumer_lock)
205  ret = Test ring empty status without taking any locks
206  spin_unlock( & consumer_lock)
208  Return ret