Home
last modified time | relevance | path

Searched refs:msqid (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/ipc/
Dmsg.c398 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down() argument
408 ipcp = ipcctl_obtain_check(ns, &msg_ids(ns), msqid, cmd, in msgctl_down()
474 static int msgctl_info(struct ipc_namespace *ns, int msqid, in msgctl_info() argument
510 static int msgctl_stat(struct ipc_namespace *ns, int msqid, in msgctl_stat() argument
520 msq = msq_obtain_object(ns, msqid); in msgctl_stat()
526 msq = msq_obtain_object_check(ns, msqid); in msgctl_stat()
589 static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version) in ksys_msgctl() argument
595 if (msqid < 0 || cmd < 0) in ksys_msgctl()
604 err = msgctl_info(ns, msqid, cmd, &msginfo); in ksys_msgctl()
614 err = msgctl_stat(ns, msqid, cmd, &msqid64); in ksys_msgctl()
[all …]
Dutil.h281 long compat_ksys_old_msgctl(int msqid, int cmd, void __user *uptr);
282 long compat_ksys_msgrcv(int msqid, compat_uptr_t msgp, compat_ssize_t msgsz,
284 long compat_ksys_msgsnd(int msqid, compat_uptr_t msgp,
/Linux-v5.10/include/linux/
Dsyscalls.h775 asmlinkage long sys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
776 asmlinkage long sys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
777 asmlinkage long sys_msgrcv(int msqid, struct msgbuf __user *msgp,
779 asmlinkage long sys_msgsnd(int msqid, struct msgbuf __user *msgp,
1334 long ksys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
1335 long ksys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz,
1337 long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz,
Dcompat.h704 asmlinkage long compat_sys_msgrcv(int msqid, compat_uptr_t msgp,
706 asmlinkage long compat_sys_msgsnd(int msqid, compat_uptr_t msgp,