inotify_rm_watch on loongarch64

remove an existing watch from an inotify instance

sys_inotify_rm_watch(int fd, __s32 wd)
number28 (0x1c)
abicommon
kconfigCONFIG_INOTIFY_USER
familyinotify see the whole family on loongarch64
entry pointsys_inotify_rm_watch
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pageinotify_rm_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
a728, the syscall number
a0int fd
a1__s32 wd
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/inotify_rm_watch