Function report |
Source Code:include\linux\ptr_ring.h |
Create Date:2022-07-28 13:23:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptr_ring_init
Proto:static inline int ptr_ring_init(struct ptr_ring *r, int size, gfp_t gfp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ptr_ring * | r | |
| int | size | |
| gfp_t | gfp |
| 488 | queue = Not all gfp_t flags (besides GFP_KERNEL) are allowed. See* documentation for vmalloc for which of them are legal. |
| 492 | __ptr_ring_set_size(r, size) |
| 493 | producer = consumer_head = next entry to invalidate = 0 |
| 497 | Return 0 |
| Name | Describe |
|---|---|
| __cpu_map_entry_alloc |
| 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 |