Lines Matching defs:word
196 event_word_t *word = event_word_from_port(port);
197 sync_clear_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word));
202 event_word_t *word = event_word_from_port(port);
203 sync_set_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word));
208 event_word_t *word = event_word_from_port(port);
209 return sync_test_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word));
214 event_word_t *word = event_word_from_port(port);
215 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word));
220 event_word_t *word = event_word_from_port(port);
221 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word));
227 static bool clear_masked_cond(volatile event_word_t *word)
231 old = *word;
242 } while (!sync_try_cmpxchg(word, &old, new));
249 event_word_t *word = event_word_from_port(port);
253 if (!clear_masked_cond(word)) {
259 static uint32_t clear_linked(volatile event_word_t *word)
263 old = *word;
268 } while (!sync_try_cmpxchg(word, &old, new));
280 event_word_t *word;
289 virt_rmb(); /* Ensure word is up-to-date before reading head. */
294 word = event_word_from_port(port);
295 head = clear_linked(word);
302 * copy of the ready word.