fs/xfs/scrub/rtsummary.h
Source file repositories/reference/linux-study-clean/fs/xfs/scrub/rtsummary.h
File Facts
- System
- Linux kernel
- Corpus path
fs/xfs/scrub/rtsummary.h- Extension
.h- Size
- 1011 bytes
- Lines
- 38
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct xchk_rtsummary
Annotated Snippet
struct xchk_rtsummary {
#ifdef CONFIG_XFS_ONLINE_REPAIR
struct xrep_tempexch tempexch;
#endif
struct xfs_rtalloc_args args;
uint64_t rextents;
uint64_t rbmblocks;
xfs_filblks_t rsumblocks;
unsigned int rsumlevels;
unsigned int resblks;
/* suminfo position of xfile as we write buffers to disk. */
xfs_rtsumoff_t prep_wordoff;
/* Memory buffer for the summary comparison. */
union xfs_suminfo_raw words[];
};
int xfsum_copyout(struct xfs_scrub *sc, xfs_rtsumoff_t sumoff,
union xfs_suminfo_raw *rawinfo, unsigned int nr_words);
#ifdef CONFIG_XFS_ONLINE_REPAIR
int xrep_setup_rtsummary(struct xfs_scrub *sc, struct xchk_rtsummary *rts);
#else
# define xrep_setup_rtsummary(sc, rts) (0)
#endif /* CONFIG_XFS_ONLINE_REPAIR */
#endif /* __XFS_SCRUB_RTSUMMARY_H__ */
Annotation
- Detected declarations: `struct xchk_rtsummary`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- 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.