Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-28 10:09:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:irq_setup_forced_threading

Proto:static int irq_setup_forced_threading(struct irqaction *new)

Type:int

Parameter:

TypeParameterName
struct irqaction *new
1130  If Not force_irqthreads Then Return 0
1132  If flags & ( Interrupt cannot be threaded | Interrupt is per cpu | Interrupt is not reenabled after the hardirq handler finished) Then Return 0
1139  If handler == Default primary interrupt handler for threaded interrupts Then Return 0
1142  flags |= Interrupt is not reenabled after the hardirq handler finished
1149  If handler && thread_fn Then
1151  secondary = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
1152  If Not secondary Then Return -ENOMEM
1154  handler = irq_forced_secondary_handler
1155  thread_fn = thread_fn
1156  dev_id = dev_id
1157  irq = irq
1158  name = name
1161  Atomically set a bit in memory
1162  thread_fn = handler
1163  handler = Default primary interrupt handler for threaded interrupts
1164  Return 0
Caller
NameDescribe
__setup_irqregister an interrupt