Lines Matching refs:m
76 struct mayfly *m) in mayfly_enqueue() argument
87 ack = m->_ack; in mayfly_enqueue()
90 state = (m->_req - ack) & 0x03; in mayfly_enqueue()
95 m->_req = ack + 1; in mayfly_enqueue()
105 m->_req = ack + 2; in mayfly_enqueue()
111 m->fp(m->param); in mayfly_enqueue()
117 m->_req = ack + 1; in mayfly_enqueue()
118 memq_enqueue(m->_link, m, &mft[callee_id][caller_id].tail); in mayfly_enqueue()
131 struct mayfly *m) in dequeue() argument
135 req = m->_req; in dequeue()
136 if (((req - m->_ack) & 0x03) != 1U) { in dequeue()
143 if (_state && m->fp == mayfly_ut_mfy) { in dequeue()
159 m->_link = link; in dequeue()
163 ack = m->_ack; in dequeue()
164 m->_ack = req; in dequeue()
168 if (((m->_req - ack) & 0x03) == 1U) { in dequeue()
173 m->_ack = ack; in dequeue()
174 memq_enqueue(link, m, &mft[callee_id][callee_id].tail); in dequeue()
194 struct mayfly *m = 0; in mayfly_run() local
199 (void **)&m); in mayfly_run()
207 state = (m->_req - m->_ack) & 0x03; in mayfly_run()
214 m->_ack--; in mayfly_run()
217 m->fp(m->param); in mayfly_run()
221 dequeue(callee_id, caller_id, link, m); in mayfly_run()
226 (void **)&m); in mayfly_run()