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

Name:ptr_ring_cleanup

Proto:static inline void ptr_ring_cleanup(struct ptr_ring *r, void (*destroy)(void *))

Type:void

Parameter:

TypeParameterName
struct ptr_ring *r
void (*destroy
667  If destroy Then When ptr = 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. cycle
669  destroy(ptr)
670  kvfree(queue)
Caller
NameDescribe
put_cpu_map_entry
__cpu_map_entry_alloc