函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:30:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Add bfqq to the list of queues in current burst (see bfq_handle_burst)

函数原型:static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
1094  number of queues in the current burst of queue activations 自加
1096  如果 number of queues in the current burst of queue activations 恒等于 Maximum burst size above which the current queue-activation * burst is deemed as 'large'.
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  否则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).)
调用者
名称描述
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