Lines Matching refs:msg_queue
147 static inline struct msg_queue *msg_lock(struct ipc_namespace *ns, int id)
152 return (struct msg_queue *)ipcp;
154 return container_of(ipcp, struct msg_queue, q_perm);
157 static inline struct msg_queue *msg_lock_check(struct ipc_namespace *ns,
163 return (struct msg_queue *)ipcp;
165 return container_of(ipcp, struct msg_queue, q_perm);
168 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s)
182 struct msg_queue *msq;
225 static inline void ss_add(struct msg_queue *msq, struct msg_sender *mss)
254 static void expunge_all(struct msg_queue *msq, int res)
282 struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm);
307 struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm);
416 struct msg_queue *msq;
429 msq = container_of(ipcp, struct msg_queue, q_perm);
471 struct msg_queue *msq;
600 static inline int pipelined_send(struct msg_queue *msq, struct msg_msg *msg)
638 struct msg_queue *msq;
758 struct msg_queue *msq;
925 struct msg_queue *msq = it;