Searched refs:work_done (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 65 static int volatile work_done; variable 76 work_done = 1; in alarm_handler() 90 work_done = 0; in bench_work() 98 while (!work_done) { in bench_work()
|
/third_party/ltp/testcases/kernel/io/aio/ |
D | aio02.c | 67 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in work_done() function 139 io_set_callback(&iocb_array[i], work_done); in io_tio() 153 io_set_callback(&iocb_array[i], work_done); in io_tio()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast.c | 1154 pipe_semaphore_wait(&rast->tasks[i].work_done); in lp_rast_finish() 1225 pipe_semaphore_signal(&task->work_done); in thread_function() 1229 pipe_semaphore_signal(&task->work_done); in thread_function() 1245 pipe_semaphore_init(&rast->tasks[i].work_done, 0); in create_rast_threads() 1342 pipe_semaphore_wait(&rast->tasks[i].work_done); in lp_rast_destroy() 1352 pipe_semaphore_destroy(&rast->tasks[i].work_done); in lp_rast_destroy()
|
D | lp_rast_priv.h | 104 pipe_semaphore work_done; member
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-source.c | 586 bool work_done = false; in mmap_read() local 727 work_done = true; in mmap_read() 757 return work_done ? 1 : 0; in mmap_read() 761 int work_done = false; in unix_read() local 870 work_done = true; in unix_read() 898 return work_done ? 1 : 0; in unix_read() 1718 int work_done; in thread_func() local 1736 work_done = mmap_read(u, &sleep_usec, revents & POLLIN, on_timeout); in thread_func() 1738 work_done = unix_read(u, &sleep_usec, revents & POLLIN, on_timeout); in thread_func() 1740 if (work_done < 0) in thread_func() [all …]
|
D | alsa-sink.c | 614 bool work_done = false; in mmap_write() local 774 work_done = true; in mmap_write() 807 return work_done ? 1 : 0; in mmap_write() 811 bool work_done = false; in unix_write() local 940 work_done = true; in unix_write() 971 return work_done ? 1 : 0; in unix_write() 1991 int work_done; in thread_func() local 1996 work_done = mmap_write(u, &sleep_usec, revents & POLLOUT, on_timeout); in thread_func() 1998 work_done = unix_write(u, &sleep_usec, revents & POLLOUT, on_timeout); in thread_func() 2000 if (work_done < 0) in thread_func() [all …]
|
/third_party/pulseaudio/src/modules/oss/ |
D | module-oss.c | 931 bool loop = false, work_done = false; in thread_func() local 1008 work_done = true; in thread_func() 1015 if (work_done) in thread_func() 1039 bool loop = false, work_done = false; in thread_func() local 1109 work_done = true; in thread_func() 1116 if (work_done) in thread_func()
|