drivers/misc/rpmb-core.c
Source file repositories/reference/linux-study-clean/drivers/misc/rpmb-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/misc/rpmb-core.c- Extension
.c- Size
- 5251 bytes
- Lines
- 227
- Domain
- Driver Families
- Bucket
- drivers/misc
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- 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/device.hlinux/init.hlinux/kernel.hlinux/list.hlinux/module.hlinux/mutex.hlinux/rpmb.hlinux/slab.h
Detected Declarations
function rpmb_dev_getfunction rpmb_dev_putfunction rpmb_route_framesfunction rpmb_dev_releasefunction rpmb_dev_find_devicefunction rpmb_interface_registerfunction rpmb_interface_unregisterfunction rpmb_dev_unregisterfunction rpmb_initfunction rpmb_exitmodule init rpmb_initexport rpmb_dev_getexport rpmb_dev_putexport rpmb_route_framesexport rpmb_dev_find_deviceexport rpmb_interface_registerexport rpmb_interface_unregisterexport rpmb_dev_unregisterexport rpmb_dev_register
Annotated Snippet
subsys_initcall(rpmb_init);
module_exit(rpmb_exit);
MODULE_AUTHOR("Jens Wiklander <jens.wiklander@linaro.org>");
MODULE_DESCRIPTION("RPMB class");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/device.h`, `linux/init.h`, `linux/kernel.h`, `linux/list.h`, `linux/module.h`, `linux/mutex.h`, `linux/rpmb.h`, `linux/slab.h`.
- Detected declarations: `function rpmb_dev_get`, `function rpmb_dev_put`, `function rpmb_route_frames`, `function rpmb_dev_release`, `function rpmb_dev_find_device`, `function rpmb_interface_register`, `function rpmb_interface_unregister`, `function rpmb_dev_unregister`, `function rpmb_init`, `function rpmb_exit`.
- Atlas domain: Driver Families / drivers/misc.
- 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.