函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ll_reqs_available* Updates the reqs_available reference counts used for tracking the* number of free slots in the completion ring. This can be called* from aio_complete() (to optimistically update reqs_available) or
函数原型:static void refill_reqs_available(struct kioctx *ctx, unsigned head, unsigned tail)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kioctx * | ctx | |
unsigned | head | |
unsigned | tail |
963 | 如果head小于等于tail则events_in_ring等于tail减head |
969 | 如果events_in_ring小于completed则completed减等于events_in_ring |
971 | 否则completed等于0 |
974 | 如果非completed则返回 |
977 | completed_events减等于completed |
978 | put_reqs_available(ctx, completed) |
名称 | 描述 |
---|---|
user_refill_reqs_available | ser_refill_reqs_available* Called to refill reqs_available when aio_get_req() encounters an* out of space in the completion ring. |
aio_complete | aio_complete* Called when the io request on the given iocb is complete. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |