drivers/nvme/common/keyring.c
Source file repositories/reference/linux-study-clean/drivers/nvme/common/keyring.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/nvme/common/keyring.c- Extension
.c- Size
- 7635 bytes
- Lines
- 288
- Domain
- Representative Device Path
- Bucket
- PCIe NVMe Storage Path
- Inferred role
- Representative Device Path: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- 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/module.hlinux/seq_file.hlinux/key-type.hkeys/user-type.hlinux/nvme.hlinux/nvme-tcp.hlinux/nvme-keyring.h
Detected Declarations
function nvme_keyring_idfunction nvme_tls_psk_revokedfunction nvme_tls_psk_describefunction nvme_tls_psk_matchfunction nvme_tls_psk_match_preparsefunction nvme_tls_psk_defaultfunction nvme_keyring_initfunction nvme_keyring_exitmodule init nvme_keyring_initexport nvme_keyring_idexport nvme_tls_key_lookupexport nvme_tls_psk_refreshexport nvme_tls_psk_default
Annotated Snippet
module_init(nvme_keyring_init);
module_exit(nvme_keyring_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/seq_file.h`, `linux/key-type.h`, `keys/user-type.h`, `linux/nvme.h`, `linux/nvme-tcp.h`, `linux/nvme-keyring.h`.
- Detected declarations: `function nvme_keyring_id`, `function nvme_tls_psk_revoked`, `function nvme_tls_psk_describe`, `function nvme_tls_psk_match`, `function nvme_tls_psk_match_preparse`, `function nvme_tls_psk_default`, `function nvme_keyring_init`, `function nvme_keyring_exit`, `module init nvme_keyring_init`, `export nvme_keyring_id`.
- Atlas domain: Representative Device Path / PCIe NVMe Storage Path.
- Implementation status: integration implementation candidate.
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.