函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_insert_requests

函数原型:void blk_mq_insert_requests(struct blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx, struct list_head *list)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct blk_mq_ctx *ctx
struct list_head *list
1649  type等于@type: HCTX_TYPE_* flags. Type of hardware queue.
1656  BUG_ON(mq_ctx != ctx)
1657  lock_rq_insert - insert block operation request into queue*@q: target queue*@rq: block IO operation request* Called immediately before block operation request @rq is inserted* into queue @q
1660  加自旋锁
1661  加入二个链表项并重新初始化
1662  Mark this ctx as having pending work in this hardware queue
1663  自旋锁解锁
调用者
名称描述
blk_mq_sched_insert_requests