Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct ptr_ring * | r |
| 330 | spin_lock( & consumer_lock) |
| 331 | ptr = __ptr_ring_consume(r) |
| 332 | spin_unlock( & consumer_lock) |
| 334 | Return ptr |
| Name | Describe |
|---|---|
| __cpu_map_ring_cleanup |
| 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 |