Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:10:24
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_add_rq_to_plug

Proto:static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq)

Type:void

Parameter:

TypeParameterName
struct blk_plug *plug
struct request *rq
1896  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
1897  rq_count++
1898  If Not multiple_queues && Not list_is_singular - tests whether a list has just one entry.*@head: the list to test. Then
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  If q != q Then multiple_queues = true
Caller
NameDescribe
blk_mq_make_request