Lines Matching refs:control_block

103                               struct evtchn_fifo_control_block *control_block)  in init_control_block()  argument
110 clear_page(control_block); in init_control_block()
114 init_control.control_gfn = virt_to_gfn(control_block); in init_control_block()
282 struct evtchn_fifo_control_block *control_block, in consume_one_event() argument
298 head = control_block->head[priority]; in consume_one_event()
328 struct evtchn_fifo_control_block *control_block; in __evtchn_fifo_handle_events() local
332 control_block = per_cpu(cpu_control_block, cpu); in __evtchn_fifo_handle_events()
334 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
338 consume_one_event(cpu, ctrl, control_block, q, &ready); in __evtchn_fifo_handle_events()
339 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
354 void *control_block = per_cpu(cpu_control_block, cpu); in evtchn_fifo_resume() local
357 if (!control_block) in evtchn_fifo_resume()
366 free_page((unsigned long)control_block); in evtchn_fifo_resume()
371 ret = init_control_block(cpu, control_block); in evtchn_fifo_resume()
385 void *control_block = NULL; in evtchn_fifo_alloc_control_block() local
388 control_block = (void *)__get_free_page(GFP_KERNEL); in evtchn_fifo_alloc_control_block()
389 if (control_block == NULL) in evtchn_fifo_alloc_control_block()
392 ret = init_control_block(cpu, control_block); in evtchn_fifo_alloc_control_block()
396 per_cpu(cpu_control_block, cpu) = control_block; in evtchn_fifo_alloc_control_block()
401 free_page((unsigned long)control_block); in evtchn_fifo_alloc_control_block()