函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_add_rq_to_plug

函数原型:static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq)

返回类型:void

参数:

类型参数名称
struct blk_plug *plug
struct request *rq
1896  添加链表项
1897  rq_count自加
1898  如果非multiple_queues且非链表只有一项
1901  tmp等于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.( & lk-mq requests , structrequest, queuelist)
1903  如果q不等于qmultiple_queues = true
调用者
名称描述
blk_mq_make_request