函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Empty burst list and add just bfqq (see comments on bfq_handle_burst)

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

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
1073  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.(item, 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)
1074  hlist_del_init( & de for the device's burst list )
1081  如果bfq_tot_busy_queues(bfqd)恒等于0则
1082  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).)
1083  number of queues in the current burst of queue activations 等于1
1084  否则 number of queues in the current burst of queue activations 等于0
1087  common parent entity for the queues in the burst 等于 parent entity, for hierarchical scheduling
调用者
名称描述
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