kernel/irq/generic-chip.c
Source file repositories/reference/linux-study-clean/kernel/irq/generic-chip.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/irq/generic-chip.c- Extension
.c- Size
- 18631 bytes
- Lines
- 728
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/io.hlinux/irq.hlinux/slab.hlinux/export.hlinux/irqdomain.hlinux/interrupt.hlinux/kernel_stat.hlinux/syscore_ops.hinternals.h
Detected Declarations
function irq_gc_noopfunction irq_gc_mask_disable_regfunction irq_gc_mask_set_bitfunction irq_gc_mask_clr_bitfunction irq_gc_unmask_enable_regfunction irq_gc_ack_set_bitfunction irq_gc_ack_clr_bitfunction irq_gc_mask_disable_and_ack_setfunction irq_gc_eoifunction irq_gc_set_wakefunction irq_readl_befunction irq_writel_befunction irq_init_generic_chipfunction primaryfunction irq_gc_init_mask_cachefunction irq_domain_alloc_generic_chipsfunction irq_domain_remove_generic_chipsfunction __irq_alloc_domain_generic_chipsfunction __irq_get_domain_generic_chipfunction irq_get_domain_generic_chipfunction irq_map_generic_chipfunction irq_unmap_generic_chipfunction irq_setup_generic_chipfunction irq_setup_alt_chipfunction irq_remove_generic_chipfunction irq_gc_suspendfunction list_for_each_entryfunction irq_gc_resumefunction list_for_each_entryfunction irq_gc_shutdownfunction list_for_each_entryfunction irq_gc_init_opsmodule init irq_gc_init_opsexport irq_gc_noopexport irq_gc_mask_disable_regexport irq_gc_mask_set_bitexport irq_gc_mask_clr_bitexport irq_gc_unmask_enable_regexport irq_gc_ack_set_bitexport irq_gc_mask_disable_and_ack_setexport irq_gc_set_wakeexport irq_alloc_generic_chipexport irq_domain_alloc_generic_chipsexport irq_domain_remove_generic_chipsexport __irq_alloc_domain_generic_chipsexport irq_get_domain_generic_chipexport irq_generic_chip_opsexport irq_setup_generic_chip
Annotated Snippet
device_initcall(irq_gc_init_ops);
Annotation
- Immediate include surface: `linux/io.h`, `linux/irq.h`, `linux/slab.h`, `linux/export.h`, `linux/irqdomain.h`, `linux/interrupt.h`, `linux/kernel_stat.h`, `linux/syscore_ops.h`.
- Detected declarations: `function irq_gc_noop`, `function irq_gc_mask_disable_reg`, `function irq_gc_mask_set_bit`, `function irq_gc_mask_clr_bit`, `function irq_gc_unmask_enable_reg`, `function irq_gc_ack_set_bit`, `function irq_gc_ack_clr_bit`, `function irq_gc_mask_disable_and_ack_set`, `function irq_gc_eoi`, `function irq_gc_set_wake`.
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.