Lines Matching refs:mss
193 struct msg_sender *mss, size_t msgsz) in ss_add() argument
195 mss->tsk = current; in ss_add()
196 mss->msgsz = msgsz; in ss_add()
202 list_add_tail(&mss->list, &msq->q_senders); in ss_add()
205 static inline void ss_del(struct msg_sender *mss) in ss_del() argument
207 if (mss->list.next) in ss_del()
208 list_del(&mss->list); in ss_del()
214 struct msg_sender *mss, *t; in ss_wakeup() local
218 list_for_each_entry_safe(mss, t, h, list) { in ss_wakeup()
220 mss->list.next = NULL; in ss_wakeup()
227 else if (stop_tsk == mss->tsk) in ss_wakeup()
236 else if (!msg_fits_inqueue(msq, mss->msgsz)) { in ss_wakeup()
238 stop_tsk = mss->tsk; in ss_wakeup()
240 list_move_tail(&mss->list, &msq->q_senders); in ss_wakeup()
244 wake_q_add(wake_q, mss->tsk); in ss_wakeup()