Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sched.c Create Date:2022-07-28 17:14:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_sched_assign_ioc

Proto:void blk_mq_sched_assign_ioc(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
37  q = q
44  ioc = io_context
45  If Not ioc Then Return
48  spin_lock_irq( & queue_lock)
49  icq = _lookup_icq - lookup io_cq from ioc*@ioc: the associated io_context*@q: the associated request_queue* Look up io_cq associated with @ioc - @q pair from @ioc. Must be called* with @q->queue_lock held.
50  spin_unlock_irq( & queue_lock)
52  If Not icq Then
53  icq = _create_icq - create and link io_cq*@ioc: io_context of interest*@q: request_queue of interest*@gfp_mask: allocation mask* Make sure io_cq linking @ioc and @q exists
54  If Not icq Then Return
57  get_io_context - increment reference count to io_context*@ioc: io_context to get* Increment reference count to @ioc.
58  icq = icq
Caller
NameDescribe
blk_mq_get_request