/libuv/test/ |
H A D | test-threadpool.c | 27 static uv_work_t work_req; variable 32 ASSERT_PTR_EQ(req, &work_req); in work_cb() 40 ASSERT_PTR_EQ(req, &work_req); in after_work_cb() 49 work_req.data = &data; in TEST_IMPL() 50 r = uv_queue_work(uv_default_loop(), &work_req, work_cb, after_work_cb); in TEST_IMPL() 65 work_req.data = &data; in TEST_IMPL() 66 r = uv_queue_work(uv_default_loop(), &work_req, NULL, after_work_cb); in TEST_IMPL()
|
H A D | test-loop-alive.c | 32 static uv_work_t work_req; variable 58 r = uv_queue_work(uv_default_loop(), &work_req, work_cb, after_work_cb); in TEST_IMPL()
|
H A D | test-fork.c | 700 uv_work_t work_req; in assert_run_work() local 706 r = uv_queue_work(loop, &work_req, work_cb, after_work_cb); in assert_run_work()
|
/libuv/src/unix/ |
H A D | getnameinfo.c | 36 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work() 60 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_done() 111 &req->work_req, in uv_getnameinfo() 117 uv__getnameinfo_work(&req->work_req); in uv_getnameinfo() 118 uv__getnameinfo_done(&req->work_req, 0); in uv_getnameinfo()
|
H A D | getaddrinfo.c | 102 req = container_of(w, uv_getaddrinfo_t, work_req); in uv__getaddrinfo_work() 111 req = container_of(w, uv_getaddrinfo_t, work_req); in uv__getaddrinfo_done() 207 &req->work_req, in uv_getaddrinfo() 213 uv__getaddrinfo_work(&req->work_req); in uv_getaddrinfo() 214 uv__getaddrinfo_done(&req->work_req, 0); in uv_getaddrinfo()
|
H A D | fs.c | 144 &req->work_req, \ 151 uv__fs_work(&req->work_req); \ 1700 req = container_of(w, uv_fs_t, work_req); in uv__fs_work() 1770 req = container_of(w, uv_fs_t, work_req); in uv__fs_done() 1785 &req->work_req, in uv__fs_post()
|
H A D | linux.c | 799 req->work_req.loop = loop; in uv__iou_get_sqe() 800 req->work_req.work = NULL; in uv__iou_get_sqe() 801 req->work_req.done = NULL; in uv__iou_get_sqe() 802 uv__queue_init(&req->work_req.wq); in uv__iou_get_sqe()
|
/libuv/src/win/ |
H A D | getnameinfo.c | 48 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work() 84 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_done() 136 &req->work_req, in uv_getnameinfo() 142 uv__getnameinfo_work(&req->work_req); in uv_getnameinfo() 143 uv__getnameinfo_done(&req->work_req, 0); in uv_getnameinfo()
|
H A D | getaddrinfo.c | 87 req = container_of(w, uv_getaddrinfo_t, work_req); in uv__getaddrinfo_work() 105 uv_getaddrinfo_t* req = container_of(w, uv_getaddrinfo_t, work_req); in uv__getaddrinfo_done() 337 &req->work_req, in uv_getaddrinfo() 343 uv__getaddrinfo_work(&req->work_req); in uv_getaddrinfo() 344 uv__getaddrinfo_done(&req->work_req, 0); in uv_getaddrinfo()
|
H A D | fs.c | 74 &req->work_req, \ 80 uv__fs_work(&req->work_req); \ 2926 req = container_of(w, uv_fs_t, work_req); in uv__fs_work() 2976 req = container_of(w, uv_fs_t, work_req); in uv__fs_done()
|
/libuv/src/ |
H A D | threadpool.c | 349 uv_work_t* req = container_of(w, uv_work_t, work_req); in uv__queue_work() 358 req = container_of(w, uv_work_t, work_req); in uv__queue_done() 380 &req->work_req, in uv_queue_work() 395 wreq = &((uv_fs_t*) req)->work_req; in uv_cancel() 399 wreq = &((uv_getaddrinfo_t*) req)->work_req; in uv_cancel() 403 wreq = &((uv_getnameinfo_t*) req)->work_req; in uv_cancel() 407 wreq = &((uv_random_t*) req)->work_req; in uv_cancel() 411 wreq = &((uv_work_t*) req)->work_req; in uv_cancel()
|
H A D | random.c | 76 req = container_of(w, uv_random_t, work_req); in uv__random_work() 84 req = container_of(w, uv_random_t, work_req); in uv__random_done() 117 &req->work_req, in uv_random()
|
/libuv/include/uv/ |
H A D | unix.h | 340 struct uv__work work_req; \ 349 struct uv__work work_req; \ 373 struct uv__work work_req; \ 377 struct uv__work work_req;
|
H A D | win.h | 589 struct uv__work work_req; \ 602 struct uv__work work_req; \ 621 struct uv__work work_req; \ 647 struct uv__work work_req;
|
/libuv/include/ |
H A D | uv.h | 1778 struct uv__work work_req; member
|