Lines Matching refs:msg_queue
147 static inline struct msg_queue *msg_lock(struct ipc_namespace *ns, int id) in msg_lock()
152 return (struct msg_queue *)ipcp; in msg_lock()
154 return container_of(ipcp, struct msg_queue, q_perm); in msg_lock()
157 static inline struct msg_queue *msg_lock_check(struct ipc_namespace *ns, in msg_lock_check()
163 return (struct msg_queue *)ipcp; in msg_lock_check()
165 return container_of(ipcp, struct msg_queue, q_perm); in msg_lock_check()
168 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid()
182 struct msg_queue *msq; in newque()
225 static inline void ss_add(struct msg_queue *msq, struct msg_sender *mss) in ss_add()
254 static void expunge_all(struct msg_queue *msq, int res) in expunge_all()
282 struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm); in freeque()
309 struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm); in msg_security()
418 struct msg_queue *msq; in msgctl_down()
431 msq = container_of(ipcp, struct msg_queue, q_perm); in msgctl_down()
473 struct msg_queue *msq; in SYSCALL_DEFINE3()
602 static inline int pipelined_send(struct msg_queue *msq, struct msg_msg *msg) in pipelined_send()
640 struct msg_queue *msq; in do_msgsnd()
760 struct msg_queue *msq; in do_msgrcv()
927 struct msg_queue *msq = it; in sysvipc_msg_proc_show()