Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\aio.c Create Date:2022-07-28 20:21:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_reqs_available

Proto:static bool get_reqs_available(struct kioctx *ctx)

Type:bool

Parameter:

TypeParameterName
struct kioctx *ctx
1013  If __get_reqs_available(ctx) Then Return 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  Return __get_reqs_available(ctx)
Caller
NameDescribe
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.