Home
last modified time | relevance | path

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

/Linux-v5.4/ipc/
Dmsg.c379 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down() argument
389 ipcp = ipcctl_obtain_check(ns, &msg_ids(ns), msqid, cmd, in msgctl_down()
455 static int msgctl_info(struct ipc_namespace *ns, int msqid, in msgctl_info() argument
491 static int msgctl_stat(struct ipc_namespace *ns, int msqid, in msgctl_stat() argument
501 msq = msq_obtain_object(ns, msqid); in msgctl_stat()
507 msq = msq_obtain_object_check(ns, msqid); in msgctl_stat()
570 static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version) in ksys_msgctl() argument
576 if (msqid < 0 || cmd < 0) in ksys_msgctl()
585 err = msgctl_info(ns, msqid, cmd, &msginfo); in ksys_msgctl()
595 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.4/include/linux/
Dsyscalls.h770 asmlinkage long sys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
771 asmlinkage long sys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
772 asmlinkage long sys_msgrcv(int msqid, struct msgbuf __user *msgp,
774 asmlinkage long sys_msgsnd(int msqid, struct msgbuf __user *msgp,
1412 long ksys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
1413 long ksys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz,
1415 long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz,
Dcompat.h754 asmlinkage long compat_sys_msgrcv(int msqid, compat_uptr_t msgp,
756 asmlinkage long compat_sys_msgsnd(int msqid, compat_uptr_t msgp,