函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_exit_queue

函数原型:static void bfq_exit_queue(struct elevator_queue *e)

返回类型:void

参数:

类型参数名称
struct elevator_queue *e
6378  bfqd等于elevator_data
6381  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
6383  spin_lock_irq( & lock)
6384  list_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 type * to use as temporary storage*@head: the head for your list.(bfqq, n, & list of all the bfq_queues idle on the device , bfqq_list)
6385  bfq_deactivate_bfqq(bfqd, bfqq, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., false)
6386  spin_unlock_irq( & lock)
6388  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
6391  bfqg_and_blkg_put( root bfq_group for the device )
6396  spin_lock_irq( & lock)
6397  Release all the bfqg references to its async queues. If we are* deallocating the group these queues may still contain requests, so* we reparent them to the root cgroup (i.e., the only one that will
6398  释放内存
6399  spin_unlock_irq( & lock)
6402  释放内存