include/linux/sunrpc/xdrgen/nlm4.h
Source file repositories/reference/linux-study-clean/include/linux/sunrpc/xdrgen/nlm4.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/sunrpc/xdrgen/nlm4.h- Extension
.h- Size
- 5077 bytes
- Lines
- 234
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- 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/types.hlinux/sunrpc/xdrgen/_defs.h
Detected Declarations
struct nlm4_holderstruct nlm4_testrplystruct nlm4_statstruct nlm4_resstruct nlm4_testresstruct nlm4_lockstruct nlm4_lockargsstruct nlm4_cancargsstruct nlm4_testargsstruct nlm4_unlockargsstruct nlm4_sharestruct nlm4_shareargsstruct nlm4_shareresstruct nlm4_notifystruct nlm4_notifyargsenum fsh4_modeenum fsh4_accessenum nlm4_stats
Annotated Snippet
struct nlm4_holder {
bool exclusive;
int32 svid;
netobj oh;
uint64 l_offset;
uint64 l_len;
};
struct nlm4_testrply {
nlm4_stats stat;
union {
struct nlm4_holder holder;
} u;
};
struct nlm4_stat {
nlm4_stats stat;
};
struct nlm4_res {
netobj cookie;
struct nlm4_stat stat;
};
struct nlm4_testres {
netobj cookie;
struct nlm4_testrply stat;
};
struct nlm4_lock {
string caller_name;
netobj fh;
netobj oh;
int32 svid;
uint64 l_offset;
uint64 l_len;
};
struct nlm4_lockargs {
netobj cookie;
bool block;
bool exclusive;
struct nlm4_lock alock;
bool reclaim;
int32 state;
};
struct nlm4_cancargs {
netobj cookie;
bool block;
bool exclusive;
struct nlm4_lock alock;
};
struct nlm4_testargs {
netobj cookie;
bool exclusive;
struct nlm4_lock alock;
};
struct nlm4_unlockargs {
netobj cookie;
struct nlm4_lock alock;
};
struct nlm4_share {
string caller_name;
netobj fh;
netobj oh;
fsh4_mode mode;
fsh4_access access;
};
struct nlm4_shareargs {
netobj cookie;
struct nlm4_share share;
bool reclaim;
};
struct nlm4_shareres {
netobj cookie;
nlm4_stats stat;
int32 sequence;
};
struct nlm4_notify {
string name;
int32 state;
};
Annotation
- Immediate include surface: `linux/types.h`, `linux/sunrpc/xdrgen/_defs.h`.
- Detected declarations: `struct nlm4_holder`, `struct nlm4_testrply`, `struct nlm4_stat`, `struct nlm4_res`, `struct nlm4_testres`, `struct nlm4_lock`, `struct nlm4_lockargs`, `struct nlm4_cancargs`, `struct nlm4_testargs`, `struct nlm4_unlockargs`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.