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.

Dependency Surface

Detected Declarations

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

Implementation Notes