函数逻辑报告 |
Source Code:include\linux\ptr_ring.h |
Create Date:2022-07-27 14:41:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__ptr_ring_swap_queue
函数原型:static inline void **__ptr_ring_swap_queue(struct ptr_ring *r, void **queue, int size, gfp_t gfp, void (*destroy)(void *))
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ptr_ring * | r | |
void ** | queue | |
int | size | |
gfp_t | gfp | |
void (* | destroy |
561 | producer等于0 |
565 | 当ptr等于__ptr_ring_consume(r)循环 |
573 | __ptr_ring_set_size(r, size) |
575 | consumer_head等于0 |
576 | next entry to invalidate 等于0 |
580 | 返回:old |
名称 | 描述 |
---|---|
ptr_ring_resize | Note: producer lock is nested within consumer lock, so if you* resize you must make sure all uses nest correctly.* In particular if you consume ring in interrupt or BH context, you must* disable interrupts/BH when doing so. |
ptr_ring_resize_multiple | Note: producer lock is nested within consumer lock, so if you* resize you must make sure all uses nest correctly.* In particular if you consume ring in interrupt or BH context, you must* disable interrupts/BH when doing so. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |