syscall.sh / loongarch64 / epoll_ctl

epoll_ctl

control interface for an epoll file descriptor

sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
number21 (0x15)
abicommon
entry pointsys_epoll_ctl
sinceLinux 5.19
man pageepoll_ctl(2)
sourceelixir.bootlin.com

Registers

registervalue
a721, the syscall number
a0int epfd
a1int op
a2int fd
a3struct epoll_event *event
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/epoll_ctl