函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sched.c Create Date:2022-07-27 18:50:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_sched_assign_ioc

函数原型:void blk_mq_sched_assign_ioc(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
37  q等于q
44  ioc等于io_context
45  如果非ioc则返回
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  如果非icq
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  如果非icq则返回
57  get_io_context - increment reference count to io_context*@ioc: io_context to get* Increment reference count to @ioc.
58  icq等于icq
调用者
名称描述
blk_mq_get_request