Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\irq_poll.c Create Date:2022-07-28 07:20:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:irq_poll_softirq

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

Type:void

Parameter:

TypeParameterName
struct softirq_action *h
80  list = this_cpu_ptr( & blk_cpu_iopoll)
81  rearm = 0 , budget = irq_poll_budget
82  start_time = jiffies
84  local_irq_disable()
86  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
94  rearm = 1
95  Break
98  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
105  iop = 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, structirq_poll, list)
107  weight = weight
108  work = 0
109  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then work = poll(iop, weight)
112  budget -= work
114  local_irq_disable()
124  If work >= weight Then
132  If rearm Then __raise_softirq_irqoff(IRQ_POLL_SOFTIRQ)
135  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()