Lines Matching refs:nrom
148 struct nr_sock *nrom = nr_sk(sk); in nr_state3_machine() local
177 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
180 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
190 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
207 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
210 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
218 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
226 skb_queue_head(&nrom->reseq_queue, skb); in nr_state3_machine()
227 if (nrom->condition & NR_COND_OWN_RX_BUSY) in nr_state3_machine()
231 save_vr = nrom->vr; in nr_state3_machine()
232 while ((skbn = skb_dequeue(&nrom->reseq_queue)) != NULL) { in nr_state3_machine()
234 if (ns == nrom->vr) { in nr_state3_machine()
236 nrom->vr = (nrom->vr + 1) % NR_MODULUS; in nr_state3_machine()
238 nrom->condition |= NR_COND_OWN_RX_BUSY; in nr_state3_machine()
248 skb_queue_tail(&nrom->reseq_queue, skbn); in nr_state3_machine()
250 } while (save_vr != nrom->vr); in nr_state3_machine()
254 if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) { in nr_state3_machine()
257 if (!(nrom->condition & NR_COND_ACK_PENDING)) { in nr_state3_machine()
258 nrom->condition |= NR_COND_ACK_PENDING; in nr_state3_machine()