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:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ptr_ring_empty_any

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

Type:bool

Parameter:

TypeParameterName
struct ptr_ring *r
227  spin_lock_irqsave( & consumer_lock, flags)
228  ret = Test ring empty status without taking any locks
229  spin_unlock_irqrestore( & consumer_lock, flags)
231  Return ret