Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Add bfqq to the list of queues in current burst (see bfq_handle_burst)

Proto:static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
1094  number of queues in the current burst of queue activations ++
1096  If number of queues in the current burst of queue activations == Maximum burst size above which the current queue-activation * burst is deemed as 'large'. Then
1104  true if a large queue-activation burst is in progress = true
1110  hlist_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the hlist_node within the struct.(bfqq_item, & * Head of the burst list (as for the above fields, more * details in the comments on the function bfq_handle_burst)., burst_list_node)
1112  bfq_mark_bfqq_in_large_burst(bfqq_item)
1113  bfq_mark_bfqq_in_large_burst(bfqq)
1122  hlist_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another &struct hlist_node to use as temporary storage*@head: the head for your list.(pos, n, & * Head of the burst list (as for the above fields, more * details in the comments on the function bfq_handle_burst)., burst_list_node)
1124  hlist_del_init( & de for the device's burst list )
1130  Else hlist_add_head( & de for the device's burst list , & * Head of the burst list (as for the above fields, more * details in the comments on the function bfq_handle_burst).)
Caller
NameDescribe
bfq_handle_burstIf many queues belonging to the same group happen to be created* shortly after each other, then the processes associated with these* queues have typically a common goal