Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:09:08
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_requeue_work

Proto:static void blk_mq_requeue_work(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
709  q = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structrequest_queue, work)
711  LIST_HEAD(rq_list)
714  spin_lock_irq( & requeue_lock)
715  list_splice_init - join two lists and reinitialise the emptied list.*@list: the new list to add.*@head: the place to add it in the first list.* The list at @list is reinitialised
716  spin_unlock_irq( & requeue_lock)
719  If Not (rq_flags & (may not be passed by ioscheduler | don't call prep for this one )) Then Continue
722  rq_flags &= ~may not be passed by ioscheduler
723  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
729  If rq_flags & don't call prep for this one Then Should only be used carefully, when the caller knows we want to* bypass a potential IO scheduler on the target device.
731  Else blk_mq_sched_insert_request(rq, true, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., false)
735  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
736  rq = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structrequest, queuelist)
737  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
738  blk_mq_sched_insert_request(rq, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., false)
741  blk_mq_run_hw_queues(q, false)