include/linux/sunrpc/xdrgen/nlm3.h
Source file repositories/reference/linux-study-clean/include/linux/sunrpc/xdrgen/nlm3.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/sunrpc/xdrgen/nlm3.h- Extension
.h- Size
- 4439 bytes
- Lines
- 211
- 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 nlm_statstruct nlm_resstruct nlm_holderstruct nlm_testrplystruct nlm_testresstruct nlm_lockstruct nlm_lockargsstruct nlm_cancargsstruct nlm_testargsstruct nlm_unlockargsstruct nlm_sharestruct nlm_shareargsstruct nlm_shareresstruct nlm_notifystruct nlm_notifyargsenum nlm_statsenum fsh_modeenum fsh_access
Annotated Snippet
struct nlm_stat {
nlm_stats stat;
};
struct nlm_res {
netobj cookie;
struct nlm_stat stat;
};
struct nlm_holder {
bool exclusive;
s32 uppid;
netobj oh;
u32 l_offset;
u32 l_len;
};
struct nlm_testrply {
nlm_stats stat;
union {
struct nlm_holder holder;
} u;
};
struct nlm_testres {
netobj cookie;
struct nlm_testrply test_stat;
};
struct nlm_lock {
string caller_name;
netobj fh;
netobj oh;
s32 uppid;
u32 l_offset;
u32 l_len;
};
struct nlm_lockargs {
netobj cookie;
bool block;
bool exclusive;
struct nlm_lock alock;
bool reclaim;
s32 state;
};
struct nlm_cancargs {
netobj cookie;
bool block;
bool exclusive;
struct nlm_lock alock;
};
struct nlm_testargs {
netobj cookie;
bool exclusive;
struct nlm_lock alock;
};
struct nlm_unlockargs {
netobj cookie;
struct nlm_lock alock;
};
enum fsh_mode {
fsm_DN = 0,
fsm_DR = 1,
fsm_DW = 2,
fsm_DRW = 3,
};
typedef enum fsh_mode fsh_mode;
enum fsh_access {
fsa_NONE = 0,
fsa_R = 1,
fsa_W = 2,
fsa_RW = 3,
};
typedef enum fsh_access fsh_access;
struct nlm_share {
string caller_name;
netobj fh;
netobj oh;
fsh_mode mode;
fsh_access access;
};
Annotation
- Immediate include surface: `linux/types.h`, `linux/sunrpc/xdrgen/_defs.h`.
- Detected declarations: `struct nlm_stat`, `struct nlm_res`, `struct nlm_holder`, `struct nlm_testrply`, `struct nlm_testres`, `struct nlm_lock`, `struct nlm_lockargs`, `struct nlm_cancargs`, `struct nlm_testargs`, `struct nlm_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.