Function Report

Linux Kernel (v4.4)

Source File:kernel\irq\manage.c Create Date:2016-01-14 10:58:53
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:irq_setup_forced_threading

Function:static int irq_setup_forced_threading(struct irqaction *new)

Return Type:static int

Parameter:

Type Parameter NameRemarks
struct irqaction * new

Function description:

1010  If !force_irqthreads then Returning 0
1012  If flags(see IRQF_* above) & (Interrupt cannot be threaded | Interrupt is per cpu | Interrupt is not reenabled after the hardirq handler finished) then Returning 0
1015  flags(see IRQF_* above) |= Interrupt is not reenabled after the hardirq handler finished
1022  If interrupt handler function != Default primary interrupt handler for threaded interrupts && interrupt handler function for threaded interrupts then
1024  pointer to secondary irqaction(force threading) = allocate memory. The memory is set to zero.
1025  If ! pointer to secondary irqaction(force threading) then Returning -Out of memory
1027  interrupt handler function = irq_forced_secondary_handler
1028  interrupt handler function for threaded interrupts = interrupt handler function for threaded interrupts
1029  cookie to identify the device = cookie to identify the device
1030  interrupt number = interrupt number
1031  name of the device = name of the device
1034  Atomically set a bit in memory
1035  interrupt handler function for threaded interrupts = interrupt handler function
1036  interrupt handler function = Default primary interrupt handler for threaded interrupts
1037  Returning 0
Caller
Function NameFunction description
__setup_irqregister an interrupt