Lines Matching refs:mss
194 struct msg_sender *mss, size_t msgsz) in ss_add() argument
196 mss->tsk = current; in ss_add()
197 mss->msgsz = msgsz; in ss_add()
203 list_add_tail(&mss->list, &msq->q_senders); in ss_add()
206 static inline void ss_del(struct msg_sender *mss) in ss_del() argument
208 if (mss->list.next) in ss_del()
209 list_del(&mss->list); in ss_del()
215 struct msg_sender *mss, *t; in ss_wakeup() local
219 list_for_each_entry_safe(mss, t, h, list) { in ss_wakeup()
221 mss->list.next = NULL; in ss_wakeup()
228 else if (stop_tsk == mss->tsk) in ss_wakeup()
237 else if (!msg_fits_inqueue(msq, mss->msgsz)) { in ss_wakeup()
239 stop_tsk = mss->tsk; in ss_wakeup()
241 list_move_tail(&mss->list, &msq->q_senders); in ss_wakeup()
245 wake_q_add(wake_q, mss->tsk); in ss_wakeup()