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 w = *word; in clear_masked_cond()
242 w = sync_cmpxchg(word, old, new); in clear_masked_cond()
250 event_word_t *word = event_word_from_port(port); in evtchn_fifo_unmask() local
254 if (!clear_masked_cond(word)) { in evtchn_fifo_unmask()
260 static uint32_t clear_linked(volatile event_word_t *word) in clear_linked() argument
264 w = *word; in clear_linked()
270 } while ((w = sync_cmpxchg(word, old, new)) != old); in clear_linked()
282 event_word_t *word; in consume_one_event() local
296 word = event_word_from_port(port); in consume_one_event()
297 head = clear_linked(word); in consume_one_event()