Function report |
Source Code:include\linux\ptr_ring.h |
Create Date:2022-07-28 13:22:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Note: resize (below) nests producer lock within consumer lock, so if you* consume in interrupt or BH context, you must disable interrupts/BH when* calling this.
Proto:static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ptr_ring * | r | |
void * | ptr |
127 | spin_lock( & producer_lock) |
129 | spin_unlock( & producer_lock) |
131 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |