Home
last modified time | relevance | path

Searched refs:work_req (Results 1 – 15 of 15) sorted by relevance

/libuv/test/
H A Dtest-threadpool.c27 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 Dtest-loop-alive.c32 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 Dtest-fork.c700 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 Dgetnameinfo.c36 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 Dgetaddrinfo.c102 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 Dfs.c144 &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 Dlinux.c799 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 Dgetnameinfo.c48 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 Dgetaddrinfo.c87 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 Dfs.c74 &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 Dthreadpool.c349 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 Drandom.c76 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 Dunix.h340 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 Dwin.h589 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 Duv.h1778 struct uv__work work_req; member

Completed in 43 milliseconds