Lines Matching refs:word

196 	event_word_t *word = event_word_from_port(port);  in evtchn_fifo_clear_pending()  local
197 sync_clear_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_clear_pending()
202 event_word_t *word = event_word_from_port(port); in evtchn_fifo_set_pending() local
203 sync_set_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_set_pending()
208 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_pending() local
209 return sync_test_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_is_pending()
214 event_word_t *word = event_word_from_port(port); in evtchn_fifo_mask() local
215 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_mask()
220 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_masked() local
221 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_is_masked()
227 static bool clear_masked_cond(volatile event_word_t *word) in clear_masked_cond() argument
231 old = *word; in clear_masked_cond()
242 } while (!sync_try_cmpxchg(word, &old, new)); in clear_masked_cond()
249 event_word_t *word = event_word_from_port(port); in evtchn_fifo_unmask() local
253 if (!clear_masked_cond(word)) { in evtchn_fifo_unmask()
259 static uint32_t clear_linked(volatile event_word_t *word) in clear_linked() argument
263 old = *word; in clear_linked()
268 } while (!sync_try_cmpxchg(word, &old, new)); in clear_linked()
280 event_word_t *word; in consume_one_event() local
294 word = event_word_from_port(port); in consume_one_event()
295 head = clear_linked(word); in consume_one_event()