Function Report

Linux Kernel (v4.4)

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

Function Name:register_handler_proc

Function:void register_handler_proc(unsigned int irq, struct irqaction *action)

Return Type:void


Type Parameter NameRemarks
unsigned int irq
struct irqaction * action

Function description:

308  *Interrupt descriptor = Interrupt to descriptor
311  If !/proc/irq/ procfs entry || pointer to the proc/irq/NN/name entry || ! name of the device || !name_unique(irq, per interrupt action descriptor) then Returning
314  set the name to 0
315  snprintf
318  pointer to the proc/irq/NN/name entry = proc_mkdir(name, /proc/irq/ procfs entry)
Function NameFunction description
__setup_irqregister an interrupt