Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Softirq action handler - move entries to local list and loop over them* while passing them to the queue registered handler.

Proto:static __latent_entropy void blk_done_softirq(struct softirq_action *h)

Type:void

Parameter:

TypeParameterName
struct softirq_action *h
27  local_irq_disable()
28  cpu_list = this_cpu_ptr( & blk_cpu_done)
29  list_replace_init(cpu_list, & local_list)
30  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
32  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
35  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, ipi_list)
36  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
37  complete(rq)