block/bio-integrity.c
Source file repositories/reference/linux-study-clean/block/bio-integrity.c
File Facts
- System
- Linux kernel
- Corpus path
block/bio-integrity.c- Extension
.c- Size
- 14747 bytes
- Lines
- 570
- 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/blk-integrity.hlinux/t10-pi.hblk.h
Detected Declarations
struct bio_integrity_allocfunction bi_offload_capablefunction __bio_integrity_actionfunction bio_integrity_alloc_buffunction bio_integrity_free_buffunction bio_integrity_setup_defaultfunction bio_integrity_freefunction bio_integrity_initfunction bio_integrity_unpin_bvecfunction bio_integrity_uncopy_userfunction bio_integrity_unmap_userfunction bio_integrity_add_pagefunction bio_integrity_copy_userfunction bio_integrity_init_userfunction bvec_from_pagesfunction bio_integrity_map_userfunction bio_uio_meta_to_bipfunction bio_integrity_map_iterfunction bio_integrity_advancefunction bio_integrity_trimfunction bio_integrity_clonefunction bio_integrity_initfnmodule init bio_integrity_initfnexport __bio_integrity_actionexport bio_integrity_allocexport bio_integrity_add_pageexport bio_integrity_trim
Annotated Snippet
subsys_initcall(bio_integrity_initfn);
Annotation
- Immediate include surface: `linux/blk-integrity.h`, `linux/t10-pi.h`, `blk.h`.
- Detected declarations: `struct bio_integrity_alloc`, `function bi_offload_capable`, `function __bio_integrity_action`, `function bio_integrity_alloc_buf`, `function bio_integrity_free_buf`, `function bio_integrity_setup_default`, `function bio_integrity_free`, `function bio_integrity_init`, `function bio_integrity_unpin_bvec`, `function bio_integrity_uncopy_user`.
- 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.