Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\iocontext.h Create Date:2022-07-28 05:42:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioc_task_link

Proto:static inline void ioc_task_link(struct io_context *ioc)

Type:void

Parameter:

TypeParameterName
struct io_context *ioc
139  get_io_context_active - get active reference on ioc*@ioc: ioc of interest* Only iocs with active reference can issue new IOs. This function* acquires an active reference on @ioc. The caller must already have an* active reference on @ioc.
141  WARN_ON_ONCE(atomic_read( & nr_tasks) <= 0)
142  atomic_inc( & nr_tasks)
Caller
NameDescribe
copy_io