函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\aio.c Create Date:2022-07-29 10:53:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_reqs_available

函数原型:static bool get_reqs_available(struct kioctx *ctx)

返回类型:bool

参数:

类型参数名称
struct kioctx *ctx
1013  如果__get_reqs_available(ctx)则返回:true
1015  ser_refill_reqs_available* Called to refill reqs_available when aio_get_req() encounters an* out of space in the completion ring.
1016  返回:__get_reqs_available(ctx)
调用者
名称描述
aio_get_reqaio_get_req* Allocate a slot for an aio request.* Returns NULL if no requests are free.* The refcount is initialized to 2 - one for the async op completion,* one for the synchronous code that does this.