Searched refs:worker_context (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | iothread.c | 24 GMainContext *worker_context; member 37 iothread->worker_context = g_main_context_new(); in iothread_init_gcontext() 39 g_source_attach(source, iothread->worker_context); in iothread_init_gcontext() 41 iothread->main_loop = g_main_loop_new(iothread->worker_context, TRUE); in iothread_init_gcontext() 65 g_main_context_push_thread_default(iothread->worker_context); in iothread_run() 74 g_main_context_pop_thread_default(iothread->worker_context); in iothread_run() 90 g_main_context_unref(iothread->worker_context); in iothread_join()
|
/openbmc/qemu/ |
H A D | iothread.c | 48 g_main_context_push_thread_default(iothread->worker_context); in iothread_run() 74 g_main_context_pop_thread_default(iothread->worker_context); in iothread_run() 132 if (iothread->worker_context) { in iothread_instance_finalize() 133 g_main_context_unref(iothread->worker_context); in iothread_instance_finalize() 134 iothread->worker_context = NULL; in iothread_instance_finalize() 146 iothread->worker_context = g_main_context_new(); in iothread_init_gcontext() 149 g_source_attach(source, iothread->worker_context); in iothread_init_gcontext() 151 iothread->main_loop = g_main_loop_new(iothread->worker_context, TRUE); in iothread_init_gcontext() 379 return iothread->worker_context; in iothread_get_g_main_context()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | usbip_event.c | 60 static struct task_struct *worker_context; variable 66 if (worker_context == NULL) { in event_handler() 67 worker_context = current; in event_handler() 191 if (task == worker_context) in usbip_in_eh()
|
/openbmc/qemu/include/sysemu/ |
H A D | iothread.h | 30 GMainContext *worker_context; member
|
/openbmc/qemu/net/ |
H A D | colo-compare.c | 133 GMainContext *worker_context; member 973 s->worker_context = iothread_get_g_main_context(s->iothread); in colo_compare_iothread() 977 s, s->worker_context, true); in colo_compare_iothread() 980 s, s->worker_context, true); in colo_compare_iothread() 984 s, s->worker_context, true); in colo_compare_iothread()
|