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:__ptr_ring_peek

Proto:static inline void *__ptr_ring_peek(struct ptr_ring *r)

Type:void

Parameter:

TypeParameterName
struct ptr_ring *r
170  If Value is more likely to compile time( Read-only by both the producer and the consumer ) Then Return READ_ONCE(queue[consumer_head])
172  Return NULL