Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_exit_queue

Proto:static void bfq_exit_queue(struct elevator_queue *e)

Type:void

Parameter:

TypeParameterName
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  kfree( root bfq_group for the device )
6399  spin_unlock_irq( & lock)
6402  kfree(bfqd)