delete_module on loongarch64

unload a kernel module

sys_delete_module(const char *name_user, unsigned int flags)
number106 (0x6a)
abicommon
entry pointsys_delete_module
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagedelete_module(2)
sourceelixir.bootlin.com

Registers

registervalue
a7106, the syscall number
a0const char *name_user
a1unsigned int flags
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/delete_module