mq_open on loongarch64

open a message queue

sys_mq_open(const char *name, int oflag, umode_t mode, struct mq_attr *attr)
number180 (0xb4)
abicommon
kconfigCONFIG_POSIX_MQUEUE
familymqueue see the whole family on loongarch64
entry pointsys_mq_open
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
a7180, the syscall number
a0const char *name
a1int oflag
a2umode_t mode
a3struct mq_attr *attr
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/mq_open