Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\mq-deadline.c Create Date:2022-07-28 17:50:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dd_insert_requests

Proto:static void dd_insert_requests(struct blk_mq_hw_ctx *hctx, struct list_head *list, bool at_head)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
struct list_head *list
boolat_head
526  q = @queue: Pointer to the request queue that owns this hardware context.
527  dd = elevator_data
529  spin_lock( & lock)
530  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
533  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)
534  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
535  add rq to rbtree and fifo
537  spin_unlock( & lock)