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

Name:Test ring empty status without taking any locks

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

Type:bool

Parameter:

TypeParameterName
struct ptr_ring *r
195  If Value is more likely to compile time( Read-only by both the producer and the consumer ) Then Return Not queue[READ_ONCE(consumer_head)]
197  Return true
Caller
NameDescribe
cpu_map_kthread_run