drivers/md/dm-vdo/dm-vdo-target.c
Source file repositories/reference/linux-study-clean/drivers/md/dm-vdo/dm-vdo-target.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/md/dm-vdo/dm-vdo-target.c- Extension
.c- Size
- 92862 bytes
- Lines
- 3062
- Domain
- Driver Families
- Bucket
- drivers/md
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/atomic.hlinux/bitops.hlinux/completion.hlinux/delay.hlinux/device-mapper.hlinux/err.hlinux/log2.hlinux/module.hlinux/mutex.hlinux/spinlock.hadmin-state.hblock-map.hcompletion.hconstants.hdata-vio.hdedupe.hdump.hencodings.herrors.hflush.hio-submitter.hlogger.hmemory-alloc.hmessage-stats.hrecovery-journal.hrepair.hslab-depot.hstatus-codes.hstring-utils.hthread-device.hthread-registry.hthread-utils.h
Detected Declarations
struct instance_trackerenum admin_phasesfunction free_device_configfunction get_version_numberfunction free_string_arrayfunction split_stringfunction join_stringsfunction parse_boolfunction parse_memoryfunction parse_slab_sizefunction process_one_thread_config_specfunction parse_one_thread_config_specfunction parse_thread_config_stringfunction process_one_key_value_pairfunction parse_one_key_value_pairfunction parse_key_value_pairsfunction parse_optional_argumentsfunction handle_parse_errorfunction parse_device_configfunction vdo_map_biofunction vdo_io_hintsfunction vdo_iterate_devicesfunction vdo_statusfunction get_underlying_device_block_countfunction process_vdo_message_lockedfunction process_vdo_messagefunction vdo_messagefunction configure_target_capabilitiesfunction vdo_uses_devicefunction get_thread_id_for_phasefunction advance_phasefunction operationfunction assert_admin_phase_threadfunction finish_operation_callbackfunction decode_from_super_blockfunction decode_vdofunction pre_load_callbackfunction release_instancefunction set_device_configfunction vdo_initializefunction vdo_is_namedfunction get_bit_array_sizefunction grow_bit_arrayfunction allocate_instancefunction construct_new_vdo_registeredfunction construct_new_vdofunction check_may_grow_physicalfunction get_partition_size
Annotated Snippet
module_init(vdo_init);
module_exit(vdo_exit);
module_param_named(log_level, vdo_log_level, uint, 0644);
MODULE_PARM_DESC(log_level, "Log level for log messages");
MODULE_DESCRIPTION(DM_NAME " target for transparent deduplication");
MODULE_AUTHOR("Red Hat, Inc.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/atomic.h`, `linux/bitops.h`, `linux/completion.h`, `linux/delay.h`, `linux/device-mapper.h`, `linux/err.h`, `linux/log2.h`, `linux/module.h`.
- Detected declarations: `struct instance_tracker`, `enum admin_phases`, `function free_device_config`, `function get_version_number`, `function free_string_array`, `function split_string`, `function join_strings`, `function parse_bool`, `function parse_memory`, `function parse_slab_size`.
- Atlas domain: Driver Families / drivers/md.
- 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.