fs/hostfs/hostfs_user_exp.c
Source file repositories/reference/linux-study-clean/fs/hostfs/hostfs_user_exp.c
File Facts
- System
- Linux kernel
- Corpus path
fs/hostfs/hostfs_user_exp.c- Extension
.c- Size
- 827 bytes
- Lines
- 29
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
Dependency Surface
linux/module.hhostfs.h
Detected Declarations
export stat_fileexport access_fileexport open_fileexport open_direxport seek_direxport read_direxport read_fileexport write_fileexport lseek_fileexport fsync_fileexport replace_fileexport close_fileexport close_direxport file_createexport set_attrexport make_symlinkexport unlink_fileexport do_mkdirexport hostfs_do_rmdirexport do_mknodexport link_fileexport hostfs_do_readlinkexport rename_fileexport rename2_fileexport do_statfs
Annotated Snippet
#include <linux/module.h>
#include "hostfs.h"
EXPORT_SYMBOL_GPL(stat_file);
EXPORT_SYMBOL_GPL(access_file);
EXPORT_SYMBOL_GPL(open_file);
EXPORT_SYMBOL_GPL(open_dir);
EXPORT_SYMBOL_GPL(seek_dir);
EXPORT_SYMBOL_GPL(read_dir);
EXPORT_SYMBOL_GPL(read_file);
EXPORT_SYMBOL_GPL(write_file);
EXPORT_SYMBOL_GPL(lseek_file);
EXPORT_SYMBOL_GPL(fsync_file);
EXPORT_SYMBOL_GPL(replace_file);
EXPORT_SYMBOL_GPL(close_file);
EXPORT_SYMBOL_GPL(close_dir);
EXPORT_SYMBOL_GPL(file_create);
EXPORT_SYMBOL_GPL(set_attr);
EXPORT_SYMBOL_GPL(make_symlink);
EXPORT_SYMBOL_GPL(unlink_file);
EXPORT_SYMBOL_GPL(do_mkdir);
EXPORT_SYMBOL_GPL(hostfs_do_rmdir);
EXPORT_SYMBOL_GPL(do_mknod);
EXPORT_SYMBOL_GPL(link_file);
EXPORT_SYMBOL_GPL(hostfs_do_readlink);
EXPORT_SYMBOL_GPL(rename_file);
EXPORT_SYMBOL_GPL(rename2_file);
EXPORT_SYMBOL_GPL(do_statfs);
Annotation
- Immediate include surface: `linux/module.h`, `hostfs.h`.
- Detected declarations: `export stat_file`, `export access_file`, `export open_file`, `export open_dir`, `export seek_dir`, `export read_dir`, `export read_file`, `export write_file`, `export lseek_file`, `export fsync_file`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- 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.