Lines Matching +full:non +full:- +full:masked
2 * Xen event channels (FIFO-based ABI)
49 #include <xen/xen-ops.h>
112 q->head[i] = 0; in init_control_block()
149 return -EINVAL; in evtchn_fifo_setup()
160 ret = -ENOMEM; in evtchn_fifo_setup()
191 /* no-op */ in evtchn_fifo_bind_to_cpu()
215 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_mask()
221 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_is_masked()
224 * Clear MASKED if not PENDING, spinning if BUSY is set.
282 head = q->head[priority]; in consume_one_event()
289 virt_rmb(); /* Ensure word is up-to-date before reading head. */ in consume_one_event()
290 head = control_block->head[priority]; in consume_one_event()
298 * If the link is non-zero, there are more events in the in consume_one_event()
314 q->head[priority] = head; in consume_one_event()
326 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
331 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
378 int ret = -ENOMEM; in evtchn_fifo_alloc_control_block()
435 pr_info("Using FIFO-based ABI\n"); in xen_evtchn_fifo_init()