Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aio_nr_sub

Proto:static void aio_nr_sub(unsigned nr)

Type:void

Parameter:

TypeParameterName
unsignednr
690  spin_lock( & ------ sysctl variables----)
691  If WARN_ON(current system wide number of aio requests - nr > current system wide number of aio requests ) Then current system wide number of aio requests = 0
693  Else current system wide number of aio requests -= nr
695  spin_unlock( & ------ sysctl variables----)
Caller
NameDescribe
ioctx_allocx_alloc* Allocates and initializes an ioctx. Returns an ERR_PTR if it failed.
kill_ioctxkill_ioctx* Cancels all outstanding aio requests on an aio context. Used* when the processes owning a context have all exited to encourage* the rapid destruction of the kioctx.