Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-ioc.c Create Date:2022-07-28 17:04:09
Last Modify:2020-03-17 23:16:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_io_context - increment reference count to io_context*@ioc: io_context to get* Increment reference count to @ioc.

Proto:void get_io_context(struct io_context *ioc)

Type:void

Parameter:

TypeParameterName
struct io_context *ioc
28  BUG_ON(atomic_long_read( & refcount) <= 0)
29  atomic_long_inc( & refcount)
Caller
NameDescribe
get_task_io_contextget_task_io_context - get io_context of a task*@task: task of interest*@gfp_flags: allocation flags, used if allocation is necessary*@node: allocation node, used if allocation is necessary* Return io_context of @task
blk_mq_sched_assign_ioc