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 w = *word;
242 w = sync_cmpxchg(word, old, new);
250 event_word_t *word = event_word_from_port(port);
254 if (!clear_masked_cond(word)) {
260 static uint32_t clear_linked(volatile event_word_t *word)
264 w = *word;
270 } while ((w = sync_cmpxchg(word, old, new)) != old);
282 event_word_t *word;
291 virt_rmb(); /* Ensure word is up-to-date before reading head. */
296 word = event_word_from_port(port);
297 head = clear_linked(word);
304 * copy of the ready word.