Function report |
Source Code:kernel\irq\proc.c |
Create Date:2022-07-28 10:14:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:register_irq_proc
Proto:void register_irq_proc(unsigned int irq, struct irq_desc *desc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | irq | |
| struct irq_desc * | desc |
| 341 | __maybe_unused * irqp = irq |
| 344 | If Not Access rules:* procfs protects read/write of /proc/irq/N/ files against a* concurrent free of the interrupt descriptor || chip == Generic no controller implementation Then Return |
| 352 | mutex_lock( & register_lock) |
| 354 | If dir Then Go to out_unlock |
| 360 | dir = proc_mkdir(name, Access rules:* procfs protects read/write of /proc/irq/N/ files against a* concurrent free of the interrupt descriptor) |
| 361 | If Not dir Then Go to out_unlock |
| 386 | proc_create_single_data("spurious", 0444, dir, irq_spurious_proc_show, (void * )(long)irq) |
| 389 | out_unlock : |
| Name | Describe |
|---|---|
| init_irq_proc | |
| __setup_irq | register an interrupt |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |