Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Note: resize (below) nests producer lock within consumer lock, so if you* call this in interrupt or BH context, you must disable interrupts/BH when* producing.

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

Type:void

Parameter:

TypeParameterName
struct ptr_ring *r
330  spin_lock( & consumer_lock)
331  ptr = __ptr_ring_consume(r)
332  spin_unlock( & consumer_lock)
334  Return ptr
Caller
NameDescribe
__cpu_map_ring_cleanup