include/uapi/linux/eventpoll.h

Source file repositories/reference/linux-study-clean/include/uapi/linux/eventpoll.h

File Facts

System
Linux kernel
Corpus path
include/uapi/linux/eventpoll.h
Extension
.h
Size
3063 bytes
Lines
102
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 epoll_event {
	__poll_t events;
	__u64 data;
} EPOLL_PACKED;

struct epoll_params {
	__u32 busy_poll_usecs;
	__u16 busy_poll_budget;
	__u8 prefer_busy_poll;

	/* pad the struct to a multiple of 64bits */
	__u8 __pad;
};

#define EPOLL_IOC_TYPE 0x8A
#define EPIOCSPARAMS _IOW(EPOLL_IOC_TYPE, 0x01, struct epoll_params)
#define EPIOCGPARAMS _IOR(EPOLL_IOC_TYPE, 0x02, struct epoll_params)

#endif /* _UAPI_LINUX_EVENTPOLL_H */

Annotation

Implementation Notes