Documentation/sunrpc/xdr/nlm3.x
Source file repositories/reference/linux-study-clean/Documentation/sunrpc/xdr/nlm3.x
File Facts
- System
- Linux kernel
- Corpus path
Documentation/sunrpc/xdr/nlm3.x- Extension
.x- Size
- 2925 bytes
- Lines
- 169
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: Documentation
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- 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 nlm_statstruct nlm_resstruct nlm_holderstruct 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;
nlm_stat stat;
};
struct nlm_holder {
bool exclusive;
int uppid;
netobj oh;
unsigned int l_offset;
unsigned int l_len;
};
union nlm_testrply switch (nlm_stats stat) {
case LCK_DENIED:
nlm_holder holder;
default:
void;
};
struct nlm_testres {
netobj cookie;
nlm_testrply test_stat;
};
struct nlm_lock {
string caller_name<LM_MAXSTRLEN>;
netobj fh;
netobj oh;
int uppid;
unsigned int l_offset;
unsigned int l_len;
};
struct nlm_lockargs {
netobj cookie;
bool block;
bool exclusive;
nlm_lock alock;
bool reclaim;
int state;
};
struct nlm_cancargs {
netobj cookie;
bool block;
bool exclusive;
nlm_lock alock;
};
struct nlm_testargs {
netobj cookie;
bool exclusive;
nlm_lock alock;
};
struct nlm_unlockargs {
netobj cookie;
nlm_lock alock;
};
enum fsh_mode {
fsm_DN = 0,
fsm_DR = 1,
fsm_DW = 2,
fsm_DRW = 3
Annotation
- Detected declarations: `struct nlm_stat`, `struct nlm_res`, `struct nlm_holder`, `struct nlm_testres`, `struct nlm_lock`, `struct nlm_lockargs`, `struct nlm_cancargs`, `struct nlm_testargs`, `struct nlm_unlockargs`, `struct nlm_share`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
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.