函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_try_issue_list_directly

函数原型:void blk_mq_try_issue_list_directly(struct blk_mq_hw_ctx *hctx, struct list_head *list)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct list_head *list
1867  当非链表为空循环
1869  rq等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.(list, structrequest, queuelist)
1872  删除链表项并重新初始化
1873  ret等于blk_mq_request_issue_directly(rq, 链表为空)
1874  如果ret不等于BLK_STS_OK
1890  如果非链表为空commit_rqscommit_rqs(hctx)
调用者
名称描述
blk_mq_sched_insert_requests