fs/nfsd/xdr.h
Source file repositories/reference/linux-study-clean/fs/nfsd/xdr.h
File Facts
- System
- Linux kernel
- Corpus path
fs/nfsd/xdr.h- Extension
.h- Size
- 4379 bytes
- Lines
- 178
- 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
linux/vfs.hnfsd.hnfsfh.h
Detected Declarations
struct nfsd_fhandlestruct nfsd_sattrargsstruct nfsd_diropargsstruct nfsd_readargsstruct nfsd_writeargsstruct nfsd_createargsstruct nfsd_renameargsstruct nfsd_linkargsstruct nfsd_symlinkargsstruct nfsd_readdirargsstruct nfsd_statstruct nfsd_attrstatstruct nfsd_diropresstruct nfsd_readlinkresstruct nfsd_readresstruct nfsd_readdirresstruct nfsd_statfsres
Annotated Snippet
struct nfsd_fhandle {
struct svc_fh fh;
};
struct nfsd_sattrargs {
struct svc_fh fh;
struct iattr attrs;
};
struct nfsd_diropargs {
struct svc_fh fh;
char * name;
unsigned int len;
};
struct nfsd_readargs {
struct svc_fh fh;
__u32 offset;
__u32 count;
};
struct nfsd_writeargs {
svc_fh fh;
__u32 offset;
__u32 len;
struct xdr_buf payload;
};
struct nfsd_createargs {
struct svc_fh fh;
char * name;
unsigned int len;
struct iattr attrs;
};
struct nfsd_renameargs {
struct svc_fh ffh;
char * fname;
unsigned int flen;
struct svc_fh tfh;
char * tname;
unsigned int tlen;
};
struct nfsd_linkargs {
struct svc_fh ffh;
struct svc_fh tfh;
char * tname;
unsigned int tlen;
};
struct nfsd_symlinkargs {
struct svc_fh ffh;
char * fname;
unsigned int flen;
char * tname;
unsigned int tlen;
struct iattr attrs;
struct kvec first;
};
struct nfsd_readdirargs {
struct svc_fh fh;
__u32 cookie;
__u32 count;
};
struct nfsd_stat {
__be32 status;
};
struct nfsd_attrstat {
__be32 status;
struct svc_fh fh;
struct kstat stat;
};
struct nfsd_diropres {
__be32 status;
struct svc_fh fh;
struct kstat stat;
};
struct nfsd_readlinkres {
__be32 status;
int len;
struct page *page;
};
struct nfsd_readres {
Annotation
- Immediate include surface: `linux/vfs.h`, `nfsd.h`, `nfsfh.h`.
- Detected declarations: `struct nfsd_fhandle`, `struct nfsd_sattrargs`, `struct nfsd_diropargs`, `struct nfsd_readargs`, `struct nfsd_writeargs`, `struct nfsd_createargs`, `struct nfsd_renameargs`, `struct nfsd_linkargs`, `struct nfsd_symlinkargs`, `struct nfsd_readdirargs`.
- 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.