函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aio_nr_sub

函数原型:static void aio_nr_sub(unsigned nr)

返回类型:void

参数:

类型参数名称
unsignednr
690  加自旋锁
691  如果WARN_ON(current system wide number of aio requests - nr > current system wide number of aio requests )则current system wide number of aio requests 等于0
693  否则current system wide number of aio requests 减等于nr
695  自旋锁解锁
调用者
名称描述
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.