drivers/md/dm-vdo/indexer/index-page-map.h
Source file repositories/reference/linux-study-clean/drivers/md/dm-vdo/indexer/index-page-map.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/md/dm-vdo/indexer/index-page-map.h- Extension
.h- Size
- 1547 bytes
- Lines
- 51
- Domain
- Driver Families
- Bucket
- drivers/md
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
geometry.hio-factory.h
Detected Declarations
struct index_page_map
Annotated Snippet
struct index_page_map {
const struct index_geometry *geometry;
u64 last_update;
u32 entries_per_chapter;
u16 *entries;
};
int __must_check uds_make_index_page_map(const struct index_geometry *geometry,
struct index_page_map **map_ptr);
void uds_free_index_page_map(struct index_page_map *map);
int __must_check uds_read_index_page_map(struct index_page_map *map,
struct buffered_reader *reader);
int __must_check uds_write_index_page_map(struct index_page_map *map,
struct buffered_writer *writer);
void uds_update_index_page_map(struct index_page_map *map, u64 virtual_chapter_number,
u32 chapter_number, u32 index_page_number,
u32 delta_list_number);
u32 __must_check uds_find_index_page_number(const struct index_page_map *map,
const struct uds_record_name *name,
u32 chapter_number);
void uds_get_list_number_bounds(const struct index_page_map *map, u32 chapter_number,
u32 index_page_number, u32 *lowest_list,
u32 *highest_list);
u64 uds_compute_index_page_map_save_size(const struct index_geometry *geometry);
#endif /* UDS_INDEX_PAGE_MAP_H */
Annotation
- Immediate include surface: `geometry.h`, `io-factory.h`.
- Detected declarations: `struct index_page_map`.
- Atlas domain: Driver Families / drivers/md.
- Implementation status: source 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.